NPC : GetName and SendInformation - 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: NPC : GetName and SendInformation (
/showthread.php?tid=353100)
NPC : GetName and SendInformation -
C0b0ll - 22.06.2012
Hi,
I have two questions about NPCs:
- Do you know how to have the NPC's name in the npcmode script (not in the game mode but in the bot.amx) ?
- Do you know how to give information to the NPC from the GM ? For example, send him a number between 0 and 5.
Thanks a lot !
More I work on the NPC of SAmp, more I thing that it miss features...
Re: NPC : GetName and SendInformation -
nilanjay - 22.06.2012
This might help you
https://sampforum.blast.hk/showthread.php?tid=95034
Re : NPC : GetName and SendInformation -
C0b0ll - 22.06.2012
Hi,
Thanks for your answer

.
I already read that topic. I don't have problem with the NPC creation or with the path recording/playing.
I just try to :
- Get the NPC name in the npc.amx (not the gm).
- Get information from the GM to the npc.
Regards.
Re : NPC : GetName and SendInformation -
C0b0ll - 22.06.2012
Anybody has an idea ?