warning help
#2

The warning is pretty straightforward, is not it?
Quote:

number of arguments does not match definition

The arguments you must to pass the function is what the function's header tells you to:
PHP код:
IsPlayerInRangeOfActor(playeridactoridFloat:radius 3.0
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.
Reply


Messages In This Thread
warning help - by JuzDoiT - 10.05.2017, 10:28
Re: warning help - by Toroi - 10.05.2017, 10:37
Re: warning help - by JuzDoiT - 10.05.2017, 10:38

Forum Jump:


Users browsing this thread: 1 Guest(s)