Die Errors
C:\Users\Tom\Desktop\Home\pawno\new.pwn(189) : warning 225: unreachable code
C:\Users\Tom\Desktop\Home\pawno\new.pwn(211) : error 017: undefined symbol "Player"
C:\Users\Tom\Desktop\Home\pawno\new.pwn(211) : warning 215: expression has no effect
C:\Users\Tom\Desktop\Home\pawno\new.pwn(211) : error 001: expected token: ";", but found "]"
C:\Users\Tom\Desktop\Home\pawno\new.pwn(211) : error 029: invalid expression, assumed zero
C:\Users\Tom\Desktop\Home\pawno\new.pwn(211) : fatal error 107: too many error messages on one line
new sup[MAX_PLAYER_NAME];
new Owner[MAX_PLAYER_NAME];
new mod[MAX_PLAYER_NAME];
new adm[MAX_PLAYER_NAME];
if(Player[playerid][Adminlevel] == 5)
{
Owner = "ServerOwner";
ServerOwner[playerid] = Create3DTextLabel(Owner,COLOR_REDA,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(ServerOwner[playerid], playerid, 0.0, 0.0, 0.45);
}
if(Player[playerid][Adminlevel] == 1)//adminlvl 1 =moderator :)
{
mod = "Moderator]";
Moderator[playerid] = Create3DTextLabel(mod,COLOR_LIGHTGREEN,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(Moderator[playerid], playerid, 0.0, 0.0, 0.45);
}
if(Player[playerid][Adminlevel] == 2)//adminlvl 2 =admin
{
adm = "Administrator";
Administrator[playerid] = Create3DTextLabel(adm,COLOR_LIGHTBLUE,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(Administrator[playerid], playerid, 0.0, 0.0, 0.45);
}
if(Player[playerid][Adminlevel] == 3)//adminlvl 3=superadmin
{
sup = "SuperAdmin";
SuperAdmin[playerid] = Create3DTextLabel(sup,COLOR_ORANGERED,0,0,0,70.5,1);
Attach3DTextLabelToPlayer(SuperAdmin[playerid], playerid, 0.0, 0.0, 0.45);
}