Infinate run
#1

How do i give infinate run to a player?
Like
pawn Код:
if(skin == 0)
    {
        //infinate run stuff here
    }
Reply
#2

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.
Reply
#3

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.
Reply
#4

Can anyone do this?
Reply
#5

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.
Reply
#6

The zombie servers use an animation when you press spacebar.
Reply
#7

ApplyAnimation(playerid,"PED","sprint_civi",4.0,1, 1,1,1,1);

Try experimenting with speed param (4.0)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)