Local chat color
#5

Quote:
Originally Posted by ReD_HunTeR
Посмотреть сообщение
thats weird, are you sure command for going onduty is setting [pAdminDuty] to "1" ?
Код:
CMD:aduty(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] == 1)
    {
        new Text3D:label = Create3DTextLabel("Game Administrator", 0xFFA500FF, 30.0, 40.0, 50.0, 40.0, 0);
        Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);

        SendClientMessage(playerid, COLOR_LAWNGREEN, "You are now on duty as a Game Administrator");

        PlayerInfo[playerid][pAdminDuty] = 1;
    }
    else
        return SendClientMessage(playerid, COLOR_RED, "ERROR: You are not a Game Administrator!");
    
    return 1;
}
Reply


Messages In This Thread
Local chat color - by Mo123 - 27.10.2018, 17:48
Re: Local chat color - by ReD_HunTeR - 27.10.2018, 18:12
Re: Local chat color - by Mo123 - 27.10.2018, 18:29
Re: Local chat color - by ReD_HunTeR - 27.10.2018, 18:55
Re: Local chat color - by Mo123 - 27.10.2018, 20:04
Re: Local chat color - by RogueDrifter - 27.10.2018, 20:07
Re: Local chat color - by Mo123 - 27.10.2018, 20:51

Forum Jump:


Users browsing this thread: 1 Guest(s)