SA-MP Forums Archive
ip address of NPC? - 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: ip address of NPC? (/showthread.php?tid=564627)



ip address of NPC? - Raidensama - 22.02.2015

does GetPlayerIp work on NPC? which ip it gets? invalid ip/server address/always 127.0.0.1 ?


Re: ip address of NPC? - Vince - 22.02.2015

Probably the latter one, but why is this important to you considering that you can use IsPlayerNPC?


Re: ip address of NPC? - Raidensama - 22.02.2015

Quote:
Originally Posted by Vince
Посмотреть сообщение
Probably the latter one, but why is this important to you considering that you can use IsPlayerNPC?
yes i know about it) it's just interesting to know how NPCs relate to the server