When I try to compile the code I get the error: plugin.sp(175) : error 100: function prototypes do not match
How can i fix it?
PHP Code:
public Action TimerHit_CallBack(Handle timer, int userid, int client)
{
static int attacker;
if(!(attacker = GetClientOfUserId(userid)))
return Plugin_Stop;
if(!(CheckCommandAccess(client, "reservation_admin", ADMFLAG_RESERVATION, true))) {
return Plugin_Stop;
}
g_bIsFired[attacker] = false;
for(int i = 1; i <= MaxClients; i++) if(IsClientInGame(i) && g_iTotalSGDamage[attacker][i])
{
ShowPRTDamage(attacker, i, g_iTotalSGDamage[attacker][i], g_bIsCrit[attacker][i], true);
g_iTotalSGDamage[attacker][i] = 0;
g_bIsCrit[attacker][i] = false;
}
return Plugin_Continue;
}