Stopping spam in OnPlayerUpdate.
#4

Quote:
Originally Posted by cloudysky
Посмотреть сообщение
Thanks for the response,

It's to detect when a player is in range of another player and then gives that player health.
Use a variable to check if the health is already given.


Like
pawn Код:
if(hashealth[playerid] == 0)
{
 //code here
hashealth[playerid] = 1;
}
Reply


Messages In This Thread
Stopping spam in OnPlayerUpdate. - by cloudysky - 07.06.2012, 13:12
Re: Stopping spam in OnPlayerUpdate. - by JaTochNietDan - 07.06.2012, 13:16
Re: Stopping spam in OnPlayerUpdate. - by cloudysky - 07.06.2012, 13:31
Re: Stopping spam in OnPlayerUpdate. - by milanosie - 07.06.2012, 13:35

Forum Jump:


Users browsing this thread: 2 Guest(s)