CMD Help
#4

pawn Код:
CMD:givegr(playerid, params[])
{
    if (PlayerInfo[playerid][pAdmin] >= 4)
    {
        if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,0xFFFFFFFF, "You are not driving a vehicle.");
        AddVehicleComponent(GetPlayerVehicleID(playerid),1080);
        SendClientMessage(playerid, 0xFFFFFFFF, "You have added Gold Rims to your vehicle.");
    }
    else
    {
        SendClientMessage(playerid,0xFFFFFFFF, "You are not Administrator.");
    }
    return 1;
}

CMD:givecr(playerid, params[])
{
    if (PlayerInfo[playerid][pAdmin] >= 4)
    {
        if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,0xFFFFFFFF, "You are not driving a vehicle.");
        AddVehicleComponent(GetPlayerVehicleID(playerid),1079);
        SendClientMessage(playerid, 0xFFFFFFFF, "You have added Cutter Rims to your vehicle.");
    }
    else
    {
        SendClientMessage(playerid,0xFFFFFFFF, "You are not Administrator.");
    }
    return 1;
}
Reply


Messages In This Thread
CMD Help - by yarin0600 - 25.09.2012, 13:51
Re: CMD Help - by Lordzy - 25.09.2012, 14:14
Re: CMD Help - by yarin0600 - 26.09.2012, 09:38
Re: CMD Help - by Danyal - 26.09.2012, 09:52

Forum Jump:


Users browsing this thread: 2 Guest(s)