[help] car
#1

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
Reply
#2

pawn Код:
public OnVehicleDeath(vehicleid)
{
  DestroyVehicle(vehicleid);
  return 1;
}
?
Reply
#3

ya but that will destroy all of my cars i just need it done for my shop
Reply
#4

It will not destroy all of your cars, it will just returned the ones that "died".
Reply
#5

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);
}
}
Reply
#6

never mind i got it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)