ANIMACTION
Biggest Troll
Here is a script that i have been given by XBLToothPik he used it to teach me but i can't understand stacks so... hope someone finds this useful
Those who are trying to learn scripting in GTA 5 its all in assembly so just take note if you plane on making menu's expect 10k+ lines of code since it is a low level language.
#### CONTROL NUMBER####
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This above is in the code so that you can assign the script to a button to display Hello World
Credits to NGU for the Thread
Those who are trying to learn scripting in GTA 5 its all in assembly so just take note if you plane on making menu's expect 10k+ lines of code since it is a low level language.
#### CONTROL NUMBER####
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This above is in the code so that you can assign the script to a button to display Hello World
Code:
:EnterScript
Function 1 0 2
Call @FirstFunction
Return 0 0
:FirstFunction
Function 1 0 2
:MainLoop
iPush_0
Push ##CONTROL NUMBER##
CallNative "IS_DISABLED_CONTROL_PRESSED" 2 1
JumpFalse @FirstFunction_GotoLoop
PushString "Hello World!"
fPush 0.5
fPush 0.5
Call @DISPLAY_TEXT
:FirstFunction_GotoLoop
iPush_0
CallNative wait 1 0
Return 0 0
:DISPLAY_TEXT
Function 8 3 2
PushString "STRING"
CallNative unk_0x3E35563E 1 0
getF 0
CallNative unk_0x27A244D8 1 0
getF 1
getF 2
CallNative unk_0x6F8350CE 2 0
Return 3 0
Credits to NGU for the Thread
Last edited: