[Ajuda] Label em cima de ADM
#5

Voce ta usando Rcon ou enum

Rcon:
Quote:

new string1[5];

if(IsPlayerAdmin(playerid)){
format(string1, sizeof(string1), "ADMIN");
new Text3D:label2 = Create3DTextLabel(string1, 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label2, playerid, 0.0, 0.0, 0.7);
}else{

}

enum:
Quote:

enum pInfo
{
admin,
};

new PlayerInfo[MAX_PLAYERS][pInfo];
// em onplayerconect ou spawn

if(PlayerInfo[playerid] [admin] >= 1){
new string1[5];
format(string1, sizeof(string1), "ADMIN");
new Text3D:label2 = Create3DTextLabel(string1, 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label2, playerid, 0.0, 0.0, 0.7);

}else{

}

Reply


Messages In This Thread
Label em cima de ADM - by seifador - 16.12.2015, 22:18
Re: Textdraw em cima de ADM - by BykiLler - 16.12.2015, 22:21
Re: Textdraw em cima de ADM - by seifador - 16.12.2015, 22:23
Re: Label em cima de ADM - by LockedLucas - 16.12.2015, 22:30
Re: Label em cima de ADM - by BykiLler - 16.12.2015, 22:57
Re: Label em cima de ADM - by seifador - 16.12.2015, 23:03
Re: Label em cima de ADM - by BykiLler - 16.12.2015, 23:08
Re: Label em cima de ADM - by seifador - 16.12.2015, 23:41
Re: Label em cima de ADM - by fdsda - 17.12.2015, 08:04
Re: Label em cima de ADM - by connork - 17.12.2015, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)