What kind of disaster I'm doing here
?
I created the float
PHP Code:
float f_AbilityStart [MAXPLAYERS+1];
The cumulative timer here
PHP Code:
public Action CumulativeEffect (int client)
{
f_AbilityStart[0] = GetEngineTime() + 10.0;
if (AbilityStart [client])
{
if (f_AbilityStart [client])
{
CreateTimer(0.1, StopTimer, client);
}
}
else AbilityStart [client] = true;
return Plugin_Continue;
}
Timer Stop
PHP Code:
public Action StopTimer(Handle timer, any client)
{
/*I stopped everything here*/
AbilityStart [client] = false;
}