OnPlayerGiveDamage
#8

Basically if a police officer shoots an innocent player it will warn them.

If an innocent player shoots a cop, they will recieve 1 wanted star.

Sometimes when a cop shoots another player the player that has been shot will lose no health at all, he will be in a god-mode like state.

here is my timer public:

pawn Код:
public CoolDownTimer()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && CoolDownTime[i] == 1)
        {
            CoolDownTime[i] = 0;
        }
    }
}
Note: Commenting out OnPlayerGive/TakeDamage callbacks stops the problem.
Reply


Messages In This Thread
OnPlayerGiveDamage - by Infamous - 11.12.2011, 07:46
Re: OnPlayerGiveDamage - by wildcookie007 - 11.12.2011, 08:02
Re: OnPlayerGiveDamage - by Infamous - 11.12.2011, 08:41
Re: OnPlayerGiveDamage - by MadeMan - 11.12.2011, 10:02
Re: OnPlayerGiveDamage - by Infamous - 11.12.2011, 15:05
Re: OnPlayerGiveDamage - by Infamous - 13.12.2011, 19:48
Re: OnPlayerGiveDamage - by Memoryz - 13.12.2011, 19:52
Re: OnPlayerGiveDamage - by Infamous - 13.12.2011, 19:59
Re: OnPlayerGiveDamage - by Rob_Maate - 13.12.2011, 20:35
Re: OnPlayerGiveDamage - by cessil - 13.12.2011, 21:56

Forum Jump:


Users browsing this thread: 2 Guest(s)