IsPlayerConnected in commands? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IsPlayerConnected in commands? (
/showthread.php?tid=366822)
IsPlayerConnected in commands? -
Makaveli93 - 07.08.2012
Anyways, I just want to know, do I still have to use IsPlayerConnected in commands (strcmp and if statements)?
Ie:
pawn Код:
command
{
if(IsPlayerConnected(playerid));
{
....
Thanks.
Re: IsPlayerConnected in commands? -
SuperViper - 07.08.2012
No because if the player wasn't connected then there would be no way that they could use the command.
Re: IsPlayerConnected in commands? -
Makaveli93 - 07.08.2012
Thank you.