PDA

View Full Version : Walking By Default


Ahura
26/06/2019, 10:01 AM
Hi guys.

i want to use player walk without using W+ALT;

not an animation!!!!!

walking by default!

just like GTA IV , GTA5 or etc...

and when i hold Space Key, character runs!

sorry for my bad eng...

khRamin78
26/06/2019, 12:08 PM
there is no function like that but you can do something like this!
in a timer or onplayerupdate! idk
Check if the player is using Any Key > UP-DOWN-LEFT-RIGHT
and the player is on the foot(not in the vehicle)
and do this
ApplyAnimation(playerid,"PED","WALK_player",4.1,1,1,1,1,1);
and whenever it is a player Holding space key!
just don't call that apply animation ! so it will be samp default run!

Lookin
28/06/2019, 04:12 PM
@khRamin78 i agree this is similar to what i would do in this instance