[HELP]: Actor Animation -
Profeta22 - 01.02.2016
Hello friends I have a question , nose and put it when buying the gun the bot that is close do the animation to sell, and try
Code:
ApplyActorAnimation ( MyActor , "dealer ", " shop_pay " 4.1, 0 , 0, 0 , 0, 0 ) ;
but to put that all players make that animation and I just want you to do that is close to my
sorry for my bad English and I hope and can help me thanks
Re: [HELP]: Actor Animation - Phar - 01.02.2016
What?
Respuesta: [HELP]: Actor Animation -
Profeta22 - 01.02.2016
my problem is that I want only an actor that is near my position do an animation but only the actor who is near, because I have several actors
Re: [HELP]: Actor Animation - Phar - 01.02.2016
Quote:
if(IsPlayerInRangeOfPoint(playerid, x y z))
{
ApplyActorAnimation ( MyActor , "dealer ", " shop_pay " 4.1, 0 , 0, 0 , 0, 0 ) ;
}
return 1;
}
|
replace x,y,z with your co.
tell me if if works,cause i still dont understand what your saying if its a command u want i could do it for for
Respuesta: [HELP]: Actor Animation -
Profeta22 - 01.02.2016
ok thanks , but now the actor repeats the animation always
Re: Respuesta: [HELP]: Actor Animation - Phar - 01.02.2016
Quote:
Originally Posted by Profeta22
ok thanks , but now the actor repeats the animation always
|
Hm
Quote:
ApplyActorAnimation ( MyActor , "dealer ", " shop_pay ", 4.1, 0 , 0, 0, 0 , 0, 0 );
|
Try This.
Respuesta: Re: Respuesta: [HELP]: Actor Animation -
Profeta22 - 01.02.2016
warning 202: number of arguments does not match definition
Re: [HELP]: Actor Animation - Phar - 01.02.2016
Quote:
ApplyAnimation(playerid, "DEALER","shop_pay", 4.1, 0 , 0, 0, 0 , 0, 0 );
|
This should work.
Re: [HELP]: Actor Animation -
KillerDVX - 01.02.2016
Quote:
Originally Posted by Phar
This should work.
|
Applying an animation on your "playerid" would work for an actor ? Okey..
Quote:
warning 202: number of arguments does not match definition
|
PHP Code:
ApplyActorAnimation(youractorname, "DEALER", "shop_pay", 4.1, 0, 0, 0, 0, 0);
Copy the animations like it is, because in Pawn, the capital letters are counted as well.
Here you go a list of it :
https://sampwiki.blast.hk/wiki/Animations
For more about "ApplyActorAnimation",
https://sampwiki.blast.hk/wiki/ApplyActorAnimation
Respuesta: Re: [HELP]: Actor Animation -
Profeta22 - 02.02.2016
Quote:
Originally Posted by KillerDVX
Applying an animation on your "playerid" would work for an actor ? Okey..
PHP Code:
ApplyActorAnimation(youractorname, "DEALER", "shop_pay", 4.1, 0, 0, 0, 0, 0);
Copy the animations like it is, because in Pawn, the capital letters are counted as well.
Here you go a list of it : https://sampwiki.blast.hk/wiki/Animations
For more about "ApplyActorAnimation",
https://sampwiki.blast.hk/wiki/ApplyActorAnimation
|
When the actor runs the animation gives me crash