28.03.2015, 00:48
(
Последний раз редактировалось SHFaCeBook; 28.03.2015 в 01:25.
)
hello
i have problem to compile i get error
error
code
2093:
Error on this code:
this code was before, i edit it , because when a cheater use cheat airbreak is write to this him and admins ;
i have problem to compile i get error
error
Код:
2093) : error 010: invalid function or declaration
2093:
Код:
return 1;
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;
}
}
}
}
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;
}