07.03.2015, 13:25
Line 2901: if(IsPlayerInRangeOfPoint(playerid, 20, 2476.5989,-1655.3254,13.3279,103.7772))//Checking if the player in the range of the gate
Change to
Line 2910:if(IsPlayerInRangeOfPoint(playerid, 20, 2446.9636,-1661.8767,13.3047,271.1472))//Checking if the player in the range of the gate
Change to :
IsPlayerInRangeOfPoint(playerid, Float:range, Float, Float:y, Float:z)
You must use Float for "range" parameter
Change to
Код:
if(IsPlayerInRangeOfPoint(playerid, 20.00, 2476.5989,-1655.3254,13.3279,103.7772))//Checking if the player in the range of the gate
Change to :
Код:
if(IsPlayerInRangeOfPoint(playerid, 20.00, 2446.9636,-1661.8767,13.3047,271.1472))//Checking if the player in the range of the gate
You must use Float for "range" parameter