erfg12 / clanmod-jka

Multiplayer mod for Jedi Academy.
https://erfg12.github.io/clanmod-jka
7 stars 4 forks source link

Missing amstatus command #13

Closed azurda closed 5 years ago

azurda commented 5 years ago

Amstatus command provides a list of the current players, nicknames and ip addresses , also client numbers.

seems to be missing in clanmod

azurda commented 5 years ago

This is the end result of the command image

erfg12 commented 5 years ago

Modify whoip to add any features needed. Add /amstatus as an optional command:

else if ((Q_stricmp(cmd, "whoip") == 0) || (Q_stricmp(cmd, "amwhoip") == 0)) 

change to:

else if ((Q_stricmp(cmd, "whoip") == 0) || (Q_stricmp(cmd, "amwhoip") == 0) || (Q_stricmp(cmd, "amstatus") == 0))