ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2383

Super Run and swim in Asm

by Torxi - 07-09-2020 - 09:12 AM
#1
Code:
PushString "Super Run/Swim"
StaticGet 1
Push1 4
CallNative "IS_BIT_SET" 2 1
push_1
Call @AddBoolOption_


[4=@SelfOptionsFasterRun_]

:SelfOptionsFasterRun_
StaticGet 1
Push1 4
CallNative "IS_BIT_SET" 2 1
JumpFalse @TurnOnFasterRun_
pStatic 1
Push1 4
CallNative "CLEAR_BIT" 2 0
CallNative "PLAYER_ID" 0 1
fPush_1.0
CallNative "SET_RUN_SPRINT_MULTIPLIER_FOR_PLAYER" 2 0
CallNative "PLAYER_ID" 0 1
fPush_1.0
CallNative "SET_SWIM_MULTIPLIER_FOR_PLAYER" 2 0
Jump @SelfOptionsReturn_
:TurnOnFasterRun_
pStatic 1
Push1 4
CallNative "SET_BIT" 2 0
Jump @SelfOptionsReturn_
Reply

Users browsing: 1 Guest(s)