Hallo,
Ich hab vor 3-5Wochen etwas gescriptet aber es funzte nie Richtig
Also über Admins/Clanmembers soll ein TextLabel sein aber bei mir kommt alles auf einmal Clanmember Super Admin Moderator alles gemischt das sieht nicht gut aus.
Ich will das bei Clanmember nur 1 TextLabel steht hier meine Zeilen:
Function OnPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pAdmin] < 2000) //
{
new Text3D:label = Create3DTextLabel("Server Owner/in", Rot, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pAdmin] < 1500) //
{
new Text3D:label = Create3DTextLabel("Server Manager/in", Orange, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pAdmin] < 4) //
{
new Text3D:label = Create3DTextLabel("Super Admin", Gelb, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pAdmin] < 3) //
{
new Text3D:label = Create3DTextLabel("Administrator/in", Grun, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pAdmin] < 2) //
{
new Text3D:label = Create3DTextLabel("Moderator/in", Blau, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pAdmin] < 1) //
{
new Text3D:label = Create3DTextLabel("Clanmember/in", Pink, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
Function OnPlayerConnect(playerid)
{
if(PlayerInfo[playerid][pAdmin] < 2000) //
{
new Text3D:label = Create3DTextLabel("Server Owner", Rot, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pAdmin] < 1500) //
{
new Text3D:label = Create3DTextLabel("Server Manager", Orange, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pAdmin] < 4) //
{
new Text3D:label = Create3DTextLabel("Super Admin", Gelb, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pAdmin] < 3) //
{
new Text3D:label = Create3DTextLabel("Administrator", Grun, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pAdmin] < 2) //
{
new Text3D:label = Create3DTextLabel("Moderator", Blau, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pAdmin] < 1) //
{
new Text3D:label = Create3DTextLabel("Clanmember", Pink, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
Danke im Vorraus !
MfG