22.11.2017, 18:21
Hello, I made Interior Exit/Enter for Gangs,And its defined as if player press "F" or "Enter"..
Now, I go on server, and it doesn't want to enter / exit in interior, none of above...
Now, I go on server, and it doesn't want to enter / exit in interior, none of above...
Код:
if(IsPlayerInRangeOfPoint(playerid,3.0,-2172.4609,679.8906,55.1614)) // ENTER YG Int { SetPlayerPos(playerid,93.5735,643.0516,1392.0549); //Gotovo SetCameraBehindPlayer(playerid); SetPlayerFacingAngle(playerid,180); TogglePlayerControllable(playerid,0); GameTextForPlayer(playerid," ~w~YG",3000,6); SetTimerEx("Unfreeze",1200,false,"i",playerid); } if(IsPlayerInRangeOfPoint(playerid,3.0,93.5735,643.0516,1392.0549)) // EXIT iz YG Int { SetPlayerPos(playerid,-2172.4609,679.8906,55.1614); //Gotovo SetCameraBehindPlayer(playerid); SetPlayerFacingAngle(playerid,180); TogglePlayerControllable(playerid,0); GameTextForPlayer(playerid," ~w~Grad",3000,6); SetTimerEx("Unfreeze",1200,false,"i",playerid); }