Car Respawn - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Car Respawn (
/showthread.php?tid=135280)
Car Respawn - [BEP]AcerPilot - 19.03.2010
How to not give the cars respawn?
****** Translate..¬¬
Re: Car Respawn -
zallomallo - 19.03.2010
pawn Код:
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, -1)
You need -1 for respawn timer.
Re: Car Respawn - [BEP]AcerPilot - 20.03.2010
But I have more than 100 AddStaticVehicle, and don't want to substitute all. Other suggestion?
Re: Car Respawn -
Julien210 - 20.03.2010
CTRL+H to replace whatever you want with something else. I think you can your work way from there.
Re: Car Respawn - [BEP]AcerPilot - 20.03.2010
Ok, I did. It's correct?(All are the same as this example)
Before
Код:
AddStaticVehicle(416,-2543.9534,586.9307,14.6012,270.1252,1,3);
After
Код:
CreateVehicle(416,-2543.9534,586.9307,14.6012,270.1252,1,3,-1);
Re: Car Respawn -
StreetGT - 20.03.2010
yes
Re: Car Respawn - [BEP]AcerPilot - 20.03.2010
Ok, thanks. Only more one thing: when I restart the server, the cars goin back to it original position?
Re: Car Respawn -
[MWR]Blood - 20.03.2010
Quote:
Originally Posted by [BEP
GeoPilot ]
Ok, thanks. Only more one thing: when I restart the server, the cars goin back to it original position?
|
yes