Actor
#3

Quote:
Originally Posted by victory88
Посмотреть сообщение
PHP код:
stock IsPlayerInRangeOfActor(playeridactoridFloat:radius 5.0
IsPlayerInRangeOfActor requires three arguments, playerid, actorid and the radius in a float value.


PHP код:
if (IsPlayerInRangeOfActor(playeridBoxer))
{
 
ShowPlayerFooter(playerid"Hi!"5000);

When you check the actor range you do not provide a the third argument, range. e.g (playerid, Boxer, 13.0)
You are wrong, by using Float:radius = 5.0, he is setting a default value to 5.0, it means if he dont enter a specific radius, it will be 5.0
Reply


Messages In This Thread
Actor - by KinderClans - 27.08.2018, 13:13
Re: Actor - by victory88 - 31.08.2018, 00:08
Re: Actor - by Shinja - 31.08.2018, 00:11
Re: Actor - by victory88 - 31.08.2018, 00:13
Re: Actor - by SapMan - 31.08.2018, 02:45
Re: Actor - by Dayrion - 31.08.2018, 12:48
Re: Actor - by KinderClans - 31.08.2018, 13:00
Re: Actor - by Dayrion - 31.08.2018, 15:03
Re: Actor - by KinderClans - 31.08.2018, 16:08
Re: Actor - by Dayrion - 31.08.2018, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)