04.01.2011, 13:50
it compiles, but the server wont work, you forgot the
also the poisoned playerS (could be any ID) needs to be in a loop (Timer Callback), to make it work for all:
Код:
main{}()
Код:
public PoisonedPlayer(playerid) { new Float:health; for(new ID=0;ID<MAX_PLAYERS;ID++) { if(Poisoned[ID] == 1) { GetPlayerHealth(ID, health); SetPlayerHealth(ID, health-5); } } return 1; }