IfPlayerIsInRangeOfPoint problem.
#1

So I've changed a couple of positions, but I can't change the isplayerinrangeofpoint, it comes up with a warning, here is my code:
Код:
 if(!IsPlayerInRangeOfPoint(playerid, 7.0, 2043.1835, -1823.0391, -29.5436,44.9011))
and the warning:
Код:
(617) : warning 202: number of arguments does not match definition
Reply
#2

The warning says itself. The argument "isPlayerInRangeOfPoint" is not written as it should be
Your function is using 6 Arguments but the definition of this is 5 argument's.. So you need to delete the fifth text "44.9011"
So it should look like this:
Код:
if(!IsPlayerInRangeOfPoint(playerid, 7.0, 2043.1835, -1823.0391, -29.5436))
so skip the 6th argument "44.9011"
Reply
#3

Ah, thanks.
Reply
#4

No prob!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)