cars only blow up with a driver, and respawn.
#1

Hello, how can I make it so cars do not respawn when they explode, and so that cars can be destroyed without a driver? I've been searching for hours now and haven't found any reasonable results.
Reply
#2

Use a GetPlayerVehicleHealth Or MAybe GetVehicleHealth Variable, Then Destroy The Car And It Wont Respawn
Reply
#3

where at?
Reply
#4

You New At Scripting?
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=171900

http://forum.sa-mp.com/showthread.ph...vehicle+driver

Didn't read through your post entirely, but I believe I got the just of it.
Reply
#6

https://sampwiki.blast.hk/wiki/CreateVehicle

Use 'CreateVehicle', this is said in wiki..:
pawn Код:
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay);
replace 'respawn_delay' with a time to when it responds. I don't really know what else to say. maybe make respawn_delay 1 billion seconds xD. or -1
Reply
#7

Quote:
Originally Posted by dr.pepper
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/CreateVehicle

Use 'CreateVehicle', this is said in wiki..:
pawn Код:
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay);
replace 'respawn_delay' with a time to when it responds. I don't really know what else to say. maybe make respawn_delay 1 billion seconds xD.
Thank you Dr. Pepper, now my vehicles will no longer respawn
Reply
#8

Set the respawn delay to -1.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)