Command Problem
#4

pawn Код:
CMD:dcar(playerid, params[])
{
    new veh;
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "You must be in a vehicle to use this command.");
    veh = GetPlayerVehicleID(playerid);
    DestroyVehicle(veh);
    return 1;
}
Very simple one.
Reply


Messages In This Thread
Command Problem - by Blackazur - 27.11.2012, 17:07
Re: Command Problem - by Djole1337 - 27.11.2012, 17:08
AW: Command Problem - by Blackazur - 27.11.2012, 17:17
Re: Command Problem - by Djole1337 - 27.11.2012, 17:22

Forum Jump:


Users browsing this thread: 1 Guest(s)