27.05.2018, 22:39
PHP код:
//News
new Text3D:PlayerLabel[MAX_PLAYERS];
//OnPlayerSpawn
public OnPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pAdmin] == 3)
{
Delete3DTextLabel(PlayerLabel[playerid]);
PlayerLabel[playerid] = Create3DTextLabel("Administrador(a)", 0x00FFFFAA, 30.0, 40.0, 50.0, 100.0, 0);
Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.3);
}
if(PlayerInfo[playerid][pVip] == 1)
{
Delete3DTextLabel(PlayerLabel[playerid]);
PlayerLabel[playerid] = Create3DTextLabel("Player VIP", 0x00FF00AA, 30.0, 40.0, 50.0, 100.0, 0);
Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.3);
}
return 1;
}
Creio eu que essas 2 variavel de admin e vip n e a sua, se n conseguir manda seu /setadmin /setvip pra ver
* Obs№: tem como fazer por SetPlayerChatBubble, mais faz com Attach3DTextLabelToPlayer й Create3DTextLabel!
* ObsІ: Vocк n ve a tag encima de vc! nem com essas 3 funзхes: SetPlayerChatBubble, Attach3DTextLabelToPlayer й Create3DTextLabel apenas os outros jogadores!