SA-MP Forums Archive
Pill Pickup - 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: Pill Pickup (/showthread.php?tid=127621)



Pill Pickup - TheArchitect - 14.02.2010


I am wondering if there is a special action for the pill pickup.

Код:
CreatePickup(1241, 3, x+1, y+1, z); // slow motion
As you can see im just spawning a pickup in the direction he is heading to give them the effect of "slow motion"

Is there a way to script the effect other than using a pickup? Ive searched but its not looking good... lol.

Any help or info would be appreciated, thanks.


Re: Pill Pickup - [HiC]TheKiller - 14.02.2010

Well, you cant really, you may be able to slow down the players walking speed with SetPlayerVelocity.


Re: Pill Pickup - TheArchitect - 23.02.2010

Damn, hopefully it can be added as a function. Its very cool and useful for my server.


Re: Pill Pickup - bajskorv123 - 23.02.2010

This is the closest you can get to make a pill for yourself
pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreatePickup(1241, 4, x, y, z);
Or for others
pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreatePickup(1241, 4, x+2, y, z);



Re: Pill Pickup - TheArchitect - 27.02.2010

Thanks but I already got that... lol. Plus that wont work, you must spawn ahead of the player as they are usually running before you spawn it.


The new problem is now the pill does not slow you down, wtf ?!? it used too ! tested with playerclock on and off but now it makes you run fast like an animation wtf ?!?!?


Re: Pill Pickup - TheArchitect - 28.02.2010

bump ! anyone else notice this?


Re: Pill Pickup - dice7 - 28.02.2010

in 0.3 it makes everyone go faster and you at normal speed. in 0.2x it made you slow


Re: Pill Pickup - TheArchitect - 07.03.2010

So theres no way to make it go slow again right?


Re: Pill Pickup - Las Venturas CNR - 07.03.2010

Quote:
Originally Posted by TheArchitect
So theres no way to make it go slow again right?
I myself don't think so. I haven't seen a slow one in v0.3a so far.


Re: Pill Pickup - bajskorv123 - 07.03.2010

Lol in single player if you type "MUNASEF" it will get slow...

I think i got slow in 0.3 when picking up a pill but i dont remember how i did exactly...