Bug with actors
#3

Quote:
Originally Posted by IstuntmanI
Посмотреть сообщение
You made a moon-walking actor, congratulations !

https://sampwiki.blast.hk/wiki/ApplyAnimation
Try setting lockx, locky, freeze to 0, or just freeze to 0, or just lockx and locky to 0. Play around with the parameters. (if not, it may be from the animation and you should try another one)
I've changed some parameters. Now it looks like that:
[ame="http://www.youtube.com/watch?v=2qlqVj6y_F0"]http://www.youtube.com/watch?v=2qlqVj6y_F0[/ame]

So:
PHP код:
new animAndSpeed[2][animData] = {
        {
"WALK_civi",1.5357},
        {
"RUN_civi",3.7}
};
public 
CreateActor(playeridanimation)
{
  new 
actorid;
  new 
Float:xFloat:yFloat:z;
  
GetPlayerPos(playeridxyz);
  
actorid CreateActor(189x+1y+1z0);
  
ApplyActorAnimation(actorid"ped"animAndSpeed[0][animation], 4.110010);

And so:
PHP код:
new animAndSpeed[2][animData] = {
        {
"WALK_civi",1.5357},
        {
"RUN_civi",3.7}
};
public 
CreateActor(playeridanimation)
{
  new 
actorid;
  new 
Float:xFloat:yFloat:z;
  
GetPlayerPos(playeridxyz);
  
actorid CreateActor(189x+1y+1z0);
  
ApplyActorAnimation(actorid"ped"animAndSpeed[0][animation], 4.110000);

Reply


Messages In This Thread
Bug with actors - by Bombo - 15.12.2015, 10:18
Re: Bug with actors - by IstuntmanI - 15.12.2015, 11:53
Re: Bug with actors - by Bombo - 15.12.2015, 13:15
Re: Bug with actors - by IllidanS4 - 15.12.2015, 13:32
Re: Bug with actors - by Bombo - 15.12.2015, 14:31
Re: Bug with actors - by IstuntmanI - 15.12.2015, 14:36
Re: Bug with actors - by cdoubleoper - 16.12.2015, 04:24
Respuesta: Bug with actors - by Whyd - 29.12.2015, 11:06
Re: Respuesta: Bug with actors - by Darkwood17 - 29.12.2015, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)