Anti Knifebugging without OnPlayerUpdate
#3

I maked in other thing and it works now, but how to make now this without OnPlayerUpdate because when i try it with forward it says undefined symbol Map:

Код:
        new Float:hp;
	GetPlayerHealth(playerid,hp);
    if(hp <= 1.0) return SetPlayerHealth(playerid,-1.0);

    if(IsSpecing[playerid] == 0)
	{
	if(Map[AllowWater] == 0)
	{
    	if(IsPlayerInWater(playerid))
		{
			SetPlayerHealth(playerid,0.0);
			SendClientMessage(playerid,-1,""chat""COL_WHITE" You died because you touched the water.");
		}
		}
		}
Reply


Messages In This Thread
Using this without OnPlayerUpdate - by Blackazur - 13.07.2013, 00:42
Re: Anti Knifebugging without OnPlayerUpdate - by ToiletDuck - 13.07.2013, 00:54
AW: Anti Knifebugging without OnPlayerUpdate - by Blackazur - 13.07.2013, 00:55
Re: Anti Knifebugging without OnPlayerUpdate - by ToiletDuck - 13.07.2013, 00:58
AW: Anti Knifebugging without OnPlayerUpdate - by BigETI - 13.07.2013, 01:00
AW: Anti Knifebugging without OnPlayerUpdate - by Blackazur - 13.07.2013, 01:02
AW: Anti Knifebugging without OnPlayerUpdate - by BigETI - 13.07.2013, 01:07
AW: Anti Knifebugging without OnPlayerUpdate - by Blackazur - 13.07.2013, 01:11

Forum Jump:


Users browsing this thread: 1 Guest(s)