PDA

View Full Version : no player online


AroseKhanNiazi
03/05/2014, 07:43 AM
how to get that there is no other player online expect the player who uses the command (any command)

EpicMan
03/05/2014, 08:06 AM
make a sendclientmessage or gametextforplayer should fix your problem :)

AroseKhanNiazi
03/05/2014, 08:32 AM
i mean how to get if there is anyother player online

PrivatioBoni
03/05/2014, 08:34 AM
Global variable.
Increment by one on connect, decrement by one on disconnect.

If the online count is 1 (and obviously that 1 person is the command executor), then SendClientMessage.

iBanner
03/05/2014, 08:38 AM
Count online players

http://forum.sa-mp.com/showthread.php?t=314001