Is there any possible way.. - 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: Is there any possible way.. (
/showthread.php?tid=275992)
Is there any possible way.. -
Jmarr - 11.08.2011
Hello all,
Is there any possible way that I could make someone speed up when they run? Like make them run 2x faster? I'm trying to make it so that administrators can run really fast, not sure if it's possible, probably not.
Eh, just a thought.
Re: Is there any possible way.. -
sleepysnowflake - 11.08.2011
PLay with the SetPlayerVelocity
Re: Is there any possible way.. -
Jmarr - 12.08.2011
I don't think that'd work, that only works for a specific direction, I want them to maintain the same smooth speed in all directions even when they turn a corner etc.
Thanks for your help anyway!
Re: Is there any possible way.. -
Donya - 12.08.2011
use an Adrenaline Pill, create the pickup on the player he will pick it up and he will run faster
Re: Is there any possible way.. -
Jmarr - 12.08.2011
How would I create one of those?
Re: Is there any possible way.. -
Calgon - 12.08.2011
https://sampwiki.blast.hk/wiki/PickupGuide
https://sampwiki.blast.hk/wiki/Pickup_help
Re: Is there any possible way.. -
Jmarr - 12.08.2011
Yeah, I got that part. But on the part where it says OnPlayerPickUpPickup I don't know what to do, SetPlayerAdrenaline? It doesn't exist.
Re: Is there any possible way.. -
Calgon - 12.08.2011
No, the adrenaline pill automatically has an effect on the player.
Re: Is there any possible way.. -
sleepysnowflake - 12.08.2011
You could get player pos and create the picukp in his location.
Re: Is there any possible way.. -
Jmarr - 12.08.2011
I've got;
pickup = CreatePickup(1241, 23, 1759.0189,-1895.1260,13.5622,-1);
But when I walk over it nothing happens.