[Help] Player's Animation
#1

Hi , i'm asking myself a lot of times , can we change the player's speed (or called Cj animation) ?
will it be like speed hack ?
- If we can change it , sould i put it under Public OnplayerKey.. ?

Thank you.
Reply
#2

Yeah you should , and yes it is possible , and I am working on something like this.. you should set the anim "sprint_civi" from the animlib "PED" or something like that , example:

pawn Код:
ApplyAnimation(playerid,"PED","sprint_civi",5,1,1,1,1,1);
But you should put it at OnPlayerkeystatechange..
Reply
#3

Thanks I really need a script like this one , not to copy , but understand how it happens...
Reply
#4

Quote:
Originally Posted by zombieking
Посмотреть сообщение
pawn Код:
ApplyAnimation(playerid,"PED","sprint_civi",5,1,1,1,1,1);
What animation is this?
Reply
#5

Quote:
Originally Posted by zombieking
Посмотреть сообщение
Yeah you should , and yes it is possible , and I am working on something like this.. you should set the anim "sprint_civi" from the animlib "PED" or something like that , example:

pawn Код:
ApplyAnimation(playerid,"PED","sprint_civi",5,1,1,1,1,1);
But you should put it at OnPlayerkeystatechange..
hmm... witch key should i to use ? KEY_SPACE ?
Reply
#6

KEY_SPRINT

@[NWA]Hannes : "sprint_civi" from animlib "PED" is CJ Run animation.
Reply
#7

Wouldn't it just be easier to enable CJ running instead of having an animation?

You can enable CJ running by putting
pawn Код:
UsePlayerPedAnims();
under "public OnGameModeInit()"
Reply
#8

So i just have to choose one the two choices? :
Puting ApplyAnimation(playerid,"PED","sprint_civi",5,1,1, 1,1,1);
or UsePlayerPedAnims(); ?
Reply
#9

UsePlayerPedAnims will enable it FOR ALL THE PLAYERS. I meant to apply it to specific players.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)