Player ID Problem?
#2

Try using IsPlayerConnect
Example:
You got:
pawn Код:
if(Target == INVALID_PLAYER_ID) return SendClientMessage(playerid,COLOR_RED,"[ERROR]: Invalid player ID");
Try instead:
pawn Код:
if(!IsPlayerConnect(Target)) return SendClientMessage(playerid, COLOR_RED,"[ERROR]: Invalid playerID");
Reply


Messages In This Thread
Player ID Problem? - by Affan - 07.06.2013, 14:46
Re: Player ID Problem? - by Facerafter - 07.06.2013, 14:53
Re: Player ID Problem? - by Affan - 07.06.2013, 15:01
Re: Player ID Problem? - by Facerafter - 07.06.2013, 15:05
Re: Player ID Problem? - by Red_Dragon. - 07.06.2013, 15:09
Re: Player ID Problem? - by Affan - 07.06.2013, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)