!IsPlayerConnected is not working
#4

Quote:
Originally Posted by emokidx111
View Post
pawn Code:
if(sscanf(params, "uz", targetid))
uz? just use "u"

pawn Code:
if(PlayerInfo[playerid][pAdmin] == 0) return SendClientMessage(playerid,COLOR_WHITE,"SERVER: Unknown command.");
you can simply use this
pawn Code:
if(PlayerInfo[playerid][pAdmin] == 0) return 0;
Thanks for this.
Code:
if(PlayerInfo[playerid][pAdmin] == 0) return 0;
And I did "u" now but same problem, slapping myself if I write inactive playerid.
Reply


Messages In This Thread
!IsPlayerConnected is not working - by Matz - 18.02.2012, 15:28
Re: !IsPlayerConnected is not working - by WackoX - 18.02.2012, 15:32
Re: !IsPlayerConnected is not working - by emokidx - 18.02.2012, 15:33
Re: !IsPlayerConnected is not working - by Matz - 18.02.2012, 15:40
Re: !IsPlayerConnected is not working - by emokidx - 18.02.2012, 15:45
Re: !IsPlayerConnected is not working - by Konstantinos - 18.02.2012, 15:49
Re: !IsPlayerConnected is not working - by Matz - 18.02.2012, 19:57
Re: !IsPlayerConnected is not working - by IstuntmanI - 18.02.2012, 20:05
Re: !IsPlayerConnected is not working - by Matz - 18.02.2012, 21:02
Re: !IsPlayerConnected is not working - by IstuntmanI - 18.02.2012, 21:07

Forum Jump:


Users browsing this thread: 2 Guest(s)