[REQUEST] Test
#3

it compiles, but the server wont work, you forgot the
Код:
main{}()
also the poisoned playerS (could be any ID) needs to be in a loop (Timer Callback), to make it work for all:
Код:
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;
}
Reply


Messages In This Thread
[REQUEST] Test - by Larsey123IsMe - 04.01.2011, 12:19
Re: [REQUEST] Test - by Toreno - 04.01.2011, 12:56
Re: [REQUEST] Test - by Babul - 04.01.2011, 13:50
Re: [REQUEST] Test - by Babul - 04.01.2011, 13:52
Re: [REQUEST] Test - by Larsey123IsMe - 04.01.2011, 14:30

Forum Jump:


Users browsing this thread: 1 Guest(s)