Das war zwar nicht seine Frage, bzw. was er benötigt hätte aber in Ordnung.
if(strcmp(cmd,"/aaa",true) == 0)
{
if(PlayerInfo[playerid][pAdmin] == 1339)
{
Owner = "ServerOwner";
SendClientMessage(playerid,COLOR_GREY,"ServerOwner");
ServerOwner[playerid] = Create3DTextLabel(Owner,0xB9FF00FF,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(ServerOwner[playerid], playerid, 0.0, 0.0, 0.45);
}
if(PlayerInfo[playerid][pAdmin] == 1)
{
modd = "Moderator]";
SendClientMessage(playerid,COLOR_GREY,"Moderator");
Moderator[playerid] = Create3DTextLabel(modd,0xFFFF59FF,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(modd [playerid], playerid, 0,0,0);
}
if(PlayerInfo[playerid][pAdmin] == 1337)
{
adm = "Administratorr";
SendClientMessage(playerid,COLOR_GREY,"Administratorr");
Administratorr[playerid] = Create3DTextLabel(adm,0xFFB000FF,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(Administratorr[playerid], playerid, 0,0,0);
}
if(PlayerInfo[playerid][pAdmin] == 1338)
{
sup = "SuperAdmin";
SendClientMessage(playerid,COLOR_GREY,"SuperAdmin");
SuperAdmin[playerid] = Create3DTextLabel("sup",0xa9c4e4FF,0,0,0,50,-1,1);
Attach3DTextLabelToPlayer(SuperAdmin[playerid], playerid, 0,0,0);
}
return 1;
}
Probier das mal so.
Edit:
Bei New was vergessen?