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



NPC help +rep - N0FeaR - 14.01.2012

Hello i have problem with NPC i have add the npc join the server but when i join the NPC crash anyone know thats the problem ?


Re: NPC help +rep - [D]ry[D]esert - 14.01.2012

i have the same problem i need help D:


Re: NPC help +rep - MP2 - 14.01.2012

Does it crash when you join? Or just after a certain amount of time? Try leaving it for a couple of minutes and see if it stays. If it crashes even when you don't join, you may be playing it as a vehicle recording, when it was recorded as onfoot, or vise-versa.


Re: NPC help +rep - [D]ry[D]esert - 14.01.2012

it just crash when i join i try to make 4 NPC , 3 on Foot and 1 on vehicle,2 on foot Succes and the other fail D:


Re: NPC help +rep - Mean - 14.01.2012

Have you changed the "maxnpc" line in server.cfg? How are you connecting them?


Re: NPC help +rep - [D]ry[D]esert - 15.01.2012

Quote:
Originally Posted by Mean
Посмотреть сообщение
Have you changed the "maxnpc" line in server.cfg? How are you connecting them?
yea i already change them ..
how i connect them , i add in GM
ConnectNPC("Example,"Example");


Re: NPC help +rep - Mean - 15.01.2012

Quote:
Originally Posted by [D]ry[D]esert
Посмотреть сообщение
yea i already change them ..
how i connect them , i add in GM
ConnectNPC("Example,"Example");
Yes, but you need to create those "miniscripts." Read this tutorial.