Problem with OnPlayerGiveDamage
#6

PHP код:
          if(PlayerInfo[damagedid][pFreezeTime] != 0)
        {
            
SendClientMessage(playerid, -1"This player is frozen, you can't shoot him.");
            
SetPlayerHealth(damagedid, (GetPlayerHealth(damagedid) + amount) );
            return 
0;
        } 
I think this would work.
Reply


Messages In This Thread
Problem with OnPlayerGiveDamage - by None1337 - 02.09.2017, 21:31
Re: Problem with OnPlayerGiveDamage - by Jefff - 02.09.2017, 21:54
Re: Problem with OnPlayerGiveDamage - by RedGun2015 - 03.09.2017, 00:48
Re: Problem with OnPlayerGiveDamage - by Astralis - 03.09.2017, 01:51
Re: Problem with OnPlayerGiveDamage - by None1337 - 03.09.2017, 10:53
Re: Problem with OnPlayerGiveDamage - by 10MIN - 03.09.2017, 10:57
Re: Problem with OnPlayerGiveDamage - by UberEverywhere - 03.09.2017, 11:06
Re: Problem with OnPlayerGiveDamage - by kAn3 - 03.09.2017, 14:05

Forum Jump:


Users browsing this thread: 1 Guest(s)