[Help] Player's Animation -
Saw® - 21.06.2012
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.
Re: [Help] Player's Animation -
zombieking - 21.06.2012
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..
Re: [Help] Player's Animation -
Saw® - 21.06.2012
Thanks
![Wink](images/smilies/wink.png)
I really need a script like this one , not to copy , but understand how it happens...
Re: [Help] Player's Animation -
[NWA]Hannes - 21.06.2012
Quote:
Originally Posted by zombieking
pawn Код:
ApplyAnimation(playerid,"PED","sprint_civi",5,1,1,1,1,1);
|
What animation is this?
Re: [Help] Player's Animation -
Saw® - 21.06.2012
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 ?
Re: [Help] Player's Animation -
zombieking - 21.06.2012
KEY_SPRINT
@[NWA]Hannes : "sprint_civi" from animlib "PED" is CJ Run animation.
Re: [Help] Player's Animation -
[NWA]Hannes - 21.06.2012
Wouldn't it just be easier to enable CJ running instead of having an animation?
You can enable CJ running by putting
under "
public OnGameModeInit()"
Re: [Help] Player's Animation -
Saw® - 21.06.2012
So i just have to choose one the two choices? :
Puting ApplyAnimation(playerid,"PED","sprint_civi",5,1,1, 1,1,1);
or UsePlayerPedAnims(); ?
Respuesta: [Help] Player's Animation -
zombieking - 21.06.2012
UsePlayerPedAnims will enable it FOR ALL THE PLAYERS. I meant to apply it to specific players.