26.01.2011, 20:19
so what's thй problйm for mй this what i put & nothing
Код:
stock IsPlayerInWater(playerid) { new animlib[32], animname[32]; GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32); if(strcmp(animlib, "SWIM", true) == 0) { if(team[playerid] == 2) return 1; if(team[playerid] == 6) return 1; SetPlayerDrunkLevel (playerid, 400) GameTextForPlayer(playerid, "~r~ Water is infected ", 3000, 4); } }