Error Pawno
#3

Change to:
pawn Код:
public IsAtLicenseplace(playerid)
{
    return (IsPlayerInRangeOfPoint(playerid, /* RANGE_HERE */, 362.4653, 173.7711, 1008.3828)
}
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:
pawn Код:
IsPlayerInRangeOfPoint(range,playerid,x,y,z)
to:
pawn Код:
IsPlayerInRangeOfPoint(playerid,range,x,y,z)
An example of your code which is wrong:
pawn Код:
IsPlayerInRangeOfPoint(25.0,playerid,207.737991,-109.019996,1005.132812)
to:
pawn Код:
IsPlayerInRangeOfPoint(playerid,25.0,207.737991,-109.019996,1005.132812)
About the rest post the exact lines.
Reply


Messages In This Thread
Error Pawno - by DarkWolfff - 24.03.2014, 18:21
Re: Error Pawno - by Equuuuin0X - 24.03.2014, 19:02
Re: Error Pawno - by Konstantinos - 24.03.2014, 19:15
Re: Error Pawno - by Emmet_ - 24.03.2014, 20:43

Forum Jump:


Users browsing this thread: 1 Guest(s)