Errors , what wrong?
#1

hello

i have problem to compile i get error

error
Код:
2093) : error 010: invalid function or declaration
code
2093:
Код:
return 1;
Error on this code:
pawn Код:
public OnPlayerAirbreak(playerid)
{
   if(playerVariables[playerid][pStatus] >= 1)
   {
         if(playerVariables[playerid][pAdminLevel] < 1)
         {
             format(szMessage, sizeof(szMessage), "AdmWarn: {FFFFFF}%s[%d] foloseste AirBreak. Folositi [/spec] pentrua va asigura!", playerVariables[playerid][pNormalName], playerid);
             submitToHelpersAndAdmins(szMessage, COLOR_HOTORANGE);
             return 1;
         }
       }
    }
}
this code was before, i edit it , because when a cheater use cheat airbreak is write to this him and admins ;
pawn Код:
public OnPlayerAirbreak(playerid)
{
    if(playerVariables[playerid][pAdminLevel] < 1)
    {
        format(szMessage, sizeof(szMessage), "AdmWarn: {FFFFFF}%s[%d] foloseste AirBreak. Folositi [/spec] pentrua va asigura!", playerVariables[playerid][pNormalName], playerid);
        submitToHelpersAndAdmins(szMessage, COLOR_HOTORANGE);
    }  
    return 1;
}
Reply


Messages In This Thread
Errors , what wrong? - by SHFaCeBook - 28.03.2015, 00:48
Re: Errors , what wrong? - by nicholasramdhan - 28.03.2015, 01:18
Re: Errors , what wrong? - by SHFaCeBook - 28.03.2015, 01:24
Re: Errors , what wrong? - by Crayder - 28.03.2015, 01:35

Forum Jump:


Users browsing this thread: 2 Guest(s)