c est justement ce que j essaye de faire mais je ne suis pas tres bon voir meme horrible
Jai trouver ce petit bout de code mais gros probleme a la compilation
SetTimer("SetPHealthTimer", 1000*60*2, true);
forward SetPHealthTimer();
public SetPHealthTimer()
{
for(new i = 0; i < GetMaxPlayers(); i++)
{
if(IsPlayerConnected(i))
{
static Float:health;
GetPlayerHealth(i, health);
SetPlayerHealth(i, health - floatdiv(health, 100.00));
}
}
}
mais jai pas mal d ereur