NPCs - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: NPCs (
/showthread.php?tid=612605)
NPCs -
Mandooz - 19.07.2016
How to add moving NPCs in my server and let them talk with the players as if the player typed a command of /talk they open a chat with the NPC , (( Limited Chat )) OR even let the NPC walk in the city without talking .. How to create the NPC and do it ?
Re: NPCs -
GangstaSunny - 19.07.2016
Use FCNPC do to this. It would be a way easier as using standard samp npcs.
Re: NPCs -
Freaksken - 19.07.2016
To use prerecorded walking/driving paths, you can use standard NPCs.
If you want scripted paths (so that the npc can change where he goes when you want him to) you should indeed use FCNPC as GangstaSunny said.
To let NPCs respond to messages players type, use
NPC:OnPlayerText, which is different from the player
OnPlayerText version.