#6

PHP код:
stock GetAdminName(playerid)
{
    new 
adminname[128];
    switch(
pInfo[playerid][pAdminLevel]) 
    {
        case 
0adminname "Not Admin";
        case 
1adminname "Trial Moderator";
        case 
2adminname "Moderator Team";
        case 
3adminname "Administrator Team";
        case 
4adminname "Support Team";
        case 
5adminname "Management Team";
        case 
6adminname "Developer Team";
        case 
7adminname "Community Owner";
    }
    return 
adminname;

When you use "stock" before this function you won't get this mistake.

Can you show us the code of the another mistake or do you want solve this yourself.
Reply


Messages In This Thread
Help - by CSLangdale - 29.03.2016, 19:11
Re: Help - by Crystallize - 29.03.2016, 19:21
Re: Help - by CSLangdale - 30.03.2016, 08:16
Re: Help - by Sjn - 30.03.2016, 08:48
Re: Help - by CSLangdale - 30.03.2016, 13:54
Re: Help - by Mencent - 30.03.2016, 13:56
Re: Help - by Untonyst - 30.03.2016, 14:37
Re: Help - by Vanter - 30.03.2016, 14:46
Re: Help - by CSLangdale - 30.03.2016, 16:11
Re: Help - by CSLangdale - 31.03.2016, 15:07

Forum Jump:


Users browsing this thread: 4 Guest(s)