[help] car - 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: [help] car (
/showthread.php?tid=90259)
[help] car -
sggassasin - 07.08.2009
hey could someone tell me how to make a cr not spawn after it is destroyed coz like i made a buy car system but once the car is destroyed it get respawned so a little help
Re: [help] car -
MenaceX^ - 07.08.2009
pawn Код:
public OnVehicleDeath(vehicleid)
{
DestroyVehicle(vehicleid);
return 1;
}
?
Re: [help] car -
sggassasin - 07.08.2009
ya but that will destroy all of my cars i just need it done for my shop
Re: [help] car -
MenaceX^ - 07.08.2009
It will not destroy all of your cars, it will just returned the ones that "died".
Re: [help] car -
sggassasin - 07.08.2009
that makes no seans at all here could you add it to this for me
if (GetPlayerMoney(playerid) >= 30000)
{
GivePlayerMoney(playerid,-30000);
SendClientMessage(playerid,0x33AA33AA,"/here is ur Infernus");
CreateVehicle(411,2371.8589,1677.6702,10.5792, 0.0, -1, -1, 90000);
}
}
Re: [help] car -
sggassasin - 07.08.2009
never mind i got it