help - create a adrenaline pickup
#6

It is not impossible, I made that for drug "Speed", look at these sections GetPlayerVelocity and SetPlayerVelocity . Little help, in function OnPlayerUpdate you check is player on adrenaline, if so, than, getplayervelocity, and setplayervelocity + e.g 0.3, but you need to be careful, and check for max velocity and if it reached limit than dont setplayervelocity + 0.3, because if you run too fast player will die.
Reply


Messages In This Thread
help - create a adrenaline pickup - by tomsalmon - 28.06.2013, 07:44
Re: help - create a adrenaline pickup - by CLT - 28.06.2013, 07:59
Re: help - create a adrenaline pickup - by tomsalmon - 28.06.2013, 08:14
Re: help - create a adrenaline pickup - by CLT - 28.06.2013, 08:18
Re: help - create a adrenaline pickup - by [..MonTaNa..] - 28.06.2013, 08:24
Re: help - create a adrenaline pickup - by CoaPsyFactor - 28.06.2013, 08:42

Forum Jump:


Users browsing this thread: 1 Guest(s)