Auto Car respawning..
#1

What's up guys. How would I setup a timer for 5 minutes upon leaving your vehicle so you have 5 minutes to before your car respawns. So that I don't have to reset the server.

I haven't done any scripting on it yet. So if someone could show me a tutorial on it or make a tutorial right here. That would be great!

Thanks
- Th3UnKnOwN
Reply
#2

Change your vehicles to:

Код:
AddStaticVehicleEx
Example

Код:
AddStaticVehicleEx(599,2779.3843,-2434.2644,13.3568,88.5203, 86, 86, 900); // The 900 is the respawn timer (900 is milliseconds, just ****** the *5minutes to milliseconds*.)
Reply
#3

So... AddStaticVehicleEx(vehicleid, x, y, z, facing angle, color1, color2, respawn time);
Reply
#4

Quote:
Originally Posted by Th3UnKnOwN
Посмотреть сообщение
So... AddStaticVehicleEx(vehicleid, x, y, z, facing angle, color1, color2, respawn time);
You're exactly right
Reply
#5

Quote:
Originally Posted by MD5
Посмотреть сообщение
You're exactly right
Awesome, Thanks for the help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)