SA-MP Forums Archive
Possible to get 2 npc to work in one miniscript? - 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: Possible to get 2 npc to work in one miniscript? (/showthread.php?tid=267703)



Possible to get 2 npc to work in one miniscript? - ||123|| - 09.07.2011

Is it possible to make 2 NPC's to work in one miniscript, or do I have to create seperate miniscripts for every NPC?


Re: Possible to get 2 npc to work in one miniscript? - emon - 09.07.2011

m its possible but if u make 2 npc's it will not mini script.bcoz scripting on npc u need work on that alot

and the better is u make per npc per script bcoz this will be good for u

or if u want one in two then maybe the better is u make on ur own gamemode


Re: Possible to get 2 npc to work in one miniscript? - Wesley221 - 09.07.2011

Im not sure though, but if i was you i should try to add them together. Add all the functions under the callbacks you need, remove things you got double, etc etc. Dont forget to backup your NPC's first


Re: Possible to get 2 npc to work in one miniscript? - ||123|| - 09.07.2011

Well after my search, I don't think so, because every miniscript has a seperate name for recording. Even when you ConnectNPC you have to name a miniscript, that means the computer won't be able to, or make errors.


Re: Possible to get 2 npc to work in one miniscript? - =WoR=Varth - 09.07.2011

Yeah you can't. I've tried that before and it's messed with the recorded file. But you still can use 1 .pwn file(npc) for some npc