error 035: argument type mismatch
#3

Quote:
Originally Posted by Crayder
Посмотреть сообщение
Show us GetAdminName function, it must return string for it to be correct...

Not sure about line 7028 though, reason is clearly a string...
Im Confused, Here is the GetAdminName:
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;
}
Aslo, is theres a way to get the admin's name?
Reply


Messages In This Thread
error 035: argument type mismatch - by XGreen - 08.10.2014, 03:08
Re: error 035: argument type mismatch - by Crayder - 08.10.2014, 03:27
Re: error 035: argument type mismatch - by XGreen - 08.10.2014, 03:40
Re: error 035: argument type mismatch - by XGreen - 08.10.2014, 03:43
Re: error 035: argument type mismatch - by (SF)Noobanatior - 08.10.2014, 05:12
Respuesta: error 035: argument type mismatch - by !R1Ch@rD! - 08.10.2014, 05:23
Re: Respuesta: error 035: argument type mismatch - by XGreen - 08.10.2014, 13:53
Re: error 035: argument type mismatch - by AndySedeyn - 08.10.2014, 13:55
Re: error 035: argument type mismatch - by denNorske - 08.10.2014, 14:12
Re: error 035: argument type mismatch - by Rudy_ - 08.10.2014, 14:13

Forum Jump:


Users browsing this thread: 2 Guest(s)