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



NPC - Mina - 27.05.2010

does OnPlayerText get called in my gamemode script if i have a npc in my filter scripts ?


Re: NPC - DJDhan - 27.05.2010

You mean OnPlayerCommandText?
Yes if you have the function in your gamemode script, it will be called.


Re: NPC - Mina - 27.05.2010

Quote:
Originally Posted by DJDhan
You mean OnPlayerCommandText?
Yes if you have the function in your gamemode script, it will be called.
thanks man also one more question
Can i use IsPlayerStreamedIn for NPCs in my gamemode script