SA-MP Forums Archive
is it possible to record a driver npc in a hydra, and then when he connects he goes into a car? - 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: is it possible to record a driver npc in a hydra, and then when he connects he goes into a car? (/showthread.php?tid=423860)



is it possible to record a driver npc in a hydra, and then when he connects he goes into a car? - Apenmeeuw - 19.03.2013

hey all,

well the title says it all, but is it possible to record a npc which is in a hydra, takes off and flies away, and then when you placed him into a script and connect him, you put him in a car or bike, so you will see a flying bike? xD

anyway i tried this and the bot now just connects, disconnects, connects, disconnects continuesly.... so thats why im asking it here.

greets


Re: is it possible to record a driver npc in a hydra, and then when he connects he goes into a car? - Jstylezzz - 19.03.2013

As far as I know, this is possible.
I made a mistake once, where all my NPC planes changed into premiers -.-'


Re: is it possible to record a driver npc in a hydra, and then when he connects he goes into a car? - Apenmeeuw - 19.03.2013

but how is it possible that my npc keeps connecting, disconnecting, connecting etc? i did it exactly the way i did it at every other npc, only this one has a different vehicle than the recording, and my maxnpc is set to 55...


Re: is it possible to record a driver npc in a hydra, and then when he connects he goes into a car? - Jstylezzz - 19.03.2013

How many are you connecting at a time?
You should keep a little time between each 3 NPC's (if I remember right).
If that's not the problem, there might be a problem with your code where you put the NPC's in vehicles, or where you spawn them, or something in that trent.


Re: is it possible to record a driver npc in a hydra, and then when he connects he goes into a car? - Apenmeeuw - 19.03.2013

im connecting 12 bots when the server starts, should i add timers for that than?