A little problem with car respawn
#1

Hello,

I have a little problem with my car respawning,
Everytime if someone exit his/her vehicle, It will get respawned.
Can anyone help me with it? can someone tells me how to make a /park command,
Or that the car's wont respawn.

Thank you.
Reply
#2

Change vehicles respawn delay
Reply
#3

I've searched more then a hour for that, But I can't find it. -.-
Reply
#4

Anyone can help?
Reply
#5

ok EXAMPLE
i create this vehicle
pawn Код:
CreateVehicle(520, 804.1500, 4560.4560, 12.3400, 120.88, 0, 1, 100);
//you see at the end the number [100] that is the Delay timer before the vehicle respawns
Is like This
Код:
(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay)
BTW the time is in seconds hope i helped
Reply
#6

( AddStaticVehicle(596,641.3103,-609.7316,16.0593,357.6638,0,1,10000 )
If I do that, I will get this error;
warning 202: number of arguments does not match definition
Reply
#7

Quote:
Originally Posted by jerry1996
Посмотреть сообщение
( AddStaticVehicle(596,641.3103,-609.7316,16.0593,357.6638,0,1,10000 )
If I do that, I will get this error;
warning 202: number of arguments does not match definition
yeah try this
pawn Код:
AddStaticVehicle(596,641.3103,-609.7316,16.0593,357.6638,0,10000);
you get that because AddStaticVehicle is not the same as CreateVehicle
AddStaticVehicle doesnt have Respawn_Delay
is like this !!!
Код:
(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2)
if you want with Respawn_Delay try this then use AddStaticVehicleEx
Код:
AddStaticVehicleEx (596,641.3103,-609.7316,16.0593,357.6638,1,0,10000 );
Reply
#8

You're using CreateVehicle, AddStaticVehicle or AddStaticVehicleEx?
Show it.
Reply
#9

Thanks man, I change that ''AddStaticVehicle'' to ''AddStaticVehicleEx'' and putted the time on it.

PS, is it possible to turn the respawn OFF?
Reply
#10

Change the last param to 0.
Reply
#11

Thanks man <3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)