Bonsoir,
J'ai fait une petit commande, met je ne sais pas pourquoi elle ne marche pas si vous pouvez m'aidé ça serai cool
public Manger()
{
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(gPlayerSpawned[i] == 1)
{
new sendername[MAX_PLAYER_NAME];
new string[256];
new Float:health;
GetPlayerHealth(i, health);
if(health <= 35)
{
{
format(string, sizeof(string), "* %s a le ventre qui gargouille.", sendername);
ProxDetector(30.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SendClientMessage(i, COLOR_WHITE, "Vous avez faim, allez mangé quelques choses");
}
}
}
}
}
return 1;
}
Merci d'avance pour vos aide