Hallo Liebe Leute ich habe ein kleine Problem
Folgendes:
Ich habe jeden Admin ein Namen über den Kopf geben wie zb: Scripter aber jede spieler hat das
Ihr die Codes:
#define COLOR_REDA 0xFF0000FF//ServerOwner
#define COLOR_LIGHTBLUE 0x33CCFFAA//Administrator
#define COLOR_LIGHTGREEN 0x9ACD32AA//moderator
#define COLOR_ORANGERED 0xFF4500AA//Scripter
new Text3D:ServerOwner[MAX_PLAYERS];
new Text3D:Scripter[MAX_PLAYERS];
new Text3D:Administrator[MAX_PLAYERS];
new Text3D:Administrator2[MAX_PLAYERS];
new Text3D:Moderator[MAX_PLAYERS];
Delete3DTextLabel(ServerOwner[playerid]);//Löscht den 3D Textlabel
Delete3DTextLabel(Moderator[playerid]);//same
Delete3DTextLabel(Scripter[playerid]);//same
Delete3DTextLabel(Administrator[playerid]);//same
Delete3DTextLabel(Administrator2[playerid]);//same
public OnPlayerSpawn(playerid)
{
new scr[MAX_PLAYER_NAME];
new Owner[MAX_PLAYER_NAME];
new mod[MAX_PLAYER_NAME];
new adm[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][pAdmin] == 1300) //admin
{
Owner = ".:Supporter:.";
ServerOwner[playerid] = Create3DTextLabel(Owner,COLOR_REDA,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(ServerOwner[playerid], playerid, 0.0, 0.0, 0.45);
}
if(PlayerInfo[playerid][pAdmin] == 1400)//admin
{
mod = ".:Admin:.";
Moderator[playerid] = Create3DTextLabel(mod,COLOR_REDA,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(Moderator[playerid], playerid, 0.0, 0.0, 0.45);
}
if(PlayerInfo[playerid][pAdmin] == 1500)//admin
{
adm = ".:Management:.";
Administrator2[playerid] = Create3DTextLabel(adm,COLOR_REDA,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(Administrator2[playerid], playerid, 0.0, 0.0, 0.45);
}
if(PlayerInfo[playerid][pAdmin] == 1650)//admin
{
adm = ".:Management:.";
Administrator[playerid] = Create3DTextLabel(adm,COLOR_REDA,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(Administrator[playerid], playerid, 0.0, 0.0, 0.45);
}
if(PlayerInfo[playerid][pAdmin] == 1700)//admin
{
scr = ".:Scripter:.";
Scripter[playerid] = Create3DTextLabel(scr,COLOR_REDA,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(Scripter[playerid], playerid, 0.0, 0.0, 0.45);
}
Was habe ich falsch gemacht das jede Spieler das Hat
oder kann mir das einer mit Namen Systeam machen
Das Heist Testuser: Scripter
Matze: Admin
so in der Art