24.03.2014, 19:15
Change to:
Replace the text "/* RANGE_HERE */" with the range you want. An example: 30.0
At the lines 4770 - 4874, you have used "range, playerid" and it should be the opposite "playerid, range".
So change any line like that:
to:
An example of your code which is wrong:
to:
About the rest post the exact lines.
pawn Код:
public IsAtLicenseplace(playerid)
{
return (IsPlayerInRangeOfPoint(playerid, /* RANGE_HERE */, 362.4653, 173.7711, 1008.3828)
}
At the lines 4770 - 4874, you have used "range, playerid" and it should be the opposite "playerid, range".
So change any line like that:
pawn Код:
IsPlayerInRangeOfPoint(range,playerid,x,y,z)
pawn Код:
IsPlayerInRangeOfPoint(playerid,range,x,y,z)
pawn Код:
IsPlayerInRangeOfPoint(25.0,playerid,207.737991,-109.019996,1005.132812)
pawn Код:
IsPlayerInRangeOfPoint(playerid,25.0,207.737991,-109.019996,1005.132812)