13.12.2011, 19:59
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:
Note: Commenting out OnPlayerGive/TakeDamage callbacks stops the problem.
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;
}
}
}