Anti Knifebugging without OnPlayerUpdate
#1

Hello, this is my code i have on OnPlayerUpdate, but how to make something, that it works, WITHOUT OnPlayerUpdate? 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

Forum Jump:


Users browsing this thread: 1 Guest(s)