Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (86,008 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Sign in to follow this  
yar_yaroslav

script for cleaning windows platform

Recommended Posts

yar_yaroslav

Hi everyone

I think not only me, will be interested to look into the script window cleaning platform or elevator, but how it works?
How to make Script to same own window cleaning platform?

  • It is found in the missions:





  • The name of the object (model):

cj_window_cradle
cj_win_crad_winch
cj_win_cable
dm_wincable1
dm_wincable1

fcUei.jpg


Wjw5H.jpg

dVjyI.jpg

xftcu.jpg

  • The question is how the script works with object (model) when Niko becomes the platform once the script is activated, and then a prompt by pressing the arrow keys to move, and so on, how does it work?
  • Found files txt (attached to the report), Native functions, respectively, to the missions:
    (Manual how to find Native functions take here http://gtaxscripting.blogspot.com/2014/02/tut-finding-native-functions-usage-and.html )

1) Francis McReary -

francis5.txt https://drive.google.com/open?id=0B_16WDYz6eJpcndEOTh6QTROWlk

window_lift_launcher.txt https://drive.google.com/open?id=0B_16WDYz6eJpOVZkQmxiWDJhRkU


SCO ToolBox show: window_lift_launcher.sco

 

 

FnBegin 0 2

PushD 0
PushD 4
LocalVar
RefSet
PushD 0
PushD 7
LocalVar
RefSet
PushD 0
PushD 9
LocalVar
RefSet
PushD 0
PushD 10
LocalVar
RefSet
PushD 0
PushD 11
LocalVar
RefSet
PushD 0
PushD 12
LocalVar
RefSet
PushS 45
ToF
PushD 14
LocalVar
RefSet
PushF 0
PushD 15
LocalVar
RefSet
PushF 3
NegF
PushD 16
LocalVar
RefSet
PushF 3
NegF
PushD 17
LocalVar
RefSet
PushF 0
PushD 18
LocalVar
RefSet
PushF 0
PushD 19
LocalVar
RefSet
PushF 0,2
PushD 20
LocalVar
RefSet
PushS -45
ToF
PushD 21
LocalVar
RefSet
PushS 45
ToF
PushD 22
LocalVar
RefSet
PushD 0
PushD 23
LocalVar
RefSet
PushF 0
PushD 24
LocalVar
RefSet
PushF 0
PushD 28
LocalVar
RefSet
PushF 0,35
PushD 29
LocalVar
RefSet
PushF 7,5
PushD 30
LocalVar
RefSet
PushF 7,5
NegF
PushD 31
LocalVar
RefSet
PushD 0
PushS 59
LocalVar
RefSet
PushD 0
PushS 60
LocalVar
RefSet
PushD 0
PushS 61
LocalVar
RefSet
PushD 0
PushS 62
LocalVar
RefSet
PushD 0
PushS 63
LocalVar
RefSet
PushD 0
PushS 64
LocalVar
RefSet
PushF 0
PushS 65
LocalVar
RefSet
PushD 0
PushS 66
LocalVar
RefSet
PushD 0
PushS 67
LocalVar
RefSet
PushD 1
PushS 68
LocalVar
RefSet
PushD 0
PushS 69
LocalVar
RefSet
PushF 2,2
PushS 70
LocalVar
RefSet
PushD 0
PushS 71
LocalVar
RefSet
PushD 0
PushS 72
LocalVar
RefSet
PushD 0
PushS 74
LocalVar
RefSet
PushD 0
PushS 75
LocalVar
RefSet
PushD 0
PushS 80
LocalVar
RefSet
PushD 1
PushS 81
LocalVar
RefSet
PushD 0
PushS 82
LocalVar
RefSet
PushD -1
PushS 87
LocalVar
RefSet
PushString "CRADLE_LOOP"
PushS 88
LocalVar
RefSet
PushD 2
PushS 117
LocalVar
RefSet
PushD 0
PushS 124
LocalVar
RefSet
PushD 0
PushS 134
LocalVar
RefSet
PushD 0
PushS 135
LocalVar
RefSet
PushD 0
PushS 137
LocalVar
RefSet
PushD 0
PushS 138
LocalVar
RefSet
PushD 0
PushS 139
LocalVar
RefSet
PushF 0,5
NegF
PushF 0
PushF 0,29
PushD 3
PushS 140
LocalVar
ArrayImplode
PushF 0,5
PushF 0
PushF 0,29
PushD 3
PushS 143
LocalVar
ArrayImplode
PushD 3
PushS 146
LocalVar
RefSet
PushD 0
PushS 147
LocalVar
RefSet
PushD 0
PushS 148
LocalVar
RefSet
PushD 0
PushS 149
LocalVar
RefSet
PushD 0
PushS 150
LocalVar
RefSet
PushD 0
PushS 166
LocalVar
RefSet
PushS 167
LocalVar
RefGet
PushS 151
LocalVar
RefSet
CallNative HAS_DEATHARREST_EXECUTED 0 1
JumpFalse @Label1
Jump @Label2

:Label3
FnBegin 0 2
CallNative TERMINATE_THIS_SCRIPT 0 0
FnEnd 0 0

:Label2
Call @Label3

:Label1
Jump @Label4

:Label5
FnBegin 0 2
PushString "TEST WIDGET"
CallNative CREATE_WIDGET_GROUP 1 1
Pop
PushString "initial_angle"
PushD 14
LocalVar
PushS -1000
ToF
PushS 1000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "intial_z_angle"
PushD 15
LocalVar
PushS -1000
ToF
PushS 1000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "y_vector"
PushD 16
LocalVar
PushS -1000
ToF
PushS 1000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "x_vector"
PushD 17
LocalVar
PushS -1000
ToF
PushS 1000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "z1_vector"
PushD 18
LocalVar
PushS -1000
ToF
PushS 1000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "z1_vector"
PushD 18
LocalVar
PushS -1000
ToF
PushS 1000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "z2_vector"
PushD 19
LocalVar
PushS -1000
ToF
PushS 1000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "z2_vector"
PushD 19
LocalVar
PushS -1000
ToF
PushS 1000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "MIN_z_aNGLE"
PushD 21
LocalVar
PushS -1000
ToF
PushS 1000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "MAX_z_ANGLE"
PushD 22
LocalVar
PushS -1000
ToF
PushS 1000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "test_Coord.x"
PushS 162
LocalVar
PushD 0
Add
PushS -2000
ToF
PushS 2000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "test_Coord.y"
PushS 162
LocalVar
PushD 4
Add
PushS -2000
ToF
PushS 2000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "test_Coord.z"
PushS 162
LocalVar
PushD 8
Add
PushS -2000
ToF
PushS 2000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "OBJECT_HEADING"
PushS 165
LocalVar
PushS -2000
ToF
PushS 2000
ToF
PushF 0,1
CallNative ADD_WIDGET_FLOAT_SLIDER 5 1
Pop
PushString "create_cradle"
PushS 166
LocalVar
CallNative ADD_WIDGET_TOGGLE 2 1
Pop
CallNative END_WIDGET_GROUP 0 0
FnEnd 0 0

:Label4
Call @Label5
PushD 0
CallNative REGISTER_SCRIPT_WITH_AUDIO 1 0

:Label232
PushD 1
JumpFalse @Label6
PushD 0
CallNative WAIT 1 0
PushS 150
LocalVar
RefGet
Switch 0:@Label7 1:@Label8 2:@Label9
Jump @Label10

:Label7
Call @Label5
Jump @Label11

:Label14
FnBegin 0 2
PushS 151
LocalVar
RefGet
PushD 1
CmpEq
JumpFalse @Label12
Push 0x4CD5486B
CallNative REQUEST_MODEL 1 0
Push 0x67AB0048
CallNative REQUEST_MODEL 1 0
Push 0x9CF172D4
CallNative REQUEST_MODEL 1 0
Push 0xF569A3C7
CallNative REQUEST_MODEL 1 0

:Label13
Push 0x4CD5486B
CallNative HAS_MODEL_LOADED 1 1
IsZero
Push 0x67AB0048
CallNative HAS_MODEL_LOADED 1 1
IsZero
Or
Push 0xF569A3C7
CallNative HAS_MODEL_LOADED 1 1
IsZero
Or
Push 0x9CF172D4
CallNative HAS_MODEL_LOADED 1 1
IsZero
Or
JumpFalse @Label12
PushD 0
CallNative WAIT 1 0
Jump @Label13

:Label12
FnEnd 0 0

:Label11
Call @Label14
Jump @Label15

:Label17
FnBegin 0 24
PushF 0,2
PushD 23
Var
RefSet
PushS 151
LocalVar
RefGet
PushD 1
CmpEq
JumpFalse @Label16
PushF 39,0348
PushS 160
LocalVar
RefSet
PushF 19,2
PushS 161
LocalVar
RefSet
PushF 81,5691
PushF 373,357
PushD 23
Var
RefGet
AddF
PushS 161
LocalVar
RefGet
PushD 3
Var2
ArrayImplode
PushF 0
PushF 0
PushS 180
ToF
PushD 3
Var5
ArrayImplode
PushF 80,5143
PushF 370,0589
PushD 23
Var
RefGet
AddF
PushF 37,633
PushD 3
PushD 8
Var
ArrayImplode
PushF 82,5567
PushF 370,0589
PushD 23
Var
RefGet
AddF
PushF 37,633
PushD 3
PushD 11
Var
ArrayImplode
PushF 0
PushF 0
PushS 270
ToF
PushD 3
PushD 14
Var
ArrayImplode
PushF 80,5134
PushF 373,2899
PushD 23
Var
RefGet
AddF
PushF 30,1291
PushD 3
PushD 17
Var
ArrayImplode
PushF 82,5556
PushF 373,2899
PushD 23
Var
RefGet
AddF
PushF 30,1291
PushD 3
PushD 20
Var
ArrayImplode

:Label16
Push 0x4CD5486B
Var2
PushD 0
Add
RefGet
Var2
PushD 4
Add
RefGet
Var2
PushD 8
Add
RefGet
PushD 1
PushD 1
PushS 152
LocalVar
ArrayRef
PushD 1
CallNative CREATE_OBJECT_NO_OFFSET 6 0
PushD 1
PushD 1
PushS 152
LocalVar
ArrayRef
RefGet
Var5
PushD 0
Add
RefGet
Var5
PushD 4
Add
RefGet
Var5
PushD 8
Add
RefGet
CallNative SET_OBJECT_ROTATION 4 0
Push 0x67AB0048
PushD 8
Var
PushD 0
Add
RefGet
PushD 8
Var
PushD 4
Add
RefGet
PushD 8
Var
PushD 8
Add
RefGet
PushD 5
PushD 1
PushS 152
LocalVar
ArrayRef
PushD 1
CallNative CREATE_OBJECT_NO_OFFSET 6 0
Push 0x67AB0048
PushD 11
Var
PushD 0
Add
RefGet
PushD 11
Var
PushD 4
Add
RefGet
PushD 11
Var
PushD 8
Add
RefGet
PushD 2
PushD 1
PushS 152
LocalVar
ArrayRef
PushD 1
CallNative CREATE_OBJECT_NO_OFFSET 6 0
PushD 5
PushD 1
PushS 152
LocalVar
ArrayRef
RefGet
PushD 14
Var
PushD 0
Add
RefGet
PushD 14
Var
PushD 4
Add
RefGet
PushD 14
Var
PushD 8
Add
RefGet
CallNative SET_OBJECT_ROTATION 4 0
PushD 2
PushD 1
PushS 152
LocalVar
ArrayRef
RefGet
PushD 14
Var
PushD 0
Add
RefGet
PushD 14
Var
PushD 4
Add
RefGet
PushD 14
Var
PushD 8
Add
RefGet
CallNative SET_OBJECT_ROTATION 4 0
Push 0x9CF172D4
PushD 17
Var
PushD 0
Add
RefGet
PushD 17
Var
PushD 4
Add
RefGet
PushD 17
Var
PushD 8
Add
RefGet
PushD 3
PushD 1
PushS 152
LocalVar
ArrayRef
PushD 1
CallNative CREATE_OBJECT_NO_OFFSET 6 0
Push 0x9CF172D4
PushD 20
Var
PushD 0
Add
RefGet
PushD 20
Var
PushD 4
Add
RefGet
PushD 20
Var
PushD 8
Add
RefGet
PushD 4
PushD 1
PushS 152
LocalVar
ArrayRef
PushD 1
CallNative CREATE_OBJECT_NO_OFFSET 6 0
PushD 5
PushD 1
PushS 152
LocalVar
ArrayRef
RefGet
PushD 1
CallNative FREEZE_OBJECT_POSITION 2 0
PushD 1
PushD 1
PushS 152
LocalVar
ArrayRef
RefGet
PushD 1
CallNative FREEZE_OBJECT_POSITION 2 0
Push 0x4CD5486B
CallNative MARK_MODEL_AS_NO_LONGER_NEEDED 1 0
Push 0x67AB0048
CallNative MARK_MODEL_AS_NO_LONGER_NEEDED 1 0
Push 0xF569A3C7
CallNative MARK_MODEL_AS_NO_LONGER_NEEDED 1 0
Push 0x9CF172D4
CallNative MARK_MODEL_AS_NO_LONGER_NEEDED 1 0
FnEnd 0 0

:Label15
Call @Label17
Jump @Label18

:Label21
FnBegin 0 2
PushString "misslift"
CallNative REQUEST_ANIMS 1 0

:Label20
PushString "misslift"
CallNative HAVE_ANIMS_LOADED 1 1
IsZero
JumpFalse @Label19
PushD 0
CallNative WAIT 1 0
Jump @Label20

:Label19
FnEnd 0 0

:Label18
Call @Label21
PushD 1
PushS 150
LocalVar
RefSet
Jump @Label10

:Label8
PushS 151
LocalVar
RefGet
PushD 1
CmpEq
JumpFalse @Label22
PushD 1
PushD 1
PushS 152
LocalVar
ArrayRef
RefGet
PushS 159
LocalVar
PushS 160
LocalVar
RefGet
PushS 161
LocalVar
RefGet
PushString "misslift"
PushD 1
Jump @Label23

:Label222
FnBegin 6 12
PushD 10
LocalVar
RefGet
IsZero
JumpFalse @Label24
CallNative GET_SOUND_ID 0 1
PushD 8
LocalVar
RefSet
PushD 1
PushD 10
LocalVar
RefSet

:Label24
PushF 0
PushF 0
PushF 0,29
PushD 3
PushD 8
Var
ArrayImplode
Var0
RefGet
CallNative DOES_OBJECT_EXIST 1 1
JumpFalse @Label25
PushS 139
LocalVar
RefGet
JumpFalse @Label26
Var4
RefGet
Var1
RefGet
Var5
RefGet
Var0
RefGet
Jump @Label27

:Label62
FnBegin 4 7
PushS 146
LocalVar
RefGet
Switch 0:@Label28 1:@Label29 2:@Label30
Jump @Label31

:Label28
Jump @Label32

:Label33
FnBegin 0 3
CallNative GET_PLAYER_ID 0 1
CallNative CONVERT_INT_TO_PLAYERINDEX 1 1
Var2
CallNative GET_PLAYER_CHAR 2 0
Var2
RefGet
FnEnd 0 1

:Label32
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label34
Call @Label33
PushString "operate_lift_outro"
Var0
RefGet
PushF 8
PushD 0
PushD 0
PushD 0
PushD 0
PushD -1
CallNative TASK_PLAY_ANIM 9 0
PushD 0
CallNative SETTIMERA 1 0
PushD 1
PushS 146
LocalVar
RefSet

:Label34
Jump @Label31

:Label29
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label35
Call @Label33
Var0
RefGet
PushString "operate_lift_outro"
CallNative IS_CHAR_PLAYING_ANIM 3 1
JumpFalse @Label36
Call @Label33
Var0
RefGet
PushString "operate_lift_outro"
Var6
CallNative GET_CHAR_ANIM_CURRENT_TIME 4 0
Var6
RefGet
PushF 0,5
CmpGtF
JumpFalse @Label36
PushD 2
PushS 146
LocalVar
RefSet

:Label36
CallNative TIMERB 0 1
PushS 5000
CmpGt
JumpFalse @Label35
PushD 2
PushS 146
LocalVar
RefSet

:Label35
Jump @Label31

:Label30
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label37
Jump @Label38

:Label39
FnBegin 0 2
CallNative GET_PLAYER_ID 0 1
CallNative CONVERT_INT_TO_PLAYERINDEX 1 1
FnEnd 0 1

:Label38
Call @Label39
PushD 0
CallNative SET_USE_LEG_IK 2 0
Call @Label33
PushD 0
CallNative DETACH_PED 2 0
PushD 0
CallNative SETTIMERA 1 0
Jump @Label40

:Label41
FnBegin 0 2
PushD 0
PushS 91
GlobalVar
PushS 100
Add
RefSet
PushD 0
PushS 91
GlobalVar
PushS 104
Add
RefSet
FnEnd 0 0

:Label40
Call @Label41
CallNative CLEAR_PRINTS 0 0
PushF 0
PushS 91
LocalVar
RefSet
Jump @Label42

:Label45
FnBegin 0 2
PushS 87
LocalVar
RefGet
PushD -1
CmpNe
JumpFalse @Label43
PushS 87
LocalVar
RefGet
CallNative HAS_SOUND_FINISHED 1 1
IsZero
JumpFalse @Label44
PushS 87
LocalVar
RefGet
CallNative STOP_SOUND 1 0

:Label44
PushS 87
LocalVar
RefGet
CallNative RELEASE_SOUND_ID 1 0
PushD -1
PushS 87
LocalVar
RefSet

:Label43
FnEnd 0 0

:Label42
Call @Label45
PushF 0
PushD 24
LocalVar
RefSet
PushF 0
PushD 28
LocalVar
RefSet
PushF 45
PushD 14
LocalVar
RefSet
PushF 0
PushD 15
LocalVar
RefSet
PushF 3
NegF
PushD 16
LocalVar
RefSet
PushF 3
NegF
PushD 17
LocalVar
RefSet
PushF 0
PushD 18
LocalVar
RefSet
PushF 0
PushD 19
LocalVar
RefSet
Jump @Label46

:Label47
FnBegin 0 2
PushD 0
CallNative SET_MINIGAME_IN_PROGRESS 1 0
FnEnd 0 0

:Label46
Call @Label47
PushD 2
PushString "WClift_01"
Jump @Label48

:Label59
FnBegin 2 5
CallNative USING_STANDARD_CONTROLS 0 1
JumpFalse @Label49
PushString "CNTBUT1"
Var4
RefSet
Jump @Label50

:Label49
PushString "CNTBUT2"
Var4
RefSet

:Label50
Var1
RefGet
CallNative IS_STRING_NULL 1 1
JumpFalse @Label51
PushString "NULL"
Var1
RefSet
Jump @Label52

:Label51
Var1
RefGet
CallNative DOES_TEXT_LABEL_EXIST 1 1
JumpFalse @Label53
Var1
RefGet
CallNative GET_LENGTH_OF_STRING_WITH_THIS_TEXT_LABEL 1 1
PushD 0
CmpEq
JumpFalse @Label54
PushString "NULL"
Var1
RefSet

:Label54
Jump @Label52

:Label53
PushString "NULL"
Var1
RefSet

:Label52
Var1
RefGet
CallNative IS_STRING_NULL 1 1
IsZero
JumpFalse @Label55
Var1
RefGet
PushS 9174
GlobalVar
CallNative COMPARE_STRING 2 1
JumpFalse @Label55
PushS 9172
GlobalVar
RefGet
Var0
RefGet
CmpEq
PushD 3
LocalVar
RefGet
And
JumpFalse @Label56
PushString ""
PushS 9174
GlobalVar
StrCpy
MulF
PushD 0
PushS 9172
GlobalVar
RefSet
PushD 0
PushS 9173
GlobalVar
RefSet
NullObj
RefGet
PushS 9178
GlobalVar
RefSet
PushD 0
PushD 3
LocalVar
RefSet
PushD 1
LocalVar
RefGet
JumpFalse @Label56
Call @Label41
PushD 0
PushD 1
LocalVar
RefSet

:Label56
PushD 2
LocalVar
RefGet
JumpFalse @Label57
Call @Label39
PushD 1
CallNative ALLOW_PLAYER_TO_CARRY_NON_MISSION_OBJECTS 2 0
PushD 0
PushD 2
LocalVar
RefSet

:Label57
PushD 0
LocalVar
RefGet
JumpFalse @Label55
Var1
RefGet
Var4
RefGet
CallNative IS_THIS_HELP_MESSAGE_WITH_STRING_BEING_DISPLAYED 2 1
JumpFalse @Label58
CallNative CLEAR_HELP 0 0

:Label58
PushD 0
PushD 0
LocalVar
RefSet

:Label55
FnEnd 2 0

:Label48
Call @Label59
PushString "WClift_03"
CallNative IS_THIS_HELP_MESSAGE_BEING_DISPLAYED 1 1
JumpFalse @Label60
CallNative CLEAR_HELP 0 0

:Label60
PushString "WClift_02"
CallNative IS_THIS_HELP_MESSAGE_BEING_DISPLAYED 1 1
JumpFalse @Label61
CallNative CLEAR_HELP 0 0

:Label61
PushD 0
PushD 12
LocalVar
RefSet
PushD 0
PushS 139
LocalVar
RefSet
PushD 3
PushS 146
LocalVar
RefSet

:Label37
Jump @Label31

:Label31
FnEnd 4 0

:Label27
Call @Label62
Jump @Label63

:Label26
Var0
RefGet
Var1
RefGet
Var2
RefGet
Var3
RefGet
Var4
RefGet
Var5
RefGet
Jump @Label64

:Label82
FnBegin 6 8
Var0
RefGet
CallNative DOES_OBJECT_EXIST 1 1
JumpFalse @Label65
Var0
RefGet
PushS 118
LocalVar
PushD 0
Add
PushS 118
LocalVar
PushD 4
Add
PushS 118
LocalVar
PushD 8
Add
CallNative GET_OBJECT_COORDINATES 4 0
PushS 118
LocalVar
PushD 8
Add
RefGet
Var3
RefGet
CmpEqF
JumpFalse @Label66
PushD 0
PushS 117
LocalVar
RefSet
Jump @Label65

:Label66
PushS 118
LocalVar
PushD 8
Add
RefGet
Var2
RefGet
CmpEqF
JumpFalse @Label65
PushD 1
PushS 117
LocalVar
RefSet

:Label65
PushS 117
LocalVar
RefGet
Switch 0:@Label67 1:@Label68 2:@Label69
Jump @Label70

:Label67
PushF 1
PushF 0,4
NegF
PushF 1
PushD 3
PushS 105
LocalVar
ArrayImplode
PushF 1
NegF
PushF 0,4
NegF
PushF 1
NegF
PushD 3
PushS 108
LocalVar
ArrayImplode
PushF 0,5
NegF
PushF 0
PushF 1
PushD 3
PushS 111
LocalVar
ArrayImplode
PushF 0,532
NegF
PushF 0,858
NegF
PushF 1
NegF
PushD 3
PushS 114
LocalVar
ArrayImplode
Var0
RefGet
PushS 51
LocalVar
CallNative GET_OBJECT_HEADING 2 0
Var0
RefGet
Var1
RefGet
PushD 0
Var4
RefGet
Var5
RefGet
Jump @Label71

:Label80
FnBegin 5 7
PushS 134
LocalVar
RefGet
JumpFalse @Label72
PushS 59
LocalVar
RefGet
IsZero
JumpFalse @Label72
PushS 124
LocalVar
RefGet
IsZero
JumpFalse @Label72
PushD 1
PushS 124
LocalVar
RefSet
PushD 1
PushD 4
LocalVar
RefSet
Var0
RefGet
PushS 114
LocalVar
PushD 0
Add
RefGet
PushS 114
LocalVar
PushD 4
Add
RefGet
PushS 114
LocalVar
PushD 8
Add
RefGet
PushS 102
LocalVar
PushD 0
Add
PushS 102
LocalVar
PushD 4
Add
PushS 102
LocalVar
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
Call @Label33
PushS 102
LocalVar
PushD 0
Add
RefGet
PushS 102
LocalVar
PushD 4
Add
RefGet
PushS 102
LocalVar
PushD 8
Add
RefGet
CallNative SET_CHAR_COORDINATES 4 0
Call @Label33
PushS 51
LocalVar
RefGet
CallNative SET_CHAR_HEADING 2 0
Var1
RefGet
Var0
RefGet
Var4
RefGet
Jump @Label73

:Label77
FnBegin 3 5
Var2
RefGet
JumpFalse @Label74
PushD 7
LocalVar
RefGet
IsZero
JumpFalse @Label75
PushD 6
LocalVar
CallNative BEGIN_CAM_COMMANDS 1 0
PushD 1
PushD 7
LocalVar
RefSet

:Label75
PushD 14
PushD 5
LocalVar
CallNative CREATE_CAM 2 0
PushD 5
LocalVar
RefGet
Var1
RefGet
CallNative ATTACH_CAM_TO_OBJECT 2 0
PushD 5
LocalVar
RefGet
PushD 1
CallNative SET_CAM_ATTACH_OFFSET_IS_RELATIVE 2 0
PushD 5
LocalVar
RefGet
PushF 3
NegF
PushF 1
NegF
PushF 1
CallNative SET_CAM_ATTACH_OFFSET 4 0
PushD 5
LocalVar
RefGet
Var1
RefGet
CallNative POINT_CAM_AT_OBJECT 2 0
PushD 5
LocalVar
RefGet
PushD 1
CallNative SET_CAM_ACTIVE 2 0
PushD 5
LocalVar
RefGet
PushD 1
CallNative SET_CAM_PROPAGATE 2 0
PushD 1
PushD 1
CallNative ACTIVATE_SCRIPTED_CAMS 2 0
Jump @Label76

:Label74
PushD 14
Var0
RefGet
CallNative CREATE_CAM 2 0
Var0
RefGet
RefGet
Var1
RefGet
CallNative ATTACH_CAM_TO_OBJECT 2 0
Var0
RefGet
RefGet
PushD 1
CallNative SET_CAM_ATTACH_OFFSET_IS_RELATIVE 2 0
Var0
RefGet
RefGet
PushF 3
NegF
PushF 1
NegF
PushF 1
CallNative SET_CAM_ATTACH_OFFSET 4 0
Var0
RefGet
RefGet
Var1
RefGet
CallNative POINT_CAM_AT_OBJECT 2 0
Var0
RefGet
RefGet
PushD 1
CallNative SET_CAM_ACTIVE 2 0
Var0
RefGet
RefGet
PushD 1
CallNative SET_CAM_PROPAGATE 2 0
PushD 1
PushD 1
CallNative ACTIVATE_SCRIPTED_CAMS 2 0

:Label76
FnEnd 3 0

:Label73
Call @Label77
Call @Label33
CallNative CLEAR_CHAR_TASKS 1 0
PushD 0
CallNative WAIT 1 0
Var0
RefGet
PushS 111
LocalVar
PushD 0
Add
RefGet
PushS 111
LocalVar
PushD 4
Add
RefGet
PushS 111
LocalVar
PushD 8
Add
RefGet
PushS 121
LocalVar
PushD 0
Add
PushS 121
LocalVar
PushD 4
Add
PushS 121
LocalVar
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
Var2
RefGet
PushD 0
CmpEq
JumpFalse @Label78
Call @Label33
PushD 1
CallNative FREEZE_CHAR_POSITION 2 0
Call @Label33
PushString "GET_IN_LIFT_BOTTOM"
Var3
RefGet
PushF 8
PushD 0
PushD 0
PushD 0
PushD 0
PushD 0
PushD 0
PushD 1
PushD -1
CallNative TASK_PLAY_ANIM_WITH_ADVANCED_FLAGS 12 0
Jump @Label79

:Label78
Call @Label33
PushString "GET_IN_LIFT_TOP"
Var3
RefGet
PushF 8
PushD 0
PushD 1
PushD 1
PushD 1
PushD 0
PushD 0
PushD 0
PushD -1
CallNative TASK_PLAY_ANIM_WITH_ADVANCED_FLAGS 12 0

:Label79
PushD 0
CallNative SETTIMERB 1 0

:Label72
FnEnd 5 0

:Label71
Call @Label80
Jump @Label70

:Label68
PushF 1
PushF 1,4
PushF 1
PushD 3
PushS 105
LocalVar
ArrayImplode
PushF 1
NegF
PushF 1,4
PushF 1
NegF
PushD 3
PushS 108
LocalVar
ArrayImplode
PushF 0,5
PushF 0,2
NegF
PushF 1
PushD 3
PushS 111
LocalVar
ArrayImplode
PushF 0,532
PushF 0,858
PushF 1
NegF
PushD 3
PushS 114
LocalVar
ArrayImplode
Var0
RefGet
PushS 51
LocalVar
CallNative GET_OBJECT_HEADING 2 0
PushS 51
LocalVar
RefGet
PushF 180
AddF
PushS 51
LocalVar
RefSet
PushS 51
LocalVar
RefGet
PushF 360
CmpGtF
JumpFalse @Label81
PushS 51
LocalVar
RefGet
PushF 360
SubF
PushS 51
LocalVar
RefSet

:Label81
Var0
RefGet
Var1
RefGet
PushD 1
Var4
RefGet
Var5
RefGet
Call @Label80
Jump @Label70

:Label69
Jump @Label70

:Label70
FnEnd 6 0

:Label64
Call @Label82
Var0
RefGet
Var3
RefGet
Var2
RefGet
Jump @Label83

:Label85
FnBegin 3 15
Var0
RefGet
PushF 1
PushF 1,5
PushF 1
NegF
PushD 9
Var
PushD 0
Add
PushD 9
Var
PushD 4
Add
PushD 9
Var
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
Var0
RefGet
PushF 1
NegF
PushF 1,5
PushF 1
PushD 12
Var
PushD 0
Add
PushD 12
Var
PushD 4
Add
PushD 12
Var
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
PushD 12
LocalVar
RefGet
IsZero
JumpFalse @Label84
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label84
Call @Label33
PushD 9
Var
PushD 0
Add
RefGet
PushD 9
Var
PushD 4
Add
RefGet
PushD 9
Var
PushD 8
Add
RefGet
PushD 12
Var
PushD 0
Add
RefGet
PushD 12
Var
PushD 4
Add
RefGet
PushD 12
Var
PushD 8
Add
RefGet
PushF 3
PushD 0
CallNative IS_CHAR_IN_ANGLED_AREA_3D 9 1
IsZero
JumpFalse @Label84
Var0
RefGet
PushS 118
LocalVar
PushD 0
Add
PushS 118
LocalVar
PushD 4
Add
PushS 118
LocalVar
PushD 8
Add
CallNative GET_OBJECT_COORDINATES 4 0
Call @Label33
Var6
PushD 0
Add
Var6
PushD 4
Add
Var6
PushD 8
Add
CallNative GET_CHAR_COORDINATES 4 0
PushS 118
LocalVar
PushD 8
Add
RefGet
Var2
RefGet
PushF 3
SubF
CmpGtF
IsZero
JumpFalse @Label84
Var6
PushD 8
Add
RefGet
PushF 1,5
SubF
Var1
RefGet
CmpLtF
JumpFalse @Label84
PushS 118
LocalVar
PushD 8
Add
RefGet
Var1
RefGet
CmpGtF
JumpFalse @Label84
PushD 1
PushD 11
LocalVar
RefSet

:Label84
FnEnd 3 0

:Label83
Call @Label85
Call @Label39
CallNative IS_PLAYER_TARGETTING_ANYTHING 1 1
IsZero
JumpFalse @Label86
Var0
RefGet
Jump @Label87

:Label133
FnBegin 1 3
Var0
RefGet
PushF 1
PushF 0,4
PushF 1
NegF
PushS 128
LocalVar
PushD 0
Add
PushS 128
LocalVar
PushD 4
Add
PushS 128
LocalVar
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
Var0
RefGet
PushF 1
NegF
PushF 0,4
PushF 1
PushS 131
LocalVar
PushD 0
Add
PushS 131
LocalVar
PushD 4
Add
PushS 131
LocalVar
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
Var0
RefGet
PushS 105
LocalVar
PushD 0
Add
RefGet
PushS 105
LocalVar
PushD 4
Add
RefGet
PushS 105
LocalVar
PushD 8
Add
RefGet
PushS 99
LocalVar
PushD 0
Add
PushS 99
LocalVar
PushD 4
Add
PushS 99
LocalVar
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
Var0
RefGet
PushS 108
LocalVar
PushD 0
Add
RefGet
PushS 108
LocalVar
PushD 4
Add
RefGet
PushS 108
LocalVar
PushD 8
Add
RefGet
PushS 102
LocalVar
PushD 0
Add
PushS 102
LocalVar
PushD 4
Add
PushS 102
LocalVar
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
Var0
RefGet
PushF 1
PushF 0,5
PushF 1
NegF
PushS 93
LocalVar
PushD 0
Add
PushS 93
LocalVar
PushD 4
Add
PushS 93
LocalVar
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
Var0
RefGet
PushF 1
PushF 0,5
PushF 3
NegF
PushS 96
LocalVar
PushD 0
Add
PushS 96
LocalVar
PushD 4
Add
PushS 96
LocalVar
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
PushD 11
LocalVar
RefGet
IsZero
JumpFalse @Label88
PushD 12
LocalVar
RefGet
IsZero
JumpFalse @Label89
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label89
Call @Label33
PushS 99
LocalVar
PushD 0
Add
RefGet
PushS 99
LocalVar
PushD 4
Add
RefGet
PushS 99
LocalVar
PushD 8
Add
RefGet
PushS 102
LocalVar
PushD 0
Add
RefGet
PushS 102
LocalVar
PushD 4
Add
RefGet
PushS 102
LocalVar
PushD 8
Add
RefGet
PushF 1
PushD 0
CallNative IS_CHAR_IN_ANGLED_AREA_3D 9 1
JumpFalse @Label90
PushS 81
LocalVar
RefGet
PushS 82
LocalVar
RefGet
Or
JumpFalse @Label91
CallNative TIMERA 0 1
PushS 2000
CmpGt
JumpFalse @Label92
PushD 2
PushD 0
Jump @Label93

:Label104
FnBegin 2 4
Call @Label39
CallNative IS_PLAYER_PLAYING 1 1
JumpFalse @Label94
CallNative IS_SCREEN_FADED_IN 0 1
JumpFalse @Label94
Call @Label39
CallNative IS_PLAYER_CONTROL_ON 1 1
Var0
RefGet
PushD 5
CmpEq
Or
JumpFalse @Label94
Call @Label39
CallNative IS_PLAYER_FREE_FOR_AMBIENT_TASK 1 1
Var0
RefGet
PushD 5
CmpEq
Or
Var0
RefGet
PushD 4
CmpEq
Or
Var1
RefGet
PushS 9202
GlobalVar
RefGet
And
Or
JumpFalse @Label94
Jump @Label95

:Label97
FnBegin 0 2
PushS 555
GlobalVar
RefGet
PushD 9
CmpEq
JumpFalse @Label96
PushD 0
FnEnd 0 1

:Label96
PushD 1
FnEnd 0 1

:Label95
Call @Label97
IsZero
JumpFalse @Label94
Call @Label33
CallNative GET_OBJECT_PED_IS_HOLDING 1 1
NullObj
RefGet
CmpEq
JumpFalse @Label94
PushS 9172
GlobalVar
RefGet
Var0
RefGet
CmpLe
JumpFalse @Label94
PushS 9173
GlobalVar
RefGet
PushD 0
CmpEq
JumpFalse @Label94
Jump @Label98

:Label103
FnBegin 0 2
PushD 0
PushD 0
Jump @Label99

:Label102
FnBegin 2 4
Var0
RefGet
JumpFalse @Label100
PushD 1
PushS 91
GlobalVar
PushS 104
Add
RefSet

:Label100
Var1
RefGet
PushS 555
GlobalVar
RefGet
PushD 9
CmpNe
And
JumpFalse @Label101
PushD 1
PushS 91
GlobalVar
PushS 100
Add
RefSet

:Label101
PushD 1
FnEnd 2 1

:Label99
Call @Label102
FnEnd 0 1

:Label98
Call @Label103
JumpFalse @Label94
PushD 1
FnEnd 2 1

:Label94
PushD 0
FnEnd 2 1

:Label93
Call @Label104
JumpFalse @Label105
PushD 1
PushS 138
LocalVar
RefSet
PushD 2
PushString "WClift_01"
PushD 0
Jump @Label106

:Label123
FnBegin 3 7
CallNative USING_STANDARD_CONTROLS 0 1
JumpFalse @Label107
PushString "CNTBUT1"
Var5
RefSet
PushString "CNTBUT2"
Var6
RefSet
Jump @Label108

:Label107
PushString "CNTBUT2"
Var5
RefSet
PushString "CNTBUT1"
Var6
RefSet

:Label108
Var1
RefGet
CallNative IS_STRING_NULL 1 1
JumpFalse @Label109
PushString "NULL"
Var1
RefSet
Jump @Label110

:Label109
Var1
RefGet
CallNative DOES_TEXT_LABEL_EXIST 1 1
JumpFalse @Label111
Var1
RefGet
CallNative GET_LENGTH_OF_STRING_WITH_THIS_TEXT_LABEL 1 1
PushD 0
CmpEq
JumpFalse @Label112
PushString "NULL"
Var1
RefSet

:Label112
Jump @Label110

:Label111
PushString "NULL"
Var1
RefSet

:Label110
Var0
RefGet
Var2
RefGet
Call @Label104
JumpFalse @Label113
CallNative IS_HELP_MESSAGE_BEING_DISPLAYED 0 1
IsZero
Var1
RefGet
Var5
RefGet
CallNative IS_THIS_HELP_MESSAGE_WITH_STRING_BEING_DISPLAYED 2 1
Or
PushD 2
PushD 23
CallNative IS_CONTROL_PRESSED 2 1
Or
JumpFalse @Label114
PushD 2
LocalVar
RefGet
IsZero
JumpFalse @Label115
Call @Label39
PushD 0
CallNative ALLOW_PLAYER_TO_CARRY_NON_MISSION_OBJECTS 2 0
PushD 1
PushD 2
LocalVar
RefSet

:Label115
Var0
RefGet
PushS 9172
GlobalVar
RefSet
PushD 1
PushD 3
LocalVar
RefSet
Var1
RefGet
PushS 9174
GlobalVar
StrCpy
MulF
CallNative GET_ID_OF_THIS_THREAD 0 1
PushS 9178
GlobalVar
RefSet
PushD 2
PushD 23
CallNative IS_CONTROL_PRESSED 2 1
JumpFalse @Label116
Jump @Label117

:Label118
FnBegin 0 2
PushD 1
PushD 1
Call @Label102
FnEnd 0 1

:Label117
Call @Label118
Pop
PushD 1
PushD 1
LocalVar
RefSet
PushD 6
PushS 9173
GlobalVar
RefSet
Var1
RefGet
CallNative IS_STRING_NULL 1 1
IsZero
JumpFalse @Label119
Var1
RefGet
Var5
RefGet
CallNative IS_THIS_HELP_MESSAGE_WITH_STRING_BEING_DISPLAYED 2 1
JumpFalse @Label119
CallNative CLEAR_HELP 0 0

:Label119
PushD 1
FnEnd 3 1
Jump @Label120

:Label116
PushD 0
PushS 9173
GlobalVar
RefSet
Var1
RefGet
PushString "NULL"
CallNative COMPARE_STRING 2 1
IsZero
JumpFalse @Label120
Var1
RefGet
Var5
RefGet
CallNative IS_THIS_HELP_MESSAGE_WITH_STRING_BEING_DISPLAYED 2 1
IsZero
JumpFalse @Label120
CallNative IS_HELP_MESSAGE_BEING_DISPLAYED 0 1
IsZero
JumpFalse @Label120
Var1
RefGet
Var5
RefGet
CallNative PRINT_HELP_FOREVER_WITH_STRING 2 0
PushD 1
PushD 0
LocalVar
RefSet

:Label120
Jump @Label121

:Label114
PushD 0
LocalVar
RefGet
JumpFalse @Label121
Var1
RefGet
Var6
RefGet
CallNative IS_THIS_HELP_MESSAGE_WITH_STRING_BEING_DISPLAYED 2 1
JumpFalse @Label121
CallNative CLEAR_HELP 0 0
PushD 0
PushD 0
LocalVar
RefSet

:Label121
Jump @Label122

:Label113
PushString "SCRIPT ASSERT: You have called IS_CONTEXT_BUTTON_PRESSED without checking if you CAN_USE_CONTEXT_BUTTON first\n"
CallNative SCRIPT_ASSERT 1 0

:Label122
PushD 0
FnEnd 3 1

:Label106
Call @Label123
JumpFalse @Label124
PushD 1
PushS 134
LocalVar
RefSet
PushD 1
PushD 12
LocalVar
RefSet

:Label124
Jump @Label92

:Label105
PushD 2
PushString "WClift_01"
Call @Label59

:Label92
Jump @Label125

:Label91
Call @Label33
PushS 128
LocalVar
PushD 0
Add
RefGet
PushS 128
LocalVar
PushD 4
Add
RefGet
PushS 128
LocalVar
PushD 8
Add
RefGet
PushS 131
LocalVar
PushD 0
Add
RefGet
PushS 131
LocalVar
PushD 4
Add
RefGet
PushS 131
LocalVar
PushD 8
Add
RefGet
PushF 1
PushD 0
CallNative IS_CHAR_IN_ANGLED_AREA_3D 9 1
IsZero
JumpFalse @Label125
PushD 2
PushString "WClift_01"
Call @Label59

:Label125
Jump @Label89

:Label90
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label89
Call @Label33
PushS 128
LocalVar
PushD 0
Add
RefGet
PushS 128
LocalVar
PushD 4
Add
RefGet
PushS 128
LocalVar
PushD 8
Add
RefGet
PushS 131
LocalVar
PushD 0
Add
RefGet
PushS 131
LocalVar
PushD 4
Add
RefGet
PushS 131
LocalVar
PushD 8
Add
RefGet
PushF 1
PushD 0
CallNative IS_CHAR_IN_ANGLED_AREA_3D 9 1
IsZero
JumpFalse @Label89
PushD 0
PushS 138
LocalVar
RefSet

:Label89
PushD 12
LocalVar
RefGet
IsZero
JumpFalse @Label88
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label88
Call @Label33
PushS 128
LocalVar
PushD 0
Add
RefGet
PushS 128
LocalVar
PushD 4
Add
RefGet
PushS 128
LocalVar
PushD 8
Add
RefGet
PushS 131
LocalVar
PushD 0
Add
RefGet
PushS 131
LocalVar
PushD 4
Add
RefGet
PushS 131
LocalVar
PushD 8
Add
RefGet
PushF 1
PushD 0
CallNative IS_CHAR_IN_ANGLED_AREA_3D 9 1
JumpFalse @Label126
CallNative TIMERA 0 1
PushS 2000
CmpGt
JumpFalse @Label127
PushS 134
LocalVar
RefGet
IsZero
JumpFalse @Label128
PushD 2
PushD 0
Call @Label104
JumpFalse @Label129
PushD 2
PushString "WClift_01"
PushD 0
Call @Label123
JumpFalse @Label130
PushD 1
PushS 135
LocalVar
RefSet
PushD 1
PushD 12
LocalVar
RefSet

:Label130
Jump @Label131

:Label129
PushD 2
PushString "WClift_01"
Call @Label59

:Label131
Jump @Label127

:Label128
PushD 1
PushS 135
LocalVar
RefSet

:Label127
Jump @Label88

:Label126
PushS 138
LocalVar
RefGet
IsZero
JumpFalse @Label132
PushD 2
PushString "WClift_01"
Call @Label59

:Label132
PushD 0
PushS 134
LocalVar
RefSet
PushD 0
PushS 135
LocalVar
RefSet

:Label88
FnEnd 1 0

:Label87
Call @Label133

:Label86
PushD 0
PushD 23
CallNative IS_CONTROL_PRESSED 2 1
IsZero
JumpFalse @Label134
PushS 59
LocalVar
RefGet
JumpFalse @Label134
PushD 1
PushS 60
LocalVar
RefSet

:Label134
Var0
RefGet
PushS 125
LocalVar
PushD 0
Add
PushS 125
LocalVar
PushD 4
Add
PushS 125
LocalVar
PushD 8
Add
CallNative GET_OBJECT_COORDINATES 4 0
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label135
PushD 12
LocalVar
RefGet
JumpFalse @Label135
Call @Label33
Var0
RefGet
CallNative IS_PED_ATTACHED_TO_OBJECT 2 1
IsZero
JumpFalse @Label136
Var4
RefGet
Jump @Label137

:Label142
FnBegin 1 4
PushD 0
Var3
RefSet
PushD 12
LocalVar
RefGet
JumpFalse @Label138
PushS 124
LocalVar
RefGet
JumpFalse @Label139
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label140
Call @Label33
Var0
RefGet
PushString "GET_IN_LIFT_BOTTOM"
CallNative IS_CHAR_PLAYING_ANIM 3 1
Call @Label33
Var0
RefGet
PushString "GET_IN_LIFT_TOP"
CallNative IS_CHAR_PLAYING_ANIM 3 1
Or
JumpFalse @Label140
PushD 1
PushS 149
LocalVar
RefSet

:Label140
PushS 149
LocalVar
RefGet
JumpFalse @Label141
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label141
Call @Label33
Var0
RefGet
PushString "GET_IN_LIFT_BOTTOM"
CallNative IS_CHAR_PLAYING_ANIM 3 1
IsZero
JumpFalse @Label141
Call @Label33
Var0
RefGet
PushString "GET_IN_LIFT_TOP"
CallNative IS_CHAR_PLAYING_ANIM 3 1
IsZero
JumpFalse @Label141
PushD 0
PushS 149
LocalVar
RefSet
PushD 1
Var3
RefSet

:Label141
Jump @Label138

:Label139
PushS 135
LocalVar
RefGet
JumpFalse @Label138
PushD 1
Var3
RefSet

:Label138
Var3
RefGet
FnEnd 1 1

:Label137
Call @Label142
JumpFalse @Label143
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label144
PushS 59
LocalVar
RefGet
IsZero
JumpFalse @Label144
Call @Label33
PushD 0
CallNative FREEZE_CHAR_POSITION 2 0
Call @Label33
CallNative CLEAR_CHAR_TASKS 1 0
Var0
RefGet
PushD 11
Var
CallNative GET_OBJECT_HEADING 2 0
PushD 1
PushS 59
LocalVar
RefSet
Call @Label33
PushD 11
Var
RefGet
CallNative SET_CHAR_HEADING 2 0
Call @Label33
Var0
RefGet
PushD 0
PushD 3
PushD 8
Var
ArrayExplode
PushF 0
PushF 0
PushD 0
PushD 0
CallNative ATTACH_PED_TO_OBJECT 10 0
Call @Label33
PushString "OPERATE_LIFT_INTRO"
Var4
RefGet
PushF 8
PushD 0
PushD 0
PushD 0
PushD 1
PushD -1
CallNative TASK_PLAY_ANIM 9 0
Var1
RefGet
Var0
RefGet
Var5
RefGet
Jump @Label145

:Label154
FnBegin 3 5
PushD 4
LocalVar
RefGet
IsZero
JumpFalse @Label146
Var2
RefGet
JumpFalse @Label147
PushD 7
LocalVar
RefGet
IsZero
JumpFalse @Label148
PushD 6
LocalVar
CallNative BEGIN_CAM_COMMANDS 1 0
PushD 1
PushD 7
LocalVar
RefSet

:Label148
PushD 14
PushD 5
LocalVar
CallNative CREATE_CAM 2 0
PushD 5
LocalVar
RefGet
Var1
RefGet
CallNative ATTACH_CAM_TO_OBJECT 2 0
PushD 5
LocalVar
RefGet
PushD 1
CallNative SET_CAM_ATTACH_OFFSET_IS_RELATIVE 2 0
PushD 5
LocalVar
RefGet
PushF 3
NegF
PushF 3
NegF
PushF 0
CallNative SET_CAM_ATTACH_OFFSET 4 0
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label149
PushD 5
LocalVar
RefGet
Call @Label33
CallNative POINT_CAM_AT_PED 2 0

:Label149
PushD 13
LocalVar
CallNative GET_GAME_VIEWPORT_ID 1 0
PushD 13
LocalVar
RefGet
CallNative CLEAR_ROOM_FOR_VIEWPORT 1 0
PushD 5
LocalVar
RefGet
PushD 1
CallNative SET_CAM_ACTIVE 2 0
PushD 5
LocalVar
RefGet
PushD 1
CallNative SET_CAM_PROPAGATE 2 0
PushD 1
PushD 1
CallNative ACTIVATE_SCRIPTED_CAMS 2 0
Jump @Label150

:Label147
PushD 14
Var0
RefGet
CallNative CREATE_CAM 2 0
Var0
RefGet
RefGet
Var1
RefGet
CallNative ATTACH_CAM_TO_OBJECT 2 0
Var0
RefGet
RefGet
PushD 1
CallNative SET_CAM_ATTACH_OFFSET_IS_RELATIVE 2 0
Var0
RefGet
RefGet
PushF 3
NegF
PushF 3
NegF
PushF 0
CallNative SET_CAM_ATTACH_OFFSET 4 0
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label151
Var0
RefGet
RefGet
Call @Label33
CallNative POINT_CAM_AT_PED 2 0

:Label151
PushD 13
LocalVar
CallNative GET_GAME_VIEWPORT_ID 1 0
PushD 13
LocalVar
RefGet
CallNative CLEAR_ROOM_FOR_VIEWPORT 1 0
Var0
RefGet
RefGet
PushD 1
CallNative SET_CAM_ACTIVE 2 0
Var0
RefGet
RefGet
PushD 1
CallNative SET_CAM_PROPAGATE 2 0
PushD 1
PushD 1
CallNative ACTIVATE_SCRIPTED_CAMS 2 0

:Label150
Jump @Label152

:Label146
Var2
RefGet
JumpFalse @Label153
PushD 5
LocalVar
RefGet
PushF 3
NegF
PushF 3
NegF
PushF 0
CallNative SET_CAM_ATTACH_OFFSET 4 0
Jump @Label152

:Label153
Var0
RefGet
RefGet
PushF 3
NegF
PushF 3
NegF
PushF 0
CallNative SET_CAM_ATTACH_OFFSET 4 0

:Label152
FnEnd 3 0

:Label145
Call @Label154
PushD 0
PushS 124
LocalVar
RefSet
Jump @Label155

:Label156
FnBegin 0 2
PushD 1
CallNative SET_MINIGAME_IN_PROGRESS 1 0
FnEnd 0 0

:Label155
Call @Label156

:Label144
Jump @Label157

:Label143
CallNative TIMERB 0 1
PushS 5000
CmpGt
JumpFalse @Label157
PushS 124
LocalVar
RefGet
PushS 135
LocalVar
RefGet
Or
JumpFalse @Label157
Call @Label33
PushD 0
CallNative FREEZE_CHAR_POSITION 2 0
Var1
RefGet
Var5
RefGet
Jump @Label158

:Label162
FnBegin 2 4
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label159
Var1
RefGet
JumpFalse @Label160
PushD 5
LocalVar
RefGet
CallNative DOES_CAM_EXIST 1 1
JumpFalse @Label161
PushD 0
PushD 0
CallNative ACTIVATE_SCRIPTED_CAMS 2 0
PushD 5
LocalVar
RefGet
CallNative DESTROY_CAM 1 0
Call @Label33
CallNative SET_CAM_BEHIND_PED 1 0
PushD 7
LocalVar
RefGet
JumpFalse @Label161
PushD 6
LocalVar
CallNative END_CAM_COMMANDS 1 0
PushD 0
PushD 7
LocalVar
RefSet

:Label161
Jump @Label159

:Label160
Var0
RefGet
RefGet
CallNative DOES_CAM_EXIST 1 1
JumpFalse @Label159
PushD 0
PushD 0
CallNative ACTIVATE_SCRIPTED_CAMS 2 0
Var0
RefGet
RefGet
CallNative DESTROY_CAM 1 0
Call @Label33
CallNative SET_CAM_BEHIND_PED 1 0

:Label159
FnEnd 2 0

:Label158
Call @Label162
PushD 1
PushS 148
LocalVar
RefSet

:Label157
Jump @Label135

:Label136
Call @Label33
PushF 0
PushF 0
PushF 0
PushD 1
PushS 32
CallNative TASK_LOOK_AT_COORD 6 0

:Label135
PushS 59
LocalVar
RefGet
PushD 11
LocalVar
RefGet
Or
JumpFalse @Label63
PushD 11
LocalVar
RefGet
IsZero
JumpFalse @Label163
Call @Label118
Pop

:Label163
Var0
Var2
RefGet
Var3
RefGet
Var4
RefGet
Jump @Label164

:Label212
FnBegin 4 15
PushD 1
PushD 14
Var
RefSet
PushD 1
PushS 75
LocalVar
RefSet
Var1
RefGet
PushS 79
LocalVar
RefSet
Var0
RefGet
RefGet
PushS 76
LocalVar
PushD 0
Add
PushS 76
LocalVar
PushD 4
Add
PushS 76
LocalVar
PushD 8
Add
CallNative GET_OBJECT_COORDINATES 4 0
PushD 0
Var6
Var7
PushD 8
Var
PushD 9
Var
CallNative GET_POSITION_OF_ANALOGUE_STICKS 5 0
Var6
RefGet
PushD 0
CmpEq
Var7
RefGet
PushD 0
CmpEq
And
JumpFalse @Label165
Var6
Var7
CallNative GET_KEYBOARD_MOVE_INPUT 2 0

:Label165
PushF 25
CallNative SET_FOLLOW_PED_PITCH_LIMIT_UP 1 0
PushF 25
CallNative SET_FOLLOW_PED_PITCH_LIMIT_DOWN 1 0
Var7
RefGet
PushD 10
CmpGt
Var7
RefGet
PushS 129
CmpLt
And
PushD 11
LocalVar
RefGet
Or
JumpFalse @Label166
PushS 76
LocalVar
PushD 8
Add
RefGet
Var2
RefGet
CmpGtF
JumpFalse @Label167
PushS 91
LocalVar
RefGet
PushF 0
CmpEqF
JumpFalse @Label168
Var0
RefGet
RefGet
Jump @Label169

:Label171
FnBegin 1 3
Var0
RefGet
CallNative DOES_OBJECT_EXIST 1 1
JumpFalse @Label170
PushS 87
LocalVar
RefGet
PushD -1
CmpEq
JumpFalse @Label170
CallNative GET_SOUND_ID 0 1
PushS 87
LocalVar
RefSet
PushS 87
LocalVar
RefGet
PushS 88
LocalVar
RefGet
Var0
RefGet
CallNative PLAY_SOUND_FROM_OBJECT 3 0

:Label170
FnEnd 1 0

:Label169
Call @Label171
PushD 4
PushS 74
LocalVar
RefSet
Jump @Label172

:Label168
PushS 74
LocalVar
RefGet
PushD 1
CmpEq
JumpFalse @Label172
Call @Label45
PushD 0
PushS 74
LocalVar
RefSet

:Label172
Jump @Label173

:Label167
PushD 0
PushD 11
LocalVar
RefSet

:Label173
Jump @Label174

:Label166
Var7
RefGet
PushD -10
CmpLt
Var7
RefGet
PushS -129
CmpGt
And
JumpFalse @Label175
Jump @Label176

:Label178
FnBegin 0 3
PushD 0
Var2
RefSet
NullObj
RefGet
PushS 90
LocalVar
RefSet
PushS 76
LocalVar
PushD 0
Add
RefGet
PushS 76
LocalVar
PushD 4
Add
RefGet
PushS 76
LocalVar
PushD 8
Add
RefGet
PushF 4
AddF
PushF 3
PushD 0
PushD 1
PushS 90
LocalVar
CallNative GET_RANDOM_CAR_IN_SPHERE_NO_SAVE 7 0
PushS 90
LocalVar
RefGet
NullObj
RefGet
CmpNe
JumpFalse @Label177
PushD 1
Var2
RefSet

:Label177
Var2
RefGet
FnEnd 0 1

:Label176
Call @Label178
IsZero
JumpFalse @Label179
PushS 76
LocalVar
PushD 8
Add
RefGet
Var1
RefGet
CmpLtF
JumpFalse @Label180
PushS 91
LocalVar
RefGet
PushF 0
CmpEqF
JumpFalse @Label181
Var0
RefGet
RefGet
Call @Label171
PushD 1
PushS 74
LocalVar
RefSet
Jump @Label180

:Label181
PushS 74
LocalVar
RefGet
PushD 4
CmpEq
JumpFalse @Label180
Call @Label45
PushD 0
PushS 74
LocalVar
RefSet

:Label180
Jump @Label182

:Label179
Call @Label45
PushD 0
PushS 74
LocalVar
RefSet

:Label182
Jump @Label174

:Label175
Call @Label45
PushD 0
PushS 74
LocalVar
RefSet

:Label174
PushD 11
LocalVar
RefGet
IsZero
JumpFalse @Label183
PushD 12
LocalVar
RefGet
JumpFalse @Label183
PushS 91
LocalVar
RefGet
PushF 0,05
CmpLtF
JumpFalse @Label183
PushS 91
LocalVar
RefGet
PushS 1000
ToF
MulF
PushD 12
Var
RefSet
PushD 0
PushD 5
PushD 12
Var
RefGet
CallNative CEIL 1 1
CallNative SHAKE_PAD 3 0

:Label183
Var1
RefGet
PushS 76
LocalVar
PushD 8
Add
RefGet
SubF
PushD 10
Var
RefSet
PushS 76
LocalVar
PushD 8
Add
RefGet
Var2
RefGet
SubF
PushD 11
Var
RefSet
PushD 10
Var
RefGet
PushF 0
CmpEqF
JumpFalse @Label184
PushD 0
PushS 81
LocalVar
RefSet
PushD 1
PushS 82
LocalVar
RefSet
PushD 1
PushS 61
LocalVar
RefSet
PushString "WClift_03"
PushD 13
Var
RefSet
Jump @Label185

:Label184
PushD 11
Var
RefGet
PushF 0
CmpEqF
JumpFalse @Label186
PushD 1
PushS 81
LocalVar
RefSet
PushD 0
PushS 82
LocalVar
RefSet
PushD 1
PushS 61
LocalVar
RefSet
PushD 11
LocalVar
RefGet
IsZero
JumpFalse @Label187
PushD 12
LocalVar
RefGet
JumpFalse @Label187
PushString "WClift_03"
PushD 13
Var
RefSet

:Label187
Jump @Label185

:Label186
PushD 0
PushS 81
LocalVar
RefSet
PushD 0
PushS 82
LocalVar
RefSet
PushString "WClift_02"
PushD 13
Var
RefSet

:Label185
PushD 11
LocalVar
RefGet
IsZero
JumpFalse @Label188
PushD 12
LocalVar
RefGet
JumpFalse @Label188
PushD 13
Var
RefGet
CallNative IS_THIS_HELP_MESSAGE_BEING_DISPLAYED 1 1
IsZero
JumpFalse @Label188
CallNative CLEAR_HELP 0 0
PushD 13
Var
RefGet
CallNative PRINT_HELP_FOREVER 1 0

:Label188
PushS 74
LocalVar
RefGet
Switch 0:@Label189 1:@Label190 4:@Label191
Jump @Label192

:Label189
PushS 91
LocalVar
RefGet
PushF 0
CmpGtF
JumpFalse @Label193
PushS 91
LocalVar
RefGet
PushF 0,01
SubF
PushS 91
LocalVar
RefSet
Var0
RefGet
RefGet
PushS 76
LocalVar
PushD 0
Add
RefGet
PushS 76
LocalVar
PushD 4
Add
RefGet
PushS 92
LocalVar
RefGet
PushF 0
PushF 0
PushS 91
LocalVar
RefGet
PushD 14
Var
RefGet
CallNative SLIDE_OBJECT 8 1
Pop

:Label193
PushD 0
PushS 89
LocalVar
RefSet
Jump @Label192

:Label190
Var3
RefGet
Jump @Label194

:Label201
FnBegin 1 4
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label195
PushS 89
LocalVar
RefGet
JumpFalse @Label196
Call @Label33
Var0
RefGet
PushString "OPERATE_LIFT_SWITCH"
CallNative IS_CHAR_PLAYING_ANIM 3 1
JumpFalse @Label197
Call @Label33
Var0
RefGet
PushString "OPERATE_LIFT_SWITCH"
Var3
CallNative GET_CHAR_ANIM_CURRENT_TIME 4 0
Var3
RefGet
PushF 0,5
CmpGtF
JumpFalse @Label198
PushD 1
FnEnd 1 1

:Label198
Jump @Label199

:Label197
PushD 11
LocalVar
RefGet
IsZero
JumpFalse @Label199
Call @Label33
PushString "OPERATE_LIFT_SWITCH"
Var0
RefGet
PushF 8
PushD 0
PushD 0
PushD 0
PushD 1
PushD -1
CallNative TASK_PLAY_ANIM 9 0

:Label199
Jump @Label195

:Label196
PushD 11
LocalVar
RefGet
IsZero
JumpFalse @Label200
Call @Label33
PushString "OPERATE_LIFT_SWITCH"
Var0
RefGet
PushF 8
PushD 0
PushD 0
PushD 0
PushD 1
PushD -1
CallNative TASK_PLAY_ANIM 9 0

:Label200
PushD 1
PushS 89
LocalVar
RefSet

:Label195
PushD 0
FnEnd 1 1

:Label194
Call @Label201
JumpFalse @Label202
PushD 10
Var
RefGet
PushF 1
CmpGtF
JumpFalse @Label203
PushS 91
LocalVar
RefGet
PushF 0,11
CmpLtF
JumpFalse @Label204
PushS 91
LocalVar
RefGet
PushF 0,01
AddF
PushS 91
LocalVar
RefSet

:Label204
Jump @Label205

:Label203
PushS 91
LocalVar
RefGet
PushF 0,03
CmpGtF
JumpFalse @Label206
PushS 91
LocalVar
RefGet
PushF 0,01
SubF
PushS 91
LocalVar
RefSet
Jump @Label205

:Label206
PushS 91
LocalVar
RefGet
PushF 0,01
AddF
PushS 91
LocalVar
RefSet

:Label205
Var1
RefGet
PushS 92
LocalVar
RefSet
Var0
RefGet
RefGet
PushS 76
LocalVar
PushD 0
Add
RefGet
PushS 76
LocalVar
PushD 4
Add
RefGet
PushS 92
LocalVar
RefGet
PushF 0
PushF 0
PushS 91
LocalVar
RefGet
PushD 14
Var
RefGet
CallNative SLIDE_OBJECT 8 1
JumpFalse @Label202
Call @Label45
PushD 0
PushS 74
LocalVar
RefSet

:Label202
Jump @Label192

:Label191
Var3
RefGet
Call @Label201
PushD 11
LocalVar
RefGet
Or
JumpFalse @Label207
Var0
RefGet
RefGet
PushF 1
PushF 0,5
PushF 1
NegF
PushS 93
LocalVar
PushD 0
Add
PushS 93
LocalVar
PushD 4
Add
PushS 93
LocalVar
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
Var0
RefGet
RefGet
PushF 1
NegF
PushF 0,5
PushF 3
NegF
PushS 96
LocalVar
PushD 0
Add
PushS 96
LocalVar
PushD 4
Add
PushS 96
LocalVar
PushD 8
Add
CallNative GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS 7 0
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label207
Call @Label33
PushS 93
LocalVar
PushD 0
Add
RefGet
PushS 93
LocalVar
PushD 4
Add
RefGet
PushS 93
LocalVar
PushD 8
Add
RefGet
PushS 96
LocalVar
PushD 0
Add
RefGet
PushS 96
LocalVar
PushD 4
Add
RefGet
PushS 96
LocalVar
PushD 8
Add
RefGet
PushF 1
PushD 0
CallNative IS_CHAR_IN_ANGLED_AREA_3D 9 1
IsZero
JumpFalse @Label207
PushD 11
Var
RefGet
PushF 1
CmpGtF
JumpFalse @Label208
PushS 91
LocalVar
RefGet
PushF 0,11
CmpLtF
JumpFalse @Label209
PushS 91
LocalVar
RefGet
PushF 0,01
AddF
PushS 91
LocalVar
RefSet

:Label209
Jump @Label210

:Label208
PushS 91
LocalVar
RefGet
PushF 0,03
CmpGtF
JumpFalse @Label211
PushS 91
LocalVar
RefGet
PushF 0,01
SubF
PushS 91
LocalVar
RefSet
Jump @Label210

:Label211
PushS 91
LocalVar
RefGet
PushF 0,01
AddF
PushS 91
LocalVar
RefSet

:Label210
Var2
RefGet
PushS 92
LocalVar
RefSet
Var0
RefGet
RefGet
PushS 76
LocalVar
PushD 0
Add
RefGet
PushS 76
LocalVar
PushD 4
Add
RefGet
PushS 92
LocalVar
RefGet
PushF 0
PushF 0
PushS 91
LocalVar
RefGet
PushD 14
Var
RefGet
CallNative SLIDE_OBJECT 8 1
JumpFalse @Label207
Call @Label45
PushD 0
PushS 74
LocalVar
RefSet

:Label207
Jump @Label192

:Label192
FnEnd 4 0

:Label164
Call @Label212
PushD 11
LocalVar
RefGet
IsZero
JumpFalse @Label63
Jump @Label213

:Label215
FnBegin 0 3
PushD 0
Var2
RefSet
PushS 76
LocalVar
PushD 8
Add
RefGet
PushS 79
LocalVar
RefGet
CmpEqF
JumpFalse @Label214
PushS 75
LocalVar
RefGet
JumpFalse @Label214
PushD 1
Var2
RefSet

:Label214
Var2
RefGet
FnEnd 0 1

:Label213
Call @Label215
Pop
Var1
RefGet
Var5
RefGet
Call @Label162

:Label63
PushS 60
LocalVar
RefGet
PushS 148
LocalVar
RefGet
Or
JumpFalse @Label25
PushD 0
PushD 23
CallNative IS_CONTROL_PRESSED 2 1
PushS 148
LocalVar
RefGet
Or
JumpFalse @Label216
PushS 61
LocalVar
RefGet
PushS 148
LocalVar
RefGet
Or
JumpFalse @Label217
PushS 59
LocalVar
RefGet
PushS 148
LocalVar
RefGet
Or
JumpFalse @Label217
PushD 0
PushS 75
LocalVar
RefSet
PushD 0
PushS 59
LocalVar
RefSet
PushD 0
PushS 148
LocalVar
RefSet
PushS 148
LocalVar
RefGet
IsZero
JumpFalse @Label218
PushD 0
PushS 146
LocalVar
RefSet
Jump @Label219

:Label218
PushD 2
PushS 146
LocalVar
RefSet

:Label219
PushD 0
PushS 124
LocalVar
RefSet
PushD 0
PushS 134
LocalVar
RefSet
PushD 0
PushS 135
LocalVar
RefSet
PushD 0
PushS 80
LocalVar
RefSet
PushD 0
PushD 4
LocalVar
RefSet
PushD 1
PushS 139
LocalVar
RefSet
Call @Label41
PushD 0
PushS 149
LocalVar
RefSet

:Label217
Jump @Label25

:Label216
PushS 59
LocalVar
RefGet
IsZero
JumpFalse @Label25
PushD 0
PushS 60
LocalVar
RefSet

:Label25
Call @Label33
CallNative IS_CHAR_DEAD 1 1
IsZero
JumpFalse @Label220
Call @Label33
Var4
RefGet
PushString "GET_IN_LIFT_BOTTOM"
CallNative IS_CHAR_PLAYING_ANIM 3 1
Call @Label33
Var4
RefGet
PushString "OPERATE_LIFT_SWITCH"
CallNative IS_CHAR_PLAYING_ANIM 3 1
Or
Call @Label33
Var4
RefGet
PushString "operate_lift_intro"
CallNative IS_CHAR_PLAYING_ANIM 3 1
Or
Call @Label33
Var4
RefGet
PushString "GET_IN_LIFT_TOP"
CallNative IS_CHAR_PLAYING_ANIM 3 1
Or
JumpFalse @Label221
PushD 1
PushS 147
LocalVar
RefSet
Jump @Label220

:Label221
PushD 0
PushS 147
LocalVar
RefSet

:Label220
PushS 147
LocalVar
RefGet
FnEnd 6 1

:Label23
Call @Label222
Pop
PushString "francis5"
CallNative DOES_SCRIPT_EXIST 1 1
JumpFalse @Label22
PushString "francis5"
CallNative GET_NUMBER_OF_INSTANCES_OF_STREAMED_SCRIPT 1 1
PushD 0
CmpEq
JumpFalse @Label22
Jump @Label223

:Label225
FnBegin 0 5
PushS 151
LocalVar
RefGet
PushD 1
CmpEq
JumpFalse @Label224
Call @Label33
Var2
PushD 0
Add
Var2
PushD 4
Add
Var2
PushD 8
Add
CallNative GET_CHAR_COORDINATES 4 0
Var2
PushD 8
Add
RefGet
PushF 16,3781
CmpLtF
JumpFalse @Label224
PushD 1
PushD 1
PushS 152
LocalVar
ArrayRef
CallNative MARK_OBJECT_AS_NO_LONGER_NEEDED 1 0
PushD 5
PushD 1
PushS 152
LocalVar
ArrayRef
CallNative MARK_OBJECT_AS_NO_LONGER_NEEDED 1 0
PushD 2
PushD 1
PushS 152
LocalVar
ArrayRef
CallNative MARK_OBJECT_AS_NO_LONGER_NEEDED 1 0
PushD 3
PushD 1
PushS 152
LocalVar
ArrayRef
CallNative MARK_OBJECT_AS_NO_LONGER_NEEDED 1 0
PushD 4
PushD 1
PushS 152
LocalVar
ArrayRef
CallNative MARK_OBJECT_AS_NO_LONGER_NEEDED 1 0
CallNative TERMINATE_THIS_SCRIPT 0 0

:Label224
FnEnd 0 0

:Label223
Call @Label225

:Label22
Jump @Label226

:Label228
FnBegin 0 2
PushS 166
LocalVar
RefGet
JumpFalse @Label227
Push 0x4CD5486B
PushS 162
LocalVar
PushD 0
Add
RefGet
PushS 162
LocalVar
PushD 4
Add
RefGet
PushS 162
LocalVar
PushD 8
Add
RefGet
PushD 0
PushD 1
PushS 152
LocalVar
ArrayRef
PushD 1
CallNative CREATE_OBJECT_NO_OFFSET 6 0
PushD 0
PushS 166
LocalVar
RefSet

:Label227
FnEnd 0 0

:Label226
Call @Label228
Jump @Label229

:Label231
FnBegin 0 2
PushD 0
PushD 1
PushS 152
LocalVar
ArrayRef
RefGet
CallNative DOES_OBJECT_EXIST 1 1
JumpFalse @Label230
PushD 0
PushD 1
PushS 152
LocalVar
ArrayRef
RefGet
PushS 162
LocalVar
PushD 0
Add
RefGet
PushS 162
LocalVar
PushD 4
Add
RefGet
PushS 162
LocalVar
PushD 8
Add
RefGet
CallNative SET_OBJECT_COORDINATES 4 0
PushD 0
PushD 1
PushS 152
LocalVar
ArrayRef
RefGet
PushS 165
LocalVar
RefGet
CallNative SET_OBJECT_HEADING 2 0

:Label230
FnEnd 0 0

:Label229
Call @Label231
Jump @Label10

:Label9
CallNative TERMINATE_THIS_SCRIPT 0 0
Jump @Label10

:Label10
Jump @Label232

:Label6
FnEnd 0 0

 

 

Edited by yar_yaroslav

Share this post


Link to post
Share on other sites
yar_yaroslav

Animation for Niko whith cleaning windows platform in file - misslift.wad

AzVeT.jpg

 

 

}

void sub_1824()
{
REQUEST_ANIMS( "misslift" );
while (NOT (HAVE_ANIMS_LOADED( "misslift" )))
{
WAIT( 0 );
}
return;
}

 

}

if (NOT (IS_CHAR_DEAD( sub_2081() )))
{
if ((IS_CHAR_PLAYING_ANIM( sub_2081(), uParam4, "GET_IN_LIFT_TOP" )) || ((IS_CHAR_PLAYING_ANIM( sub_2081(), uParam4, "operate_lift_intro" )) || ((IS_CHAR_PLAYING_ANIM( sub_2081(), uParam4, "OPERATE_LIFT_SWITCH" )) || (IS_CHAR_PLAYING_ANIM( sub_2081(), uParam4, "GET_IN_LIFT_BOTTOM" )))))
{
l_U147 = 1;
}
Edited by yar_yaroslav

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.