Command destroy cars
#4

PHP код:
CMD:destroyallcar(playeridparams[])
{
    if(
pInfo[playerid][Logged] == 0) return SendClientMessage(playeridCOLOR_RED"[Error]: Ban phai dang nhap truoc da!");
    if(
pInfo[playerid][Admin] >= 4)
    {
        
DestroyAllVehicles();//just call it...
        
SendClientMessage(playeridCOLOR_YELLOW"All Vehicles Destroyed!");
        
SendAdminCMD(playerid"destroyallcar"0);
    }
    else return 
SendClientMessage(playeridCOLOR_REDEACMD);
    return 
1;

Reply


Messages In This Thread
Command destroy cars - by Switch9400 - 30.11.2016, 12:24
Re: Command destroy cars - by SyS - 30.11.2016, 12:26
Re: Command destroy cars - by Switch9400 - 30.11.2016, 12:29
Re: Command destroy cars - by SyS - 30.11.2016, 12:33
Re: Command destroy cars - by Switch9400 - 30.11.2016, 12:39

Forum Jump:


Users browsing this thread: