Author Topic: Auto respawning vehicles?  (Read 1088 times)

Chaseyqurt and I are working on a RPG and I was wondering if it's possible to make vehicles automaticly respwn after a set amount of time, like this: If I rent a Jeep for ten min. and after that ten min. It respawns back to it's spawn pad ready to buy again. This would help our RPG if possible, thanks for the help. Also, tell me what you think about our prices.

This would also work out well in DMs.

That way you don't have to worry about nubs hiding all of your biplanes and ctrl-king...

Ephi already posted a script thats kinda like what you want
« Last Edit: June 27, 2008, 01:46:51 PM by tails »

Oh, thanks tails, I'll search for it. If I fail, go on without me.
Edit: I cant find it, link please?
« Last Edit: June 27, 2008, 01:23:40 PM by klayboxx »

i can't find it either, but i remember seeing it. ill keep lookings

Here you go.


Thanks for the console shot. I was using V9 to test this, which has a respawnVehicle command for bricks. I've changed it to the V8 one so this should explode and be fine.

Thanks adc90! It will help out a lot, I guess this is not needed anymore so...

Lock'd


I dont get it. I tryed it out, and I cant seem to get it to work. What i'm doing is this: I spawn the Jeep then I drive intill I cant see the vehicle spawn anymore then I get out and wait. But nothing happens after the 5 minutes...so, i modified the script and made it a shorter distance and a shorter wait time. Still, nothing. What am I doing wrong?
« Last Edit: June 27, 2008, 05:23:35 PM by klayboxx »

I forgot this is actually for respawning abandoned vehicles sorry about that...

I would like to be able to set it so if a vehicle hits a brick, it would respawn.