SA-MP Forums Archive
NPC help - 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 help (/showthread.php?tid=352640)



NPC help - MechaTech - 20.06.2012

I want to make an npc who just stands still, i tried to make an NPC but he is not connecting. I already used search but nothing helped. I have set maxnpc in server.cfg.
This is what i have:
pawn Код:
#include <a_npc>

//And this is at OnGameModeInit.
ConnectNPC("Dave","test");



Re: NPC help - niels44 - 20.06.2012

did you create a npc in the npcmodes folder? and DID you made a record of the npc? here take a look at this: https://sampforum.blast.hk/showthread.php?tid=95034

made by samp team member KC

goodluck


Re: NPC help - MechaTech - 20.06.2012

Yeah i have a npcmodes. I already recorded something and called it test.rec, and saved it in npcmodes/recordings.
EDIT: What do you mean create a npc in npcmodes?


Re: NPC help - MadeMan - 20.06.2012

Do you have test.pwn and test.amx in npcmodes folder?


Re: NPC help - niels44 - 20.06.2012

ye, you always need to create a .pwn and .amx file in the npcmodes folder..., read that tutorial i gave you, it explains it


Re: NPC help - MechaTech - 20.06.2012

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
Do you have test.pwn and test.amx in npcmodes folder?
Thanks worked.