20.09.2014, 05:11
i got this problem when i add admin names:

heres the code:

heres the code:
PHP код:
stock AdminLevelName(playerid)
{
new staffname[256];
switch(pInfo[playerid][pAdmin]) //line of proble, the pInfo thing
{
case 0: staffname = "Member";
case 1: staffname = "Helper";
case 2: staffname = "Moderator";
case 3: staffname = "Manager";
case 4: staffname = "Head Admin";
case 5: staffname = "Founder";
}
return staffname;
}