Deleting a car by ID
#4

pawn Код:
CMD:dc(playerid, params[])
{
    if(IsPlayerLuxAdmin(playerid))
    {
          new carid, msg[50];
          if(sscanf(params, "d", carid)) return SendClientMessage(playerid, WHITE, "SYNTAX: /dc [carid]");
          DestroyVehicle(carid));
          format(msg, sizeof(msg), "Deleted car ID %i", carid);
          SendClientMessage(playerid, COL_ADMIN, msg);
    }
}
Reply


Messages In This Thread
Deleting a car by ID - by SnG.Scot_MisCuDI - 07.01.2012, 02:35
Re: Deleting a car by ID - by Richie - 07.01.2012, 02:40
Re: Deleting a car by ID - by SnG.Scot_MisCuDI - 07.01.2012, 02:48
Re: Deleting a car by ID - by Outcast - 07.01.2012, 03:02
Re: Deleting a car by ID - by SnG.Scot_MisCuDI - 07.01.2012, 03:31

Forum Jump:


Users browsing this thread: 2 Guest(s)