Posts: 1,466
Threads: 7
Joined: Jun 2009
Reputation:
0
Infinite run? I don't think thats kinda possible because usually in SAMP I could run far enough and not get tired unless you're making a marathon or something.
Posts: 577
Threads: 199
Joined: Aug 2010
Reputation:
0
Im making a zombie gm and i want the zombies to be able to run as long as they want but humans not. Ive seen it on other zombie servers.
Posts: 244
Threads: 2
Joined: Jul 2010
Reputation:
0
How about:
Create a timer
Increase the timer for every second the player is pressing and holding the space bar or tapping the spacebar.
Once the timer gets too high, set the players animation to the tired one then lower the timer.
^IDK if this will work, never tested/never attempted, just a theory.
Posts: 1,466
Threads: 7
Joined: Jun 2009
Reputation:
0
The zombie servers use an animation when you press spacebar.
Posts: 341
Threads: 59
Joined: Jul 2010
Reputation:
0
ApplyAnimation(playerid,"PED","sprint_civi",4.0,1, 1,1,1,1);
Try experimenting with speed param (4.0)