10.05.2017, 10:37
The warning is pretty straightforward, is not it?
The arguments you must to pass the function is what the function's header tells you to:
If what you want to do is to check if the player is near one or more actors, add an 'or' ( || ) separator in that conditional statement and add as many IsPlayerInRangeOfActor functions as you want, complying with the required arguments.
I can't give you an example because the function itself is pretty straightforward, as i said before.
Quote:
number of arguments does not match definition |
PHP код:
IsPlayerInRangeOfActor(playerid, actorid, Float:radius = 3.0)
I can't give you an example because the function itself is pretty straightforward, as i said before.