hallo ich wollt mal die loh'ler fragen was das is dieses einfache pn(playerid)
und womit definier ich das oder so.
is das ein stock?
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
if(SpielerInfo[playerid][pAdmin] == 1)
{
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(pid)//das hier
{
new nn[MAX_PLAYER_NAME];
GetPlayerName(pid, nn, sizeof nn);
return nn;
}