Automatic timer every hour
#1

Hello,
The thing i wanna have for my server is a automatic car reset.
I already fixed this and i got a command for it now.
But actually, i want it to happen automaticly every hour.
So, how can i make a timer that will automaticly 'do' the action (VehicleReset) every hour?
Reply
#2

pawn Код:
SetTimer("VehicleReset",3600000,1);
Your post sounded like you already had your function, so you just need the above bit of code, it goes in OnGameModeInit.
Reply
#3

Ok, i see, but the reset thing doesn't work with my vehicle streamer.
Ehm, let's do it another way:

The thing i need is when someone leaves his vehicle, the vehicle will automaticly respawn to his normal place after 5 min not being used.



REALLY happy now! i fixed it myself with an simple little script, and you're timer helped me with it, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)