SA-MP Forums Archive
To destroy 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: To destroy car (/showthread.php?tid=131794)



To destroy car - xxjackoxx - 05.03.2010

Hello ,

How do you make a command liek /destroycar .

Can you please provide a example.

Please and Thanks.


Re: To destroy car - [HiC]TheKiller - 05.03.2010

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