29.01.2017, 02:16
Код:
(1623) : warning 225: unreachable code Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
but i added like this
Код:
CMD:deleteveh(playerid,params[]) { if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid, -1, "You need to be in a vehicle to use this command"); return 0; { new vehicleid = GetPlayerVehicleID(playerid); DestroyVehicle(vehicleid); SendClientMessage(playerid, COLOUR_RED,"You have removed this vehicle"); } return 1; }