SA-MP Forums Archive
Collect ID - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Collect ID (/showthread.php?tid=103243)



Collect ID - ordixp - 19.10.2009

Good evening,

I try to collect an ID of a player or npc, in a variable.

Thanks


Re: Collect ID - Donny_k - 19.10.2009

You will need "for" loops and "GetPlayerName" or thier 'playerid' and use an "IsPlayerConnected" check.