13.07.2013, 00:42
(
Последний раз редактировалось Blackazur; 13.07.2013 в 01:12.
)
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."); } } }