Cars respawn?
#1

Is it possible to make it so...When someone gets out of there car, like 5 minutes of the car not being used it will respawn to it's original location?

On my stunt server, the cars don't go back to there original spot because they don't blow up because of the carrepair system so im confused on what to do.

I've never actually seen the cars go back themselves, i'm not sure they do.

Please help if ya know. Thanks a lot guys.
Reply
#2

-removed-
Reply
#3

https://sampwiki.blast.hk/wiki/CreateVehicle

CreateVehicle(modelid, Float, Float:y,Float:z, Float:angle, color1, color2, respawn_delay);
Reply
#4

Quote:
Originally Posted by //exora
https://sampwiki.blast.hk/wiki/CreateVehicle

CreateVehicle(modelid, Float, Float:y,Float:z, Float:angle, color1, color2, respawn_delay);
Whats wrong with this one?

Код:
CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 800);
The truck wont spawn any more
Reply
#5

remember that the respawn delay is in seconds.
Reply
#6

Quote:
Originally Posted by Swift_
remember that the respawn delay is in seconds.
Oh ok nvm it works! Lol thanks guys.
Reply
#7

Haha'. Change all your Static Vehicles to Create Vehicles.. seems boring, haha.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)