21.03.2016, 14:28
Post your command and replace this code.
Код:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 279.0367,1838.1794,17.6481)) { ApplyAnimation(playerid, "BEACH", "Lay_Bac_Loop", 4.1, 1, 0, 0, 0, 60000, 1); SendClientMessage(playerid, COLOR_YELLOW, "You are sleeping now"); } else return SendClientMessage(playerid, COLOR_ORANGE, "You must be in the middle of your cell in order to get into the sleep.");