public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
//new pn[MAX_PLAYER_NAME];
if(SpielerInfo[playerid][pAdmin] == 1)// hier is der error
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
ShowPlayerDialog(playerid,DIALOG_CLICK,DIALOG_STYLE_LIST,name,"Goto\nGethere\nKick\nBan\nHealth\nSlap\nTV\nInterior","OK","Abbrechen");
pClicked[playerid] = clickedplayerid;
}
return 1;
}
pn(playerid)
{
new nn[MAX_PLAYER_NAME];
GetPlayerName(pid, nn, sizeof nn);
return nn;
}
hier der error:
C:\Users\DereezZeD\Desktop\Infinity Roleplay\gamemodes\IRP0.2.3.pwn(1733) : error 017: undefined symbol "SpielerInfo"