06.07.2012, 18:05
pawn Код:
CMD:dveh(playerid)
{
if(PlayerInfo[playerid][Padmin] < 2) return SendClientMessage(playerid, -1, "Your not high enough level to do that");
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "You need to be in a car to use this command");
new currentveh;
currentveh = GetPlayerVehicleID(playerid);
DestroyVehicle(currentveh);
return 1;
}