You can get the ID of a NPC in a gamemode ? - 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: You can get the ID of a NPC in a gamemode ? (
/showthread.php?tid=96076)
You can get the ID of a NPC in a gamemode ? -
CTCCoco - 06.09.2009
You can get the ID of a determinate NPC in a gamemode ?
How?
Re: You can get the ID of a NPC in a gamemode ? -
FUNExtreme - 06.09.2009
Use a loop, check name and use IsPlayerNPC(playerid)
Re: You can get the ID of a NPC in a gamemode ? -
CTCCoco - 06.09.2009
Quote:
Originally Posted by FUNExtreme
Use a loop, check name and use IsPlayerNPC(playerid)
|
Ah yes, thanks for all.