08.10.2014, 03:40
Quote:
Show us GetAdminName function, it must return string for it to be correct...
Not sure about line 7028 though, reason is clearly a string... |
pawn Код:
stock GetAdminName(playerid)
{
new adminname[128];
switch(pInfo[playerid][pAdminLevel])
{
case 0: adminname = "Newbie/Regular";
case 1: adminname = "Trial Moderator";
case 2: adminname = "Moderator";
case 3: adminname = "Sr.Moderator";
case 4: adminname = "Management";
case 5: adminname = "Head Admin";
case 6: adminname = "Server Mapper";
case 7: adminname = "Jr.Manager";
case 8: adminname = "Sr.Manager";
case 9: adminname = "Server Scripter";
case 10: adminname = "Server Founder";
}
return adminname;
}