-im Head
new Text3D:GM3D[MAX_PLAYERS];
public OnPlayerCommandText(playerid, cmdtext[])
if(!strcmp(strget(cmdtext,0),"/gm"))
{
new GMTEXT[MAX_PLAYER_NAME];
if(Spieler[playerid][Adminlevel] == 10)
{
GMTEXT = "<GM>";
GM3D[playerid] = Create3DTextLabel(GMTEXT,COLOR_ORANGE,0,0,0,0,1);
Attach3DTextLabelToPlayer(GM3D[playerid], playerid, 0.0, 0.0, 0.15);
}
else
{
SendClientMessage(playerid, COLOR_ROT, "Du hast kein Adminlevel oder es ist zu niedrig!");
return 1;
}
return 1;
}
es wird aber einfach nciht angezigt egal was ich amche