29.01.2017, 02:09
Код:
CMD:deleteveh(playerid,params[]) { if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid, -1, "You need to be in a vehicle to use this command"); { new vehicleid = GetPlayerVehicleID(playerid); DestroyVehicle(vehicleid); SendClientMessage(playerid, COLOUR_RED,"You have removed this vehicle"); } return 0; }