29.01.2017, 02:36
When i removed the vehicle this pop up
SendClientMessage(playerid, COLOUR_RED,"You removed vehicle");
SERVER: Unkown commad.
SendClientMessage(playerid, COLOUR_RED,"You removed vehicle");
SERVER: Unkown commad.
Код:
CMD:deleteveh(playerid,params[]) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "You need to be in a vehicle to use this command"); { SendClientMessage(playerid, COLOUR_RED,"You removed vehicle"); new vehicleid = GetPlayerVehicleID(playerid); DestroyVehicle(vehicleid); } return 0; }