das oben irgentwo
new Text3D:Admin6[MAX_PLAYERS];
new Text3D:Admin5[MAX_PLAYERS];
new Text3D:Admin4[MAX_PLAYERS];
new Text3D:Admin3[MAX_PLAYERS];
new Text3D:Admin2[MAX_PLAYERS];
new Text3D:Admin1[MAX_PLAYERS];
new Text3D:Mitglied1[MAX_PLAYERS];
Das bei OnPlayerConnect
if(Spieler[playerid][pAdmin] == 6)
{
Admin6[playerid] = Create3DTextLabel("ServerOwner",0xE10000FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(Admin6[playerid], playerid, 0.0, 0.0, 0.7);
}
if(Spieler[playerid][pAdmin] == 5)
{
Admin5[playerid] = Create3DTextLabel("ServerManager",0xDC00FFFF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(Admin5[playerid], playerid, 0.0, 0.0, 0.7);
}
if(Spieler[playerid][pAdmin] == 4)
{
Admin4[playerid] = Create3DTextLabel("SuperAdministrator",0x00E1FFFF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(Admin4[playerid], playerid, 0.0, 0.0, 0.7);
}
if(Spieler[playerid][pAdmin] == 3)
{
Admin3[playerid] = Create3DTextLabel("Adminstrator", 0x002DFFFF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(Admin3[playerid], playerid, 0.0, 0.0, 0.7);
}
if(Spieler[playerid][pAdmin] == 2)
{
Admin2[playerid] = Create3DTextLabel("SuperAdmin",0xFFFF00FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(Admin2[playerid], playerid, 0.0, 0.0, 0.7);
}
if(Spieler[playerid][pAdmin] == 1)
{
Admin1[playerid] = Create3DTextLabel("Moderator", 0x00BC00FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(Admin1[playerid], playerid, 0.0, 0.0, 0.7);
}
if(Spieler[playerid][pMitglied] == 1)
{
Mitglied1[playerid] = Create3DTextLabel("Teammitglied",0xAAAAAAFF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(Mitglied1[playerid], playerid, 0.0, 0.0, 0.7);
}
Ich habe einen auf meinen Server geholt der sagen soll ob es drüber steht aber irgentwie geht es nicht ?
ich hoffe ihr könnt mir helfen