SA-MP Forums Archive
Why invalid player id when id is correct - 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: Why invalid player id when id is correct (/showthread.php?tid=354452)



Why invalid player id when id is correct - Strech - 26.06.2012

When i sometimes type like /gotoid or /pay or any command that requires ID it says Invalid Player id.I get latest sscanf also reloaded it 2 times and the same.Any ideas please share them.I will give rep to the one who helps me ofcourse.


Re: Why invalid player id when id is correct - tyler12 - 26.06.2012

we'll guess the code.


Re: Why invalid player id when id is correct - .FuneraL. - 26.06.2012

pawn Code:
if(!IsPlayerConnected(VariableID)) return SendClientMessage(playerid, -1, "Error: Player Not Connected");
What you want?