How can i make my vehicle respwan every 15 minutes?
#1

Hello,

How can i make this vehicle respawn after 15 minutes. Please make it respawn every 15 minutes. S
o if the car will crash or go in water the vehicle will respawn after 15 minutes.
Код:
//i want this 15 minutes
AddStaticVehicleEx(567, 2443.2261, -1643.5012, 13.3333, 178.8905,  86, 96, 15); // savanna
Код:
// i want this 5 minutes
AddStaticVehicleEx(412, 2486.0669, -1654.5834, 13.2305,  89.3584,  86, 96, 15); // voodoo
Reply
#2

Read the wiki
Reply
#3

Quote:
Originally Posted by Lenny the Cup
Посмотреть сообщение
I know that, i don't know how to set to this minutes i want.
Reply
#4

Yea, just set the delay to 15 mins, just cound how much seconds is 15 mins and put the delay
Reply
#5

http://www.calculateme.com/Time/Minu...lliseconds.htm
Reply
#6

Код:
respawn_delay    The delay until the car is respawned without a driver in seconds.
15*60
Reply
#7

pawn Код:
AddStaticVehicleEx(567, 2443.2261, -1643.5012, 13.3333, 178.8905,  86, 96, 900 ); // savanna 900 seconds = 15min
EDIT: Oops ill change that its seconds not ms
Reply
#8

No, it's in seconds not ms 900 = 15 min
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)