Infinate run - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Infinate run (
/showthread.php?tid=206404)
Infinate run -
Rokzlive - 03.01.2011
How do i give infinate run to a player?
Like
pawn Код:
if(skin == 0)
{
//infinate run stuff here
}
Re: Infinate run -
Retardedwolf - 03.01.2011
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.
Re: Infinate run -
Rokzlive - 03.01.2011
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.
Re: Infinate run -
Rokzlive - 03.01.2011
Can anyone do this?
Re: Infinate run -
John_F - 03.01.2011
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.
Re: Infinate run -
Retardedwolf - 03.01.2011
The zombie servers use an animation when you press spacebar.
Re: Infinate run -
[NWA]Hannes - 03.01.2011
ApplyAnimation(playerid,"PED","sprint_civi",4.0,1, 1,1,1,1);
Try experimenting with speed param (4.0)