Posts: 121
Threads: 15
Joined: Jan 2010
Reputation:
0
When we exited a car...to check a car park...we didn't find our car. It disappeared very fast.
How can I fix this?
Server Cfg:
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
Posts: 126
Threads: 0
Joined: Mar 2010
Reputation:
0
This isn't in the server.cfg :O
Look in your script:
AddStaticVehicleEx and CreateVehicle --> Both are using respawn_delay :O
I think you've put this delay on 0 O.o
Posts: 3,304
Threads: 58
Joined: Sep 2008
Reputation:
0
I'm actually guessing that if you put the delay on 0 it doesn't respawns unless it's destroyed.
Anyways, the delay between exiting and re-spawning are in milliseconds(mS), 1000mS = 1S. So to respawn every 2 minutes, you'd have a delay of 120000(120 seconds = 2 minutes).
Posts: 126
Threads: 0
Joined: Mar 2010
Reputation:
0
Hm I think the respawn delays of CreateVehicle and AddStaticVehicleEx are exceptions xD
They are expressed in seconds not milliseconds :O ^^
Posts: 95
Threads: 6
Joined: Jan 2010
Reputation:
0
Do you use AddStaticVehicle or AddStaticVehicleEx in your script to spawn cars?
E: Woah I was slow..