SA-MP Forums Archive
delete a 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: delete a car? (/showthread.php?tid=188485)



delete a car? - Rocky Balboa - 07.11.2010

is there a function without me making one to delete a car?


Re: delete a car? - Zezombia - 07.11.2010

DestroyVehicle? Just look at your pawno:




Re: delete a car? - Jay. - 07.11.2010

pawn Код:
if(strcmp(cmdtext,"/destroycar",true) == 0)
{
    new veh;
    veh = GetPlayerVehicleID(playerid);
    DestroyVehicle(veh);
    return 1;
}