Advertisement
Guest User

RaYRoD's ASM Menu

a guest
Jul 20th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 381.43 KB | None | 0 0
  1. Function 0 2 0
  2. CallNative "NETWORK_SET_SCRIPT_IS_SAFE_FOR_NETWORK_GAME" 0 0
  3. Call @Main_
  4. Return 0 0
  5.  
  6. :Main_
  7. Function 0 2 0
  8. //< Statics
  9. //< Table 1
  10. //Static: Current sub-menu (Integer)
  11. push_0
  12. StaticSet1 1
  13. //Static: Current option (Integer)
  14. fPush_1.0
  15. StaticSet1 2
  16. //Static: Number of options in sub-menu (Float)
  17. fPush_1.0
  18. StaticSet1 3
  19. //Static: Y coordinate of option highlight (Float)
  20. fPush 0.179
  21. StaticSet1 4
  22. //Static: Y coordinate of background (Float)
  23. fPush 0
  24. StaticSet1 5
  25. //Static: Length of background (Float)
  26. fPush 0
  27. StaticSet1 6
  28. //Static: Y coordinate of options (Float)
  29. fPush 0
  30. StaticSet1 7
  31. //Static: Last sub-menu (Integer)
  32. push_1
  33. StaticSet1 8
  34. //Static: Temporary Storage (Integer)
  35. push_0
  36. StaticSet1 12
  37. //Do not add any more to static1. There is a strange bug that will mess up any statics you add past 8. Use static2
  38. //>
  39. //< Table 2
  40. //Static 432: Y coordinate of info box (Float)
  41. //Static 433: Y coordinate of info text (Float)
  42. //Static: Red level for background color (RBG)
  43. push 434
  44. StaticSet2 434
  45. //Static: Green level for background color (RGB)
  46. push 0
  47. StaticSet2 435
  48. //Static: Blue level for background color (RGB)
  49. push 0
  50. StaticSet2 436
  51. //Static: Secondary text centered status (Boolean)
  52. push_1
  53. StaticSet2 437
  54. //Static: X coordinate of secondary text (Float)
  55. fPush 0.145
  56. StaticSet2 438
  57. //Static: Heat vision status (Boolean)
  58. push_0
  59. StaticSet2 439
  60. //Static: Night vision status (Boolean)
  61. push_0
  62. StaticSet2 440
  63. //Vehicle Godmode
  64. push_0
  65. StaticSet2 442
  66. //Slow Motion
  67. push_0
  68. StaticSet2 800
  69. //Static 463: all 8 bits are used as flags for looped functions (super jump, explosive melee, explosive bullets, etc)
  70. //Static 464: bits used as flags for toggles
  71.  
  72. //Static 465: Teleport X Coord
  73. //Static 466: Teleport Y Coord
  74. //Static 467: Teleport Z Coord
  75.  
  76. //Static 468: Used in Request Control of Entity
  77. // Player Dev Tees Static
  78. push_1
  79. StaticSet2 484
  80. // Vehicle Invincibility Static
  81. push_0
  82. StaticSet2 472
  83. // ModShop Doors Remove All Status Static
  84. push_0
  85. StaticSet2 488
  86. // Vehicle Invisibility Static
  87. push_0
  88. StaticSet2 470
  89. // Vehicle Engine Static
  90. push_0
  91. StaticSet2 469
  92. // Vehicle Interior Light Static
  93. push_0
  94. StaticSet2 473
  95. // Vehicle Slidy Tyres Static
  96. push_0
  97. StaticSet2 477
  98. // Vehicle Freeze Static
  99. push_0
  100. StaticSet2 487
  101. // Vehicle Gravity Static
  102. push_0
  103. StaticSet2 480
  104. //Static: Super Swim Status
  105. push_0
  106. StaticSet2 493
  107. // Vehicle Neon colour Statics
  108. // R
  109. push_0
  110. StaticSet2 489
  111. // G
  112. push_0
  113. StaticSet2 490
  114. // B
  115. push_0
  116. StaticSet2 491
  117. //Static: Tunables Christmas Snow Status
  118. push_0
  119. StaticSet2 492
  120. //Static: Player Invisibility Status
  121. push_0
  122. StaticSet2 494
  123. //Static: Current Vehicle Speed for SuprKar
  124. push_0
  125. StaticSet2 495
  126. // WAYPOINT TELEPORT TEST Statics
  127. push_0
  128. StaticSet2 497
  129. push_0
  130. StaticSet2 498
  131. push_0
  132. StaticSet2 499
  133. push_0
  134. StaticSet2 485
  135. //Static: Current Character Selected for Stat Manager Custom
  136. push_0
  137. StaticSet2 500
  138. // LOOP VEHICLE ROCKETS Statics
  139. //Vehicle
  140. push_0
  141. StaticSet2 501
  142. //Others>> Static2 508 to Static2 525
  143. //Static: Kaboom Gun Statics
  144. push_0
  145. StaticSet2 504
  146. push_0
  147. StaticSet2 505
  148. push_0
  149. StaticSet2 506
  150. push_0
  151. StaticSet2 507
  152. //Static: AddTitle Font
  153. push_7
  154. StaticSet2 400
  155. //Static: AddOption Font
  156. push_4
  157. StaticSet2 401
  158. //Static: AddInfobox Font
  159. push_7
  160. StaticSet2 402
  161. //Static: XYZH Coords Font
  162. push_4
  163. StaticSet2 403
  164.  
  165. //Static2 404, 406, 407, 408, 409: Water Wheel Object
  166. //>
  167. //>
  168. //Static 443: Last highlighted option (Float)
  169. //Static 444: Last Y coordinate of option highlight (Float)
  170. //>
  171. //>
  172. //< Main Loop
  173. //Static 443: Last highlighted option (Float)
  174. //Static 444: Last Y coordinate of option highlight (Float)
  175. //>
  176. //>
  177. //< Bit Stuff
  178. //Super Run
  179. pStatic1 10
  180. Push1 11
  181. CallNative "CLEAR_BIT" 2 0
  182. //Super Jump
  183. pStatic1 10
  184. Push1 12
  185. CallNative "CLEAR_BIT" 2 0
  186. //Car Super Speed
  187. pStatic1 10
  188. Push1 13
  189. CallNative "CLEAR_BIT" 2 0
  190. //Wash Player
  191. pStatic1 10
  192. Push1 14
  193. CallNative "CLEAR_BIT" 2 0
  194. //Car Jump
  195. pStatic1 10
  196. Push1 15
  197. CallNative "CLEAR_BIT" 2 0
  198. //Fix Car Loop
  199. pStatic1 10
  200. Push1 16
  201. CallNative "CLEAR_BIT" 2 0
  202. //Forcefeild
  203. pStatic1 10
  204. Push1 17
  205. CallNative "CLEAR_BIT" 2 0
  206. //Rainbow Vehicle
  207. pStatic1 10
  208. Push1 18
  209. CallNative "CLEAR_BIT" 2 0
  210. //Explosion On Player Loop
  211. pStatic1 10
  212. Push1 19
  213. CallNative "CLEAR_BIT" 2 0
  214. //Water On Player Loop
  215. pStatic1 10
  216. Push1 20
  217. CallNative "CLEAR_BIT" 2 0
  218. //Flame on Player Loop
  219. pStatic1 10
  220. Push1 21
  221. CallNative "CLEAR_BIT" 2 0
  222. //40K Drop
  223. pStatic1 10
  224. Push1 22
  225. CallNative "CLEAR_BIT" 2 0
  226. //Clear Tasks Loop
  227. pStatic1 10
  228. Push1 23
  229. CallNative "CLEAR_BIT" 2 0
  230. //Attach Beach Fire Loop
  231. pStatic1 10
  232. Push1 25
  233. CallNative "CLEAR_BIT" 2 0
  234. //Attach Crap Loop
  235. pStatic1 10
  236. Push1 26
  237. CallNative "CLEAR_BIT" 2 0
  238. //Clone Loop
  239. pStatic1 10
  240. Push1 24
  241. CallNative "CLEAR_BIT" 2 0
  242. //Delete Vehicle Loop
  243. pStatic1 10
  244. Push1 27
  245. CallNative "CLEAR_BIT" 2 0
  246. //God Mode Loop
  247. pStatic1 10
  248. Push1 28
  249. CallNative "CLEAR_BIT" 2 0
  250. //Vehicle Invincibility Loop
  251. pStatic1 10
  252. Push1 29
  253. CallNative "CLEAR_BIT" 2 0
  254. //Invisibility Loop
  255. pStatic1 10
  256. Push1 30
  257. CallNative "CLEAR_BIT" 2 0
  258. //Flicker Mode Loop
  259. pStatic1 10
  260. Push1 31
  261. CallNative "CLEAR_BIT" 2 0
  262. //Vehicle Instant Brake
  263. pStatic1 10
  264. Push1 45
  265. CallNative "CLEAR_BIT" 2 0
  266. //Slow-mo
  267. pStatic1 10
  268. Push1 33
  269. CallNative "CLEAR_BIT" 2 0
  270. //FlyMod Test
  271. pStatic1 10
  272. Push1 50
  273. //>
  274. //< Main Loop
  275. :MainLoop_
  276. push_0
  277. CallNative "WAIT" 1 0
  278. Call @OtherLoops_
  279. Call @CheckPauseMenu_
  280. StaticGet1 1
  281. //To add a submenu, add another option to the main loop and add a call to your submenu.
  282. //If you want it to be a normal submenu, make it jump to @NormalMenuActions_ after calling it. If you want it to be a console jump to @ConsoleActions_.
  283. Switch [0=@CallClosedMenuStuff_][1=@CallMainMenu_][2=@CallSettingsSecondaryColor_][3=@CallSubmenu1_][4=@CallSubmenu2_][5=@CallSubmenu3_][6=@CallSubmenu4_][7=@CallPlayersSub_][8=@CallPlayersSubAMenu_][9=@CallNetwork_PlayerSub_][10=@CallNetwork_ExplosionSub][11=@CallNetwork_TeleportOptions_][12=@CallOnlinePlayersA_TeleportToCoords_][13=@CallNetwork_Explosion2Sub][14=@CallNetwork_Explosion3Sub][15=@CallPersonalVehicle_][16=@CallNetwork_VehicleSub][17=@CallNetwork_VehicleSub2][18=@CallNetwork_NiceandNaughty][19=@CallNetwork_NaughtyOptions][20=@CallNetwork_ObjectsAndAttachments][21=@CallNetwork_Attachments][22=@CallStats_][23=@CallRankP2_][24=@CallCashOptions_][25=@CallUnlockOptions_][26=@CallCheaterOptions_]
  284. :CallClosedMenuStuff_
  285. Call @ClosedMenuStuff_
  286. Jump @MainLoop_
  287. :CallMainMenu_
  288. Call @MainMenu_
  289. Jump @NormalMenuActions_
  290. :CallSettingsSecondaryColor_
  291. Call @SettingsSecondaryColor_
  292. Jump @NormalMenuActions_
  293. :CallSubmenu1_
  294. Call @Submenu1_
  295. Jump @NormalMenuActions_
  296. :CallSubmenu2_
  297. Call @Submenu2_
  298. Jump @NormalMenuActions_
  299. :CallSubmenu3_
  300. Call @Submenu3_
  301. Jump @NormalMenuActions_
  302. :CallSubmenu4_
  303. Call @Submenu4_
  304. Jump @NormalMenuActions_
  305. :CallPlayersSub_
  306. Call @PlayersSub_
  307. Jump @NormalMenuActions_
  308. :CallPlayersSubAMenu_
  309. Call @PlayersSubAMenu_
  310. Jump @NormalMenuActions_
  311. :CallNetwork_PlayerSub_
  312. Call @Network_PlayerSub_
  313. Jump @NormalMenuActions_
  314. :CallNetwork_ExplosionSub
  315. Call @Network_ExplosionSub
  316. Jump @NormalMenuActions_
  317. :CallNetwork_TeleportOptions_
  318. Call @Network_TeleportOptions_
  319. Jump @NormalMenuActions_
  320. :CallOnlinePlayersA_TeleportToCoords_
  321. Call @OnlinePlayersA_TeleportToCoords_
  322. Jump @NormalMenuActions_
  323. :CallNetwork_Explosion2Sub
  324. Call @Network_Explosion2Sub
  325. Jump @NormalMenuActions_
  326. :CallNetwork_Explosion3Sub
  327. Call @Network_Explosion3Sub
  328. Jump @NormalMenuActions_
  329. :CallPersonalVehicle_
  330. Call @PersonalVehicle_
  331. Jump @NormalMenuActions_
  332. :CallNetwork_VehicleSub
  333. Call @Network_VehicleSub
  334. Jump @NormalMenuActions_
  335. :CallNetwork_VehicleSub2
  336. Call @Network_VehicleSub2
  337. Jump @NormalMenuActions_
  338. :CallNetwork_NiceandNaughty
  339. Call @Network_NiceandNaughty
  340. Jump @NormalMenuActions_
  341. :CallNetwork_NaughtyOptions
  342. Call @Network_NaughtyOptions
  343. Jump @NormalMenuActions_
  344. :CallNetwork_ObjectsAndAttachments
  345. Call @Network_ObjectsAndAttachments
  346. Jump @NormalMenuActions_
  347. :CallNetwork_Attachments
  348. Call @Network_Attachments
  349. Jump @NormalMenuActions_
  350. :CallStats_
  351. Call @Stats_
  352. Jump @NormalMenuActions_
  353. :CallRankP2_
  354. Call @RankP2_
  355. Jump @NormalMenuActions_
  356. :CallCashOptions_
  357. Call @CashOptions_
  358. Jump @NormalMenuActions_
  359. :CallUnlockOptions_
  360. Call @UnlockOptions_
  361. Jump @NormalMenuActions_
  362. :CallCheaterOptions_
  363. Call @CheaterOptions_
  364. Jump @NormalMenuActions_
  365. :NormalMenuActions_
  366. Call @OpenMenuStuff_
  367. Jump @MainLoop_
  368. :ConsoleActions_
  369. Call @ConsoleStuff_
  370. Jump @MainLoop_
  371. Return 0 0
  372. //>
  373.  
  374. //> Other Loops
  375. :OtherLoops_
  376. Function 0 2 0
  377. StaticGet1 10
  378. Push1 11
  379. CallNative "IS_BIT_SET" 2 1
  380. JumpFalse @GodModeLoop_
  381. CallNative "PLAYER_PED_ID" 0 1
  382. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  383. Not
  384. JumpFalse @GodModeLoop_
  385. push_2
  386. Push1 177
  387. CallNative "IS_CONTROL_PRESSED" 2 1
  388. JumpFalse @GodModeLoop_
  389. CallNative "PLAYER_PED_ID" 0 1
  390. push_1
  391. fPush_0.0
  392. fPush 34028230000000
  393. fPush_0.0
  394. fPush_0.0
  395. fPush_0.0
  396. fPush_0.0
  397. push_1
  398. push_1
  399. push_1
  400. push_1
  401. push_0
  402. push_1
  403. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  404. push_2
  405. Push1 174
  406. CallNative "IS_DISABLED_CONTROL_JUST_RELEASED" 2 1
  407. JumpFalse @GodModeLoop_
  408. CallNative "PLAYER_PED_ID" 0 1
  409. push_1
  410. CallNative "FREEZE_ENTITY_POSITION" 2 0
  411. CallNative "PLAYER_PED_ID" 0 1
  412. push_0
  413. CallNative "FREEZE_ENTITY_POSITION" 2 0
  414. :GodModeLoop_
  415. StaticGet1 10
  416. Push1 28
  417. CallNative "IS_BIT_SET" 2 1
  418. JumpFalse @GhostModeLoop_
  419. CallNative "PLAYER_ID" 0 1
  420. push_1
  421. CallNative "SET_PLAYER_INVINCIBLE" 2 0
  422. CallNative "PLAYER_PED_ID" 0 1
  423. Dup
  424. Dup
  425. push_0
  426. CallNative "SET_PED_CAN_RAGDOLL" 2 0
  427. push_0
  428. CallNative "SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT" 2 0
  429. push_0
  430. CallNative "SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE" 2 0
  431. :GhostModeLoop_
  432. StaticGet1 10
  433. Push1 31
  434. CallNative "IS_BIT_SET" 2 1
  435. JumpFalse @OtherLoops_VehicleBrake
  436. CallNative "PLAYER_PED_ID" 0 1
  437. Dup
  438. CallNative "IS_ENTITY_VISIBLE" 1 1
  439. Not
  440. CallNative "SET_ENTITY_VISIBLE" 2 0
  441. :OtherLoops_VehicleBrake
  442. StaticGet1 10
  443. Push1 45
  444. CallNative "IS_BIT_SET" 2 1
  445. JumpFalse @OtherLoopsFlickerVehicle_
  446. push_2
  447. Push1 177
  448. CallNative "IS_CONTROL_PRESSED" 2 1
  449. JumpFalse @OtherLoopsFlickerVehicle_
  450. CallNative "PLAYER_PED_ID" 0 1
  451. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  452. JumpFalse @OtherLoopsFlickerVehicle_
  453. CallNative "PLAYER_PED_ID" 0 1
  454. push_0
  455. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  456. Call @RequestControlOfVeh_
  457. CallNative "PLAYER_PED_ID" 0 1
  458. push_0
  459. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  460. fPush_0.0
  461. CallNative "SET_VEHICLE_FORWARD_SPEED" 2 0
  462. :OtherLoopsFlickerVehicle_
  463. StaticGet1 10
  464. Push1 32
  465. CallNative "IS_BIT_SET" 2 1
  466. JumpFalse @OtherLoopsSuperJump_
  467. CallNative "PLAYER_PED_ID" 0 1
  468. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  469. JumpFalse @OtherLoopsSuperJump_
  470. CallNative "PLAYER_PED_ID" 0 1
  471. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  472. Dup
  473. CallNative "IS_ENTITY_VISIBLE" 1 1
  474. JumpFalse @OtherLoopsSuperJump_
  475. CallNative "PLAYER_PED_ID" 0 1
  476. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  477. Not
  478. CallNative "SET_ENTITY_VISIBLE" 2 0
  479. Jump @EndOtherLoops_
  480. :OtherLoopsSuperJump_
  481. StaticGet1 10
  482. Push1 12
  483. CallNative "IS_BIT_SET" 2 1
  484. JumpFalse @OtherLoopsWashPlayer_
  485. CallNative "PLAYER_PED_ID" 0 1
  486. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  487. Not
  488. JumpFalse @OtherLoopsWashPlayer_
  489. push_2
  490. Push1 183
  491. CallNative "IS_DISABLED_CONTROL_PRESSED" 2 1
  492. JumpFalse @OtherLoopsWashPlayer_
  493. push_2
  494. Push1 179
  495. CallNative "IS_DISABLED_CONTROL_PRESSED" 2 1
  496. JumpFalse @OtherLoopsWashPlayer_
  497. CallNative "PLAYER_PED_ID" 0 1
  498. push_1
  499. fPush_0.0
  500. fPush_0.0
  501. fPush_2.0
  502. fPush_0.0
  503. fPush_0.0
  504. fPush_0.0
  505. push_1
  506. push_1
  507. push_1
  508. push_1
  509. push_0
  510. push_1
  511. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  512. :OtherLoopsWashPlayer_
  513. StaticGet1 10
  514. Push1 14
  515. CallNative "IS_BIT_SET" 2 1
  516. JumpFalse @OtherLoopsCarSuperSpeed_
  517. CallNative "PLAYER_PED_ID" 0 1
  518. CallNative "PLAYER_PED_ID" 0 1
  519. CallNative "PLAYER_PED_ID" 0 1
  520. CallNative "GET_PED_MAX_HEALTH" 1 1
  521. CallNative "SET_ENTITY_HEALTH" 2 0
  522. CallNative "PLAYER_PED_ID" 0 1
  523. CallNative "PLAYER_ID" 0 1
  524. CallNative "GET_PLAYER_MAX_ARMOUR" 1 1
  525. CallNative "SET_PED_ARMOUR" 2 0
  526. CallNative "PLAYER_PED_ID" 0 1
  527. CallNative "CLEAR_PED_BLOOD_DAMAGE" 1 0
  528. CallNative "PLAYER_PED_ID" 0 1
  529. CallNative "RESET_PED_VISIBLE_DAMAGE" 1 0‏
  530. :OtherLoopsCarSuperSpeed_
  531. StaticGet1 10
  532. Push1 13
  533. CallNative "IS_BIT_SET" 2 1
  534. JumpFalse @VehicleInvincibility_
  535. CallNative "IS_PAUSE_MENU_ACTIVE" 0 1
  536. Not
  537. JumpFalse @VehicleInvincibility_
  538. CallNative "PLAYER_PED_ID" 0 1
  539. push_0
  540. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  541. JumpFalse @VehicleInvincibility_
  542. push_2
  543. Push1 184
  544. CallNative "IS_CONTROL_PRESSED" 2 1
  545. JumpFalse @VehicleInvincibility_
  546. push_2
  547. Push1 179
  548. CallNative "IS_CONTROL_PRESSED‏" 2 1
  549. JumpFalse @VehicleInvincibility_
  550. CallNative "PLAYER_PED_ID" 0 1
  551. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  552. push_0
  553. fPush_0.0
  554. fPush 200
  555. fPush_0.0
  556. fPush_0.0
  557. fPush_0.0
  558. fPush_0.0
  559. push_0
  560. push_1
  561. push_1
  562. push_1
  563. push_0
  564. push_1
  565. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  566. :VehicleInvincibility_
  567. StaticGet1 10
  568. Push1 29
  569. CallNative "IS_BIT_SET" 2 1
  570. JumpFalse @OtherLoopsCarSuperJump_
  571. CallNative "PLAYER_PED_ID" 0 1
  572. push_0
  573. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  574. Call @RequestControlOfVeh_
  575. CallNative "PLAYER_PED_ID" 0 1
  576. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  577. push_0
  578. CallNative "SET_VEHICLE_CAN_BE_VISIBLY_DAMAGED" 2 0
  579. CallNative "PLAYER_PED_ID" 0 1
  580. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  581. push_0
  582. CallNative "SET_VEHICLE_TYRES_CAN_BURST" 2 0
  583. CallNative "PLAYER_PED_ID" 0 1
  584. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  585. push_0
  586. CallNative "SET_ENTITY_CAN_BE_DAMAGED" 2 0
  587. CallNative "PLAYER_PED_ID" 0 1
  588. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  589. push_1
  590. push_1
  591. CallNative "SET_ENTITY_INVINCIBLE" 3 0
  592. :OtherLoopsCarSuperJump_
  593. StaticGet1 10
  594. Push1 15
  595. CallNative "IS_BIT_SET" 2 1
  596. JumpFalse @OtherLoopsVehicleFixed_
  597. CallNative "IS_PAUSE_MENU_ACTIVE" 0 1
  598. Not
  599. JumpFalse @OtherLoopsVehicleFixed_
  600. CallNative "PLAYER_PED_ID" 0 1
  601. push_0
  602. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  603. JumpFalse @OtherLoopsVehicleFixed_
  604. push_2
  605. Push1 184
  606. CallNative "IS_CONTROL_PRESSED‏" 2 1
  607. JumpFalse @OtherLoopsVehicleFixed_
  608. push_2
  609. Push1 205
  610. CallNative "IS_CONTROL_PRESSED" 2 1
  611. JumpFalse @OtherLoopsVehicleFixed_
  612. CallNative "PLAYER_PED_ID" 0 1
  613. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  614. push_0
  615. fPush_0.0
  616. fPush_0.0
  617. fPush 433
  618. fPush_0.0
  619. fPush_0.0
  620. fPush_0.0
  621. push_0
  622. push_1
  623. push_1
  624. push_1
  625. push_0
  626. push_1
  627. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  628. :OtherLoopsVehicleFixed_
  629. StaticGet1 10
  630. Push1 16
  631. CallNative "IS_BIT_SET" 2 1
  632. JumpFalse @OtherLoopsForcefeild_
  633. CallNative "PLAYER_PED_ID" 0 1
  634. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  635. JumpFalse @OtherLoopsForcefeild_
  636. CallNative "PLAYER_PED_ID" 0 1
  637. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  638. CallNative "SET_VEHICLE_FIXED" 1 0
  639. :OtherLoopsForcefeild_
  640. StaticGet1 10
  641. Push1 17
  642. CallNative "IS_BIT_SET" 2 1
  643. JumpFalse @OtherLoopsRainbowCar_
  644. StaticGet2 241
  645. push_1
  646. CallNative "GET_ENTITY_COORDS" 2 3
  647. Push 29
  648. fPush 20
  649. push_0
  650. push_1
  651. fPush_0.0
  652. CallNative "ADD_EXPLOSION" 8 0
  653. :OtherLoopsRainbowCar_
  654. StaticGet1 10
  655. Push1 18
  656. CallNative "IS_BIT_SET" 2 1
  657. JumpFalse @OtherLoopsExplosionOnPlayerLoop_
  658. CallNative "PLAYER_PED_ID" 0 1
  659. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  660. push_0
  661. Push 157
  662. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  663. push_0
  664. Push 157
  665. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  666. CallNative "SET_VEHICLE_COLOURS" 3 0
  667. CallNative "PLAYER_PED_ID" 0 1
  668. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  669. push_0
  670. Push 157
  671. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  672. push_0
  673. Push 157
  674. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  675. CallNative "SET_VEHICLE_EXTRA_COLOURS" 3 0
  676. :OtherLoopsExplosionOnPlayerLoop_
  677. StaticGet1 10
  678. Push1 19
  679. CallNative "IS_BIT_SET" 2 1
  680. JumpFalse @OtherLoopsWaterOnPlayerLoop_
  681. StaticGet2 241
  682. push_1
  683. CallNative "GET_ENTITY_COORDS" 2 3
  684. Push 29
  685. fPush 400
  686. fPush_1.0
  687. fPush_0.0
  688. fPush 340282300000000000
  689. CallNative "ADD_EXPLOSION" 8 0
  690. :OtherLoopsWaterOnPlayerLoop_
  691. StaticGet1 10
  692. Push1 20
  693. CallNative "IS_BIT_SET" 2 1
  694. JumpFalse @OtherLoopsFlameOnPlayerLoop_
  695. StaticGet2 241
  696. push_1
  697. CallNative "GET_ENTITY_COORDS" 2 3
  698. Push 13
  699. fPush 50
  700. fPush_1.0
  701. fPush_0.0
  702. fPush 5
  703. CallNative "ADD_EXPLOSION" 8 0
  704. :OtherLoopsFlameOnPlayerLoop_
  705. StaticGet1 10
  706. Push1 21
  707. CallNative "IS_BIT_SET" 2 1
  708. JumpFalse @ClearTasksImmedietelyLoop_
  709. StaticGet2 241
  710. push_1
  711. CallNative "GET_ENTITY_COORDS" 2 3
  712. Push 30
  713. fPush 50
  714. fPush_1.0
  715. fPush_0.0
  716. fPush 5
  717. CallNative "ADD_EXPLOSION" 8 0
  718. :ClearTasksImmedietelyLoop_
  719. StaticGet1 10
  720. Push1 23
  721. CallNative "IS_BIT_SET" 2 1
  722. JumpFalse @DeleteVehicleOtherLoop_
  723. StaticGet2 241
  724. CallNative "CLEAR_PED_TASKS_IMMEDIATELY" 1
  725. :DeleteVehicleOtherLoop_
  726. StaticGet1 10
  727. Push1 27
  728. CallNative "IS_BIT_SET" 2 1
  729. JumpFalse @84kDropLoop_
  730. StaticGet2 241
  731. push_0
  732. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  733. JumpFalse @84kDropLoop_
  734. StaticGet2 241
  735. push_0
  736. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  737. Call @RequestControlOfVeh_
  738. StaticGet2 241
  739. push_0
  740. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  741. StaticSet2 65
  742. StaticGet2 65
  743. push_1
  744. push_1
  745. CallNative "SET_ENTITY_AS_MISSION_ENTITY" 3 0
  746. pStatic2 65
  747. CallNative "DELETE_VEHICLE" 1 0
  748. push_0
  749. CallNative "WAIT" 1 0
  750. :84kDropLoop_
  751. StaticGet1 10
  752. Push1 22
  753. CallNative "IS_BIT_SET" 2 1
  754. JumpFalse @EndOtherLoops_
  755. push_0
  756. CallNative "WAIT" 1 0
  757. StaticGet2 460
  758. Add1 1
  759. StaticSet2 460
  760. pGlobal3 2407802
  761. GetImmediate2 4113
  762. StaticGet2 241
  763. push_1
  764. CallNative "GET_ENTITY_COORDS" 2 3
  765. push_0
  766. Push 4000000
  767. pGlobal3 2407802
  768. GetImmediate2 4113
  769. push_0
  770. push_1
  771. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  772. Drop
  773. pGlobal3 2407802
  774. GetImmediate2 4113
  775. StaticGet2 241
  776. push_1
  777. CallNative "GET_ENTITY_COORDS" 2 3
  778. push_0
  779. Push 40000
  780. pGlobal3 2407802
  781. GetImmediate2 4113
  782. push_0
  783. push_1
  784. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  785. Drop
  786. pGlobal3 2407802
  787. GetImmediate2 4113
  788. StaticGet2 241
  789. push_1
  790. CallNative "GET_ENTITY_COORDS" 2 3
  791. push_0
  792. Push 40000
  793. pGlobal3 2407802
  794. GetImmediate2 4113
  795. push_0
  796. push_1
  797. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  798. Drop
  799. pGlobal3 2407802
  800. GetImmediate2 4113
  801. StaticGet2 241
  802. push_1
  803. CallNative "GET_ENTITY_COORDS" 2 3
  804. push_0
  805. Push 40000
  806. pGlobal3 2407802
  807. GetImmediate2 4113
  808. push_0
  809. push_1
  810. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  811. Drop
  812. pGlobal3 2407802
  813. GetImmediate2 4113
  814. StaticGet2 241
  815. push_1
  816. CallNative "GET_ENTITY_COORDS" 2 3
  817. push_0
  818. Push 40000
  819. pGlobal3 2407802
  820. GetImmediate2 4113
  821. push_0
  822. push_1
  823. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  824. Drop
  825. pGlobal3 2407802
  826. GetImmediate2 4113
  827. StaticGet2 241
  828. push_1
  829. CallNative "GET_ENTITY_COORDS" 2 3
  830. push_0
  831. Push 40000
  832. pGlobal3 2407802
  833. GetImmediate2 4113
  834. push_0
  835. push_1
  836. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  837. Drop
  838. pGlobal3 2407802
  839. GetImmediate2 4113
  840. StaticGet2 241
  841. push_1
  842. CallNative "GET_ENTITY_COORDS" 2 3
  843. push_0
  844. Push 40000
  845. pGlobal3 2407802
  846. GetImmediate2 4113
  847. push_0
  848. push_1
  849. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  850. Drop
  851. pGlobal3 2407802
  852. GetImmediate2 4113
  853. StaticGet2 241
  854. push_1
  855. CallNative "GET_ENTITY_COORDS" 2 3
  856. push_0
  857. Push 40000
  858. pGlobal3 2407802
  859. GetImmediate2 4113
  860. push_0
  861. push_1
  862. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  863. Drop
  864. pGlobal3 2407802
  865. GetImmediate2 4113
  866. StaticGet2 241
  867. push_1
  868. CallNative "GET_ENTITY_COORDS" 2 3
  869. push_0
  870. Push 40000
  871. pGlobal3 2407802
  872. GetImmediate2 4113
  873. push_0
  874. push_1
  875. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  876. Drop
  877. pGlobal3 2407802
  878. GetImmediate2 4113
  879. StaticGet2 241
  880. push_1
  881. CallNative "GET_ENTITY_COORDS" 2 3
  882. push_0
  883. Push 40000
  884. pGlobal3 2407802
  885. GetImmediate2 4113
  886. push_0
  887. push_1
  888. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  889. Drop
  890. pGlobal3 2407802
  891. GetImmediate2 4113
  892. StaticGet2 241
  893. push_1
  894. CallNative "GET_ENTITY_COORDS" 2 3
  895. push_0
  896. Push 40000
  897. pGlobal3 2407802
  898. GetImmediate2 4113
  899. push_0
  900. push_1
  901. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  902. Drop
  903. pGlobal3 2407802
  904. GetImmediate2 4113
  905. StaticGet2 241
  906. push_1
  907. CallNative "GET_ENTITY_COORDS" 2 3
  908. push_0
  909. Push 40000
  910. pGlobal3 2407802
  911. GetImmediate2 4113
  912. push_0
  913. push_1
  914. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  915. Drop
  916. pGlobal3 2407802
  917. GetImmediate2 4113
  918. StaticGet2 241
  919. push_1
  920. CallNative "GET_ENTITY_COORDS" 2 3
  921. push_0
  922. Push 40000
  923. pGlobal3 2407802
  924. GetImmediate2 4113
  925. push_0
  926. push_1
  927. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  928. Drop
  929. pGlobal3 2407802
  930. GetImmediate2 4113
  931. StaticGet2 241
  932. push_1
  933. CallNative "GET_ENTITY_COORDS" 2 3
  934. push_0
  935. Push 40000
  936. pGlobal3 2407802
  937. GetImmediate2 4113
  938. push_0
  939. push_1
  940. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  941. Drop
  942. pGlobal3 2407802
  943. GetImmediate2 4113
  944. StaticGet2 241
  945. push_1
  946. CallNative "GET_ENTITY_COORDS" 2 3
  947. push_0
  948. Push 40000
  949. pGlobal3 2407802
  950. GetImmediate2 4113
  951. push_0
  952. push_1
  953. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  954. Drop
  955. pGlobal3 2407802
  956. GetImmediate2 4113
  957. StaticGet2 241
  958. push_1
  959. CallNative "GET_ENTITY_COORDS" 2 3
  960. push_0
  961. Push 40000
  962. pGlobal3 2407802
  963. GetImmediate2 4113
  964. push_0
  965. push_1
  966. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  967. Drop
  968. pGlobal3 2407802
  969. GetImmediate2 4113
  970. StaticGet2 241
  971. push_1
  972. CallNative "GET_ENTITY_COORDS" 2 3
  973. push_0
  974. Push 40000
  975. pGlobal3 2407802
  976. GetImmediate2 4113
  977. push_0
  978. push_1
  979. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  980. Drop
  981. pGlobal3 2407802
  982. GetImmediate2 4113
  983. StaticGet2 241
  984. push_1
  985. CallNative "GET_ENTITY_COORDS" 2 3
  986. push_0
  987. Push 40000
  988. pGlobal3 2407802
  989. GetImmediate2 4113
  990. push_0
  991. push_1
  992. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  993. Drop
  994. pGlobal3 2407802
  995. GetImmediate2 4113
  996. StaticGet2 241
  997. push_1
  998. CallNative "GET_ENTITY_COORDS" 2 3
  999. push_0
  1000. Push 40000
  1001. pGlobal3 2407802
  1002. GetImmediate2 4113
  1003. push_0
  1004. push_1
  1005. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1006. Drop
  1007. pGlobal3 2407802
  1008. GetImmediate2 4113
  1009. StaticGet2 241
  1010. push_1
  1011. CallNative "GET_ENTITY_COORDS" 2 3
  1012. push_0
  1013. Push 40000
  1014. pGlobal3 2407802
  1015. GetImmediate2 4113
  1016. push_0
  1017. push_1
  1018. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1019. Drop
  1020. pGlobal3 2407802
  1021. GetImmediate2 4113
  1022. StaticGet2 241
  1023. push_1
  1024. CallNative "GET_ENTITY_COORDS" 2 3
  1025. push_0
  1026. Push 40000
  1027. pGlobal3 2407802
  1028. GetImmediate2 4113
  1029. push_0
  1030. push_1
  1031. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1032. Drop
  1033. pGlobal3 2407802
  1034. GetImmediate2 4113
  1035. StaticGet2 241
  1036. push_1
  1037. CallNative "GET_ENTITY_COORDS" 2 3
  1038. push_0
  1039. Push 40000
  1040. pGlobal3 2407802
  1041. GetImmediate2 4113
  1042. push_0
  1043. push_1
  1044. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1045. Drop
  1046. pGlobal3 2407802
  1047. GetImmediate2 4113
  1048. StaticGet2 241
  1049. push_1
  1050. CallNative "GET_ENTITY_COORDS" 2 3
  1051. push_0
  1052. Push 40000
  1053. pGlobal3 2407802
  1054. GetImmediate2 4113
  1055. push_0
  1056. push_1
  1057. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1058. Drop
  1059. pGlobal3 2407802
  1060. GetImmediate2 4113
  1061. StaticGet2 241
  1062. push_1
  1063. CallNative "GET_ENTITY_COORDS" 2 3
  1064. push_0
  1065. Push 40000
  1066. pGlobal3 2407802
  1067. GetImmediate2 4113
  1068. push_0
  1069. push_1
  1070. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1071. Drop
  1072. pGlobal3 2407802
  1073. GetImmediate2 4113
  1074. StaticGet2 241
  1075. push_1
  1076. CallNative "GET_ENTITY_COORDS" 2 3
  1077. push_0
  1078. Push 40000
  1079. pGlobal3 2407802
  1080. GetImmediate2 4113
  1081. push_0
  1082. push_1
  1083. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1084. Drop
  1085. pGlobal3 2407802
  1086. GetImmediate2 4113
  1087. StaticGet2 241
  1088. push_1
  1089. CallNative "GET_ENTITY_COORDS" 2 3
  1090. push_0
  1091. Push 40000
  1092. pGlobal3 2407802
  1093. GetImmediate2 4113
  1094. push_0
  1095. push_1
  1096. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1097. Drop
  1098. pGlobal3 2407802
  1099. GetImmediate2 4113
  1100. StaticGet2 241
  1101. push_1
  1102. CallNative "GET_ENTITY_COORDS" 2 3
  1103. push_0
  1104. Push 40000
  1105. pGlobal3 2407802
  1106. GetImmediate2 4113
  1107. push_0
  1108. push_1
  1109. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1110. Drop
  1111. pGlobal3 2407802
  1112. GetImmediate2 4113
  1113. StaticGet2 241
  1114. push_1
  1115. CallNative "GET_ENTITY_COORDS" 2 3
  1116. push_0
  1117. Push 40000
  1118. pGlobal3 2407802
  1119. GetImmediate2 4113
  1120. push_0
  1121. push_1
  1122. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1123. Drop
  1124. pGlobal3 2407802
  1125. GetImmediate2 4113
  1126. StaticGet2 241
  1127. push_1
  1128. CallNative "GET_ENTITY_COORDS" 2 3
  1129. push_0
  1130. Push 40000
  1131. pGlobal3 2407802
  1132. GetImmediate2 4113
  1133. push_0
  1134. push_1
  1135. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1136. Drop
  1137. pGlobal3 2407802
  1138. GetImmediate2 4113
  1139. StaticGet2 241
  1140. push_1
  1141. CallNative "GET_ENTITY_COORDS" 2 3
  1142. push_0
  1143. Push 40000
  1144. pGlobal3 2407802
  1145. GetImmediate2 4113
  1146. push_0
  1147. push_1
  1148. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1149. Drop
  1150. pGlobal3 2407802
  1151. GetImmediate2 4113
  1152. StaticGet2 241
  1153. push_1
  1154. CallNative "GET_ENTITY_COORDS" 2 3
  1155. push_0
  1156. Push 40000
  1157. pGlobal3 2407802
  1158. GetImmediate2 4113
  1159. push_0
  1160. push_1
  1161. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1162. Drop
  1163. pGlobal3 2407802
  1164. GetImmediate2 4113
  1165. StaticGet2 241
  1166. push_1
  1167. CallNative "GET_ENTITY_COORDS" 2 3
  1168. push_0
  1169. Push 40000
  1170. pGlobal3 2407802
  1171. GetImmediate2 4113
  1172. push_0
  1173. push_1
  1174. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1175. Drop
  1176. pGlobal3 2407802
  1177. GetImmediate2 4113
  1178. StaticGet2 241
  1179. push_1
  1180. CallNative "GET_ENTITY_COORDS" 2 3
  1181. push_0
  1182. Push 40000
  1183. pGlobal3 2407802
  1184. GetImmediate2 4113
  1185. push_0
  1186. push_1
  1187. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1188. Drop
  1189. pGlobal3 2407802
  1190. GetImmediate2 4113
  1191. StaticGet2 241
  1192. push_1
  1193. CallNative "GET_ENTITY_COORDS" 2 3
  1194. push_0
  1195. Push 40000
  1196. pGlobal3 2407802
  1197. GetImmediate2 4113
  1198. push_0
  1199. push_1
  1200. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1201. Drop
  1202. pGlobal3 2407802
  1203. GetImmediate2 4113
  1204. StaticGet2 241
  1205. push_1
  1206. CallNative "GET_ENTITY_COORDS" 2 3
  1207. push_0
  1208. Push 40000
  1209. pGlobal3 2407802
  1210. GetImmediate2 4113
  1211. push_0
  1212. push_1
  1213. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1214. Drop
  1215. pGlobal3 2407802
  1216. GetImmediate2 4113
  1217. StaticGet2 241
  1218. push_1
  1219. CallNative "GET_ENTITY_COORDS" 2 3
  1220. push_0
  1221. Push 40000
  1222. pGlobal3 2407802
  1223. GetImmediate2 4113
  1224. push_0
  1225. push_1
  1226. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1227. Drop
  1228. pGlobal3 2407802
  1229. GetImmediate2 4113
  1230. StaticGet2 241
  1231. push_1
  1232. CallNative "GET_ENTITY_COORDS" 2 3
  1233. push_0
  1234. Push 40000
  1235. pGlobal3 2407802
  1236. GetImmediate2 4113
  1237. push_0
  1238. push_1
  1239. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1240. Drop
  1241. pGlobal3 2407802
  1242. GetImmediate2 4113
  1243. StaticGet2 241
  1244. push_1
  1245. CallNative "GET_ENTITY_COORDS" 2 3
  1246. push_0
  1247. Push 40000
  1248. pGlobal3 2407802
  1249. GetImmediate2 4113
  1250. push_0
  1251. push_1
  1252. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1253. Drop
  1254. pGlobal3 2407802
  1255. GetImmediate2 4113
  1256. StaticGet2 241
  1257. push_1
  1258. CallNative "GET_ENTITY_COORDS" 2 3
  1259. push_0
  1260. Push 40000
  1261. pGlobal3 2407802
  1262. GetImmediate2 4113
  1263. push_0
  1264. push_1
  1265. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1266. Drop
  1267. pGlobal3 2407802
  1268. GetImmediate2 4113
  1269. StaticGet2 241
  1270. push_1
  1271. CallNative "GET_ENTITY_COORDS" 2 3
  1272. push_0
  1273. Push 40000
  1274. pGlobal3 2407802
  1275. GetImmediate2 4113
  1276. push_0
  1277. push_1
  1278. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1279. Drop
  1280. pGlobal3 2407802
  1281. GetImmediate2 4113
  1282. StaticGet2 241
  1283. push_1
  1284. CallNative "GET_ENTITY_COORDS" 2 3
  1285. push_0
  1286. Push 40000
  1287. pGlobal3 2407802
  1288. GetImmediate2 4113
  1289. push_0
  1290. push_1
  1291. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1292. Drop
  1293. pGlobal3 2407802
  1294. GetImmediate2 4113
  1295. StaticGet2 241
  1296. push_1
  1297. CallNative "GET_ENTITY_COORDS" 2 3
  1298. push_0
  1299. Push 40000
  1300. pGlobal3 2407802
  1301. GetImmediate2 4113
  1302. push_0
  1303. push_1
  1304. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  1305. Drop
  1306. Jump @EndOtherLoops_
  1307. :EndOtherLoops_
  1308. Return 0 0
  1309.  
  1310. //>
  1311. //< Open Menu Stuff
  1312. // No reason to mess with this stuff
  1313. :OpenMenuStuff_
  1314. Function 0 2 0
  1315. Call @DrawBar_
  1316. Call @DisableControls_
  1317. //Button: Up
  1318. push_2
  1319. Push 202
  1320. CallNative "IS_DISABLED_CONTROL_JUST_PRESSED" 2 1
  1321. push_1
  1322. JumpEQ @MenuUp_
  1323. //Button: Down
  1324. push_2
  1325. Push 203
  1326. CallNative "IS_DISABLED_CONTROL_JUST_PRESSED" 2 1
  1327. push_1
  1328. JumpEQ @MenuDown_
  1329. //Button: B
  1330. push_2
  1331. Push 195
  1332. CallNative "IS_DISABLED_CONTROL_JUST_PRESSED" 2 1
  1333. push_1
  1334. JumpEQ @GoBackSubmenu_
  1335. Jump @EndOpenMenuStuff_
  1336. :GoBackSubmenu_
  1337. PushString "BACK"
  1338. Call @PlayFrontendSound_
  1339. StaticGet1 1
  1340. push_1
  1341. JumpEQ @CloseDownMenu_
  1342. StaticGet1 8
  1343. StaticSet1 1
  1344. StaticGet2 443
  1345. StaticSet1 2
  1346. StaticGet2 444
  1347. StaticSet1 4
  1348. Jump @EndOpenMenuStuff_
  1349. :MenuUp_
  1350. StaticGet1 2
  1351. fPush_1.0
  1352. JumpEQ @SwapToBottom_
  1353. StaticGet1 2
  1354. fPush_1.0
  1355. fSub
  1356. StaticSet1 2
  1357. StaticGet1 4
  1358. fPush 0.04
  1359. fSub
  1360. StaticSet1 4
  1361. PushString "NAV_UP_DOWN"
  1362. Call @PlayFrontendSound_
  1363. Jump @EndOpenMenuStuff_
  1364. :SwapToBottom_
  1365. //Calculate Y position
  1366. StaticGet1 3
  1367. fPush 0.04
  1368. fMul
  1369. fPush 0.139
  1370. fAdd
  1371. StaticSet1 4
  1372. StaticGet1 3
  1373. StaticSet1 2
  1374. PushString "NAV_UP_DOWN"
  1375. Call @PlayFrontendSound_
  1376. Jump @EndOpenMenuStuff_
  1377. :MenuDown_
  1378. StaticGet1 2
  1379. StaticGet1 3
  1380. JumpEQ @SwapToTop_
  1381. StaticGet1 2
  1382. fPush_1.0
  1383. fAdd
  1384. StaticSet1 2
  1385. StaticGet1 4
  1386. fPush 0.04
  1387. fAdd
  1388. StaticSet1 4
  1389. PushString "NAV_UP_DOWN"
  1390. Call @PlayFrontendSound_
  1391. Jump @EndOpenMenuStuff_
  1392. :SwapToTop_
  1393. fPush 0.179
  1394. StaticSet1 4
  1395. fPush_1.0
  1396. StaticSet1 2
  1397. PushString "NAV_UP_DOWN"
  1398. Call @PlayFrontendSound_
  1399. Jump @EndOpenMenuStuff_
  1400. :CloseDownMenu_
  1401. push_2
  1402. CallNative "ENABLE_ALL_CONTROL_ACTIONS" 1 0
  1403. PushString "BACK"
  1404. Call @PlayFrontendSound_
  1405. push_0
  1406. StaticSet1 1
  1407. :EndOpenMenuStuff_
  1408. Return 0 0
  1409. //>
  1410.  
  1411. //< Close Menu Stuff
  1412. // No reason to mess with this stuff
  1413. :ClosedMenuStuff_
  1414. Function 0 2 0
  1415. //Button: LB
  1416. push_2
  1417. Push 181
  1418. CallNative "IS_CONTROL_PRESSED" 2 1
  1419. push_1
  1420. JumpEQ @MonitorButtonX_
  1421. Jump @EndCloseMenuStuff_
  1422. :MonitorButtonX_
  1423. //DPAD:Right
  1424. push_2
  1425. Push 205
  1426. CallNative "IS_CONTROL_PRESSED" 2 1
  1427. push_1
  1428. JumpEQ @OpenUpMenu_
  1429. Jump @EndCloseMenuStuff_
  1430. :OpenUpMenu_
  1431. PushString "SELECT"
  1432. Call @PlayFrontendSound_
  1433. push_1
  1434. StaticSet1 1
  1435. push_1
  1436. StaticSet1 8
  1437. fPush_1.0
  1438. StaticSet1 2
  1439. fPush 0.179
  1440. StaticSet1 4
  1441. :EndCloseMenuStuff_
  1442. Return 0 0
  1443.  
  1444. :ChangeSubmenu_
  1445. Function 0 2 0
  1446. StaticGet1 2
  1447. StaticSet2 443
  1448. StaticGet1 4
  1449. StaticSet2 444
  1450. fPush_1.0
  1451. StaticSet1 2
  1452. fPush 0.179
  1453. StaticSet1 4
  1454. Return 0 0
  1455. //>
  1456.  
  1457. //< Console
  1458. // No reason to mess with this stuff
  1459. //< Console Actions
  1460.  
  1461. :ConsoleStuff_
  1462. Function 0 2 0
  1463. fPush 15
  1464. StaticSet1 3
  1465. Call @DrawBackground_
  1466. Call @DisableControls_
  1467. //Button B
  1468. push_2
  1469. Push 195
  1470. CallNative "IS_DISABLED_CONTROL_JUST_PRESSED" 2 1
  1471. push_1
  1472. JumpEQ @ConsoleGoBackSubmenu_
  1473. Jump @EndConsoleStuff_
  1474. :ConsoleGoBackSubmenu_
  1475. PushString "BACK"
  1476. Call @PlayFrontendSound_
  1477. StaticGet1 8
  1478. StaticSet1 1
  1479. StaticGet2 443
  1480. StaticSet1 2
  1481. StaticGet2 444
  1482. StaticSet1 4
  1483. :EndConsoleStuff_
  1484. Return 0 0
  1485. //>
  1486.  
  1487. //< StatSet
  1488. :StatSetInt_
  1489. Function 2 2 0
  1490. getF1 0
  1491. CallNative "GET_HASH_KEY" 1 1
  1492. getF1 1
  1493. push_1
  1494. CallNative "STAT_SET_INT" 3 1
  1495. Drop
  1496. Return 2 0
  1497. :StatSetBool_
  1498. Function 2 2 0
  1499. getF1 0
  1500. CallNative "GET_HASH_KEY" 1 1
  1501. getF1 1
  1502. push_1
  1503. CallNative "STAT_SET_BOOL" 3 1
  1504. Drop
  1505. Return 2 0
  1506. :StatSetFloat_
  1507. Function 2 2 0
  1508. getF1 0
  1509. CallNative "GET_HASH_KEY" 1 1
  1510. getF1 1
  1511. push_1
  1512. CallNative "STAT_SET_FLOAT" 3 1
  1513. Drop
  1514. Return 2 0
  1515. //>
  1516. //>
  1517. :StatSetIntStatic23_
  1518. Function 2 2 0
  1519. StaticGet1 23
  1520. getF1 0
  1521. Call @AddStrings_
  1522. CallNative "GET_HASH_KEY" 1 1
  1523. getF1 1
  1524. push_1
  1525. CallNative "STAT_SET_INT" 3 1
  1526. Drop
  1527. Return 2 0
  1528.  
  1529. //< String Stuff
  1530. :AddConsoleEntry_
  1531. Function 2 2 0
  1532. getF1 0
  1533. fPush 0.03
  1534. fMul
  1535. fPush 0.13
  1536. fAdd
  1537. StaticSet1 7
  1538. Call @StringBase_
  1539. PushString "STRING"
  1540. CallNative "UNK_3E35563E" 1 0
  1541. getF1 1
  1542. CallNative "UNK_27A244D8" 1 0
  1543. fPush 0.06
  1544. StaticGet1 7
  1545. CallNative "UNK_6F8350CE" 2 0
  1546. Return 2 0
  1547. //>
  1548. //>
  1549.  
  1550. //< Utilities
  1551. :CheckAPressed_
  1552. Function 0 2 0
  1553. push_2
  1554. Push 193
  1555. CallNative "IS_DISABLED_CONTROL_JUST_PRESSED" 2 1
  1556. Return 0 1
  1557.  
  1558. //< Check Pause Menu
  1559. :CheckPauseMenu_
  1560. Function 0 3 0
  1561. CallNative "IS_PAUSE_MENU_ACTIVE" 0 1
  1562. JumpFalse @CheckPauseMenu_NoProb
  1563. push_0
  1564. StaticSet1 1
  1565. Call @ChangeSubmenu_
  1566. :CheckPauseMenu_NoProb
  1567. Return 0 0
  1568. //>
  1569. :Label_61
  1570. Function 1 4 0
  1571. PushString "STRING"
  1572. CallNative "UNK_574EE85C" 1 0
  1573. getF1 0
  1574. CallNative "UNK_27A244D8" 1 0
  1575. push_0
  1576. push_1
  1577. CallNative "UNK_08F7AF78" 2 1
  1578. Drop
  1579. Return 1 0
  1580.  
  1581.  
  1582. Function 2 6 0
  1583. PushString "TWOSTRINGS"
  1584. CallNative "UNK_574EE85C" 1 0
  1585. getF1 0
  1586. CallNative "UNK_27A244D8" 1 0
  1587. getF1 1
  1588. CallNative "UNK_27A244D8" 1 0
  1589. push_0
  1590. push_1
  1591. CallNative "UNK_08F7AF78" 2 1
  1592. Drop
  1593. Return 2 0
  1594.  
  1595. :PlayFrontendSound_
  1596. Function 1 2 0
  1597. push_-1
  1598. getF1 0
  1599. PushString "HUD_FRONTEND_DEFAULT_SOUNDSET"
  1600. CallNative "PLAY_SOUND_FRONTEND" 3 0
  1601. Return 1 0
  1602.  
  1603. //< Disable Controls
  1604. // No reason to mess with this stuff
  1605. :DisableControls_
  1606. Function 0 2 0
  1607. //Function by XBLToothpik
  1608. CallNative "HIDE_HELP_TEXT_THIS_FRAME" 0 0
  1609. push_0
  1610. CallNative "SET_CINEMATIC_BUTTON_ACTIVE" 1 0
  1611. push_0
  1612. push_0
  1613. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1614. push_0
  1615. Push 93
  1616. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1617. push_0
  1618. Push 72
  1619. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1620. push_0
  1621. Push 76
  1622. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1623. push_2
  1624. Push 179
  1625. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  1626. push_2
  1627. Push 177
  1628. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  1629. push_2
  1630. Push 178
  1631. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  1632. push_0
  1633. Push 49
  1634. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1635. push_2
  1636. Push 164
  1637. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  1638. push_2
  1639. Push 165
  1640. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  1641. push_2
  1642. Push 177
  1643. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1644. push_2
  1645. Push 178
  1646. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1647. push_2
  1648. Push 166
  1649. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1650. push_2
  1651. Push 167
  1652. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1653. push_2
  1654. Push 164
  1655. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1656. push_2
  1657. Push 165
  1658. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1659. Push 10
  1660. CallNative "HIDE_HUD_COMPONENT_THIS_FRAME" 1 0
  1661. push_6
  1662. CallNative "HIDE_HUD_COMPONENT_THIS_FRAME" 1 0
  1663. push_7
  1664. CallNative "HIDE_HUD_COMPONENT_THIS_FRAME" 1 0
  1665. Push 9
  1666. CallNative "HIDE_HUD_COMPONENT_THIS_FRAME" 1 0
  1667. Push 8
  1668. CallNative "HIDE_HUD_COMPONENT_THIS_FRAME" 1 0
  1669. push_2
  1670. Push 166
  1671. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  1672. push_2
  1673. Push 167
  1674. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  1675. push_0
  1676. Push 40
  1677. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1678. push_0
  1679. Push 139
  1680. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1681. push_0
  1682. Push 140
  1683. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1684. push_0
  1685. Push 141
  1686. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1687. push_0
  1688. Push 142
  1689. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1690. push_0
  1691. Push 143
  1692. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1693. push_0
  1694. Push 144
  1695. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1696. push_0
  1697. Push 145
  1698. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1699. push_0
  1700. Push 146
  1701. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1702. push_0
  1703. Push 147
  1704. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1705. push_0
  1706. Push 17
  1707. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1708. push_0
  1709. Push 18
  1710. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1711. push_0
  1712. Push 53
  1713. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1714. push_0
  1715. Push 54
  1716. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1717. push_0
  1718. Push 123
  1719. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1720. push_0
  1721. Push 124
  1722. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1723. push_0
  1724. Push 126
  1725. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1726. push_0
  1727. Push 48
  1728. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1729. push_0
  1730. Push 70
  1731. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1732. push_0
  1733. Push 79
  1734. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1735. push_0
  1736. Push 52
  1737. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1738. push_0
  1739. Push 46
  1740. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1741. push_0
  1742. Push 55
  1743. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1744. push_0
  1745. Push 76
  1746. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1747. push_0
  1748. Push 25
  1749. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1750. push_0
  1751. Push 93
  1752. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1753. push_0
  1754. Push 106
  1755. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1756. push_0
  1757. Push 149
  1758. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1759. push_0
  1760. Push 148
  1761. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1762. push_0
  1763. Push 150
  1764. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1765. push_0
  1766. Push 151
  1767. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1768. push_0
  1769. Push 22
  1770. CallNative "DISABLE_CONTROL_ACTION" 2 0
  1771. Return 0 0
  1772. //>
  1773. //< OnScreenKeyboard
  1774. :PromptUser_
  1775. Function 0 2 0
  1776. push_0
  1777. PushString "PM_NAME_CHALL"
  1778. PushString ""
  1779. PushString ""
  1780. PushString ""
  1781. PushString ""
  1782. PushString ""
  1783. Push 225
  1784. CallNative "DISPLAY_ONSCREEN_KEYBOARD" 8 0
  1785. Push 100
  1786. CallNative "WAIT" 1 0
  1787. :CheckResponse_
  1788. push_0
  1789. CallNative "WAIT" 1 0
  1790. CallNative "IS_SYSTEM_UI_BEING_DISPLAYED" 0 1
  1791. JumpFalse @ReturnResponse_
  1792. Jump @CheckResponse_
  1793. :ReturnResponse_
  1794. CallNative "GET_ONSCREEN_KEYBOARD_RESULT" 0 1
  1795. Return 0 1
  1796. //>
  1797. //>
  1798. //< Get Player Name
  1799. :GetPlayerName_
  1800. Function 1 2 0
  1801. getF1 0
  1802. CallNative "NETWORK_IS_PLAYER_ACTIVE" 1 1
  1803. JumpFalse @GetPlayerNameFalse_
  1804. getF1 0
  1805. CallNative "GET_PLAYER_NAME" 1 1
  1806. Return 1 1
  1807. :GetPlayerNameFalse_
  1808. PushString "**Invalid**"
  1809. Return 1 1
  1810. :GetPlayerNameSctv_
  1811. Function 1 2 0
  1812. getF1 0
  1813. CallNative "NETWORK_IS_PLAYER_ACTIVE" 1 1
  1814. JumpFalse @GetPlayerNameFalseSctv_
  1815. getF1 0
  1816. CallNative "GET_PLAYER_NAME" 1 1
  1817. Return 1 1
  1818. :GetPlayerNameFalseSctv_
  1819. PushString "~r~SCTV SLOT------------------"
  1820. Return 1 1
  1821.  
  1822. :MsgStuff_
  1823. Function 2 3 0
  1824. PushString "STRING"
  1825. CallNative "UNK_F42C43C7" 1 0
  1826. getF1 0
  1827. CallNative "UNK_27A244D8" 1 0
  1828. getF1 1
  1829. push_1
  1830. CallNative "UNK_38F82261" 2 0
  1831. Return 2 0
  1832.  
  1833. //< Print String Bottom Centre
  1834. :PrintStringBottomCentre_
  1835. Function 2 3 0
  1836. PushString "STRING"
  1837. CallNative "UNK_F42C43C7" 1 0
  1838. getF1 0
  1839. CallNative "UNK_27A244D8" 1 0
  1840. getF1 1
  1841. push_1
  1842. CallNative "UNK_38F82261" 2 0
  1843. Return 2 0
  1844. //>
  1845. //< Print bottom left
  1846. :PrintBottomLeft_
  1847. Function 1 4 0
  1848. PushString "STRING"
  1849. CallNative "UNK_574EE85C" 1 0
  1850. getF1 0
  1851. CallNative "UNK_27A244D8" 1 0
  1852. push_0
  1853. push_1
  1854. CallNative "UNK_08F7AF78" 2 1
  1855. Drop
  1856. Return 1 0
  1857. //>
  1858. //< Find free car seat for teleporting into player vehicle
  1859. :FindFreeCarSeat_
  1860. Function 1 4 0
  1861. getF1 0
  1862. CallNative "GET_VEHICLE_MAX_NUMBER_OF_PASSENGERS" 1 1
  1863. setF1 4
  1864. push_-1
  1865. setF1 3
  1866. :FindFreeCarSeat_loop
  1867. getF1 3
  1868. getF1 4
  1869. JumpGE @FindFreeCarSeat_end
  1870. getF1 0
  1871. getF1 3
  1872. CallNative "IS_VEHICLE_SEAT_FREE" 2 1
  1873. JumpFalse @FindFreeCarSeat_iter
  1874. getF1 3
  1875. Return 1 1
  1876. :FindFreeCarSeat_iter
  1877. getF1 3
  1878. Add1 1
  1879. setF1 3
  1880. Jump @FindFreeCarSeat_loop
  1881. :FindFreeCarSeat_end
  1882. Push 368641790
  1883. Return 0 0
  1884. //>
  1885. //< Request Control of Vehicle
  1886. :RequestControlOfVeh_
  1887. Function 1 2 0
  1888. push_0
  1889. StaticSet2 468
  1890. getF1 0
  1891. CallNative "NETWORK_REQUEST_CONTROL_OF_ENTITY" 1 1
  1892. Not
  1893. JumpFalse @RequestControlOfVehRet_
  1894. :RequestControlOfVehHas_
  1895. getF1 0
  1896. CallNative "NETWORK_HAS_CONTROL_OF_ENTITY" 1 1
  1897. push_0
  1898. CallNative "WAIT" 1 0
  1899. getF1 0
  1900. CallNative "NETWORK_REQUEST_CONTROL_OF_ENTITY" 1 1
  1901. Not
  1902. JumpFalse @RequestControlOfVehRet_
  1903. StaticGet2 468
  1904. Add1 1
  1905. StaticSet2 468
  1906. StaticGet2 468
  1907. Push 50
  1908. Jump @RequestControlOfVehHas_
  1909. :RequestControlOfVehRet_
  1910. Return 1 0
  1911. //>
  1912. //>
  1913. //>
  1914. //< Print XYZH Coords
  1915. :LoopMiscOpsXYZHCoords_DrawCoords
  1916. Function 5 4 3
  1917. getF1 0
  1918. fPush 0.05000000
  1919. fPush 0.10000000
  1920. Call @LoopMiscOpsXYZHCoords_DrawFloat
  1921. getF1 1
  1922. fPush 0.05000000
  1923. fPush 0.13000000
  1924. Call @LoopMiscOpsXYZHCoords_DrawFloat
  1925. getF1 2
  1926. fPush 0.05000000
  1927. fPush 0.16000000
  1928. Call @LoopMiscOpsXYZHCoords_DrawFloat
  1929. getF1 3
  1930. fPush 0.05000000
  1931. fPush 0.19000000
  1932. Call @LoopMiscOpsXYZHCoords_DrawFloat
  1933. Return 4 0
  1934.  
  1935. :LoopMiscOpsXYZHCoords_DrawFloat
  1936. Function 4 3 3
  1937. Call @MiscOpsXYZHCoordsSetUpDraw_
  1938. PushString "NUMBER"
  1939. CallNative "UNK_3E35563E" 1 0
  1940. getF1 0
  1941. push_4
  1942. CallNative "IS_PED_HIDING_NEAR_INDICATORLIGHTS" 2 0
  1943. getF1 1
  1944. getF1 2
  1945. CallNative "UNK_6F8350CE" 2 0
  1946. Return 3 0
  1947.  
  1948. :LoopMiscOpsXYZHCoords_GetCoords
  1949. Function 3 1 3
  1950. getF1 0
  1951. CallNative "GET_PLAYER_PED" 1 1
  1952. push_0
  1953. CallNative "GET_ENTITY_COORDS" 2 3
  1954. Return 1 3
  1955.  
  1956. :MiscOpsXYZHCoordsSetUpDraw_
  1957. Function 1 0 2
  1958. StaticGet2 403
  1959. CallNative "SET_TEXT_FONT" 1 0
  1960. fPush 0.35
  1961. fPush 0.35
  1962. CallNative "SET_TEXT_SCALE" 2 0
  1963. Push1 255
  1964. Push1 255
  1965. Push1 255
  1966. Push1 255
  1967. CallNative "SET_TEXT_COLOUR" 4 0
  1968. fPush_0.0
  1969. fPush_1.0
  1970. CallNative "SET_TEXT_WRAP" 2 0
  1971. push_0
  1972. CallNative "SET_TEXT_CENTRE" 1 0
  1973. push_0
  1974. push_0
  1975. push_0
  1976. push_0
  1977. push_0
  1978. CallNative "SET_TEXT_DROPSHADOW" 5 0
  1979. push_0
  1980. push_0
  1981. push_0
  1982. push_0
  1983. push_0
  1984. CallNative "SET_TEXT_EDGE" 5 0
  1985. Return 0 0
  1986. //>
  1987. //< Request Model
  1988. :ChangeModel_
  1989. Function 1 2 0
  1990. getF1 0
  1991. CallNative "REQUEST_MODEL" 1 0
  1992. CallNative "PLAYER_ID" 0 1
  1993. getF1 0
  1994. CallNative "SET_PLAYER_MODEL" 2 0
  1995. Return 1 0
  1996. //:RequestModel_
  1997. //Function 1 2 0
  1998. //getF1 0
  1999. //CallNative "REQUEST_MODEL" 1 0
  2000. //:RequestModelStatus_
  2001. //getF1 0
  2002. //CallNative "HAS_MODEL_LOADED" 1 1
  2003. //Not
  2004. //JumpFalse @RequestModelRet_
  2005. //:RequestModelUnableTo_
  2006. //PushString "Unable to load model."
  2007. //Call @PrintBottomLeft_
  2008. //:RequestModelRet_
  2009. //Return 1 0
  2010. //>
  2011. //< AddStrings_
  2012. //Used in GetCurrentCharacter_
  2013. :AddStrings_
  2014. Function 2 2 0
  2015. getF1 0
  2016. pStatic2 100
  2017. StrCopy 64
  2018. getF1 1
  2019. pStatic2 100
  2020. StrAdd 64
  2021. pStatic2 100
  2022. Return 2 1
  2023. //>
  2024. //< String Stuff
  2025. :StringBase_
  2026. Function 0 2 0
  2027. push_0
  2028. CallNative "SET_TEXT_FONT" 1 0
  2029. fPush 0.4
  2030. fPush 0.4
  2031. CallNative "SET_TEXT_SCALE" 2 0
  2032. Push 255
  2033. Push 255
  2034. Push 255
  2035. Push 255
  2036. CallNative "SET_TEXT_COLOUR" 4 0
  2037. fPush_0.0
  2038. fPush_1.0
  2039. CallNative "SET_TEXT_WRAP" 2 0
  2040. push_0
  2041. CallNative "SET_TEXT_CENTRE" 1 0
  2042. push_0
  2043. push_0
  2044. push_0
  2045. push_0
  2046. push_0
  2047. CallNative "SET_TEXT_DROPSHADOW" 5 0
  2048. push_0
  2049. push_0
  2050. push_0
  2051. push_0
  2052. push_0
  2053. CallNative "SET_TEXT_EDGE" 5 0
  2054. CallNative "SET_TEXT_OUTLINE" 0 0
  2055. Return 0 0
  2056.  
  2057. :AddOption_
  2058. Function 2 2 0
  2059. getF1 0
  2060. fPush 0.04
  2061. fMul
  2062. fPush 0.125
  2063. fAdd
  2064. StaticSet1 7
  2065. Call @StringBase_
  2066. PushString "STRING"
  2067. CallNative "UNK_3E35563E" 1 0
  2068. getF1 1
  2069. CallNative "UNK_27A244D8" 1 0
  2070. fPush 0.07
  2071. StaticGet1 7
  2072. CallNative "UNK_6F8350CE" 2 0
  2073. Return 2 0
  2074.  
  2075. :AddTitle_
  2076. Function 1 2 0
  2077. Call @StringBase_
  2078. push_1
  2079. CallNative "SET_TEXT_FONT" 1 0
  2080. fPush 0.8
  2081. fPush 0.8
  2082. CallNative "SET_TEXT_SCALE" 2 0
  2083. StaticGet2 437
  2084. CallNative "SET_TEXT_CENTRE" 1 0
  2085. PushString "STRING"
  2086. CallNative "UNK_3E35563E" 1 0
  2087. getF1 0
  2088. CallNative "UNK_27A244D8" 1 0
  2089. StaticGet2 438
  2090. fPush 0.1
  2091. CallNative "UNK_6F8350CE" 2 0
  2092. Return 1 0
  2093. //>
  2094.  
  2095. //< Shader Stuff
  2096. // No reason to mess with this stuff
  2097. :DrawBackground_
  2098. Function 0 2 0
  2099. //< Options Background
  2100. //Calculate Y coordinate
  2101. StaticGet1 3
  2102. fPush 0.04
  2103. fMul
  2104. fPush_2.0
  2105. fDiv
  2106. fPush 0.159
  2107. fAdd
  2108. StaticSet1 5
  2109. //Calculate length
  2110. StaticGet1 3
  2111. fPush 0.04
  2112. fMul
  2113. StaticSet1 6
  2114. fPush 0.145
  2115. StaticGet1 5
  2116. fPush 0.19
  2117. StaticGet1 6
  2118. Push3 0 0 205
  2119. Push 35
  2120. CallNative "DRAW_RECT" 8 0
  2121. //>
  2122. //< TitleBox
  2123. fPush 0.145
  2124. fPush 0.1175
  2125. fPush 0.19
  2126. fPush 0.083
  2127. StaticGet2 434
  2128. StaticGet2 435
  2129. StaticGet2 436
  2130. Push 35
  2131. CallNative "DRAW_RECT" 8 0
  2132. //>
  2133. Return 0 0
  2134.  
  2135. :AddInfoBox_
  2136. Function 1 2 0
  2137. //Calculate Y coordinate
  2138. StaticGet1 3
  2139. fPush 0.04
  2140. fMul
  2141. fPush 0.179
  2142. fAdd
  2143. StaticSet2 432
  2144. fPush 0.145
  2145. StaticGet2 432
  2146. fPush 0.19
  2147. fPush 0.04
  2148. StaticGet2 434
  2149. StaticGet2 435
  2150. StaticGet2 436
  2151. Push 35
  2152. CallNative "DRAW_RECT" 8 0
  2153. //Draw credits text
  2154. StaticGet1 3
  2155. fPush_1.0
  2156. fAdd
  2157. fPush 0.04
  2158. fMul
  2159. fPush 0.125
  2160. fAdd
  2161. StaticSet2 433
  2162. Call @StringBase_
  2163. fPush 0.35
  2164. fPush 0.35
  2165. CallNative "SET_TEXT_SCALE" 2 0
  2166. StaticGet2 437
  2167. CallNative "SET_TEXT_CENTRE" 1 0
  2168. PushString "STRING"
  2169. CallNative "UNK_3E35563E" 1 0
  2170. getF1 0
  2171. CallNative "UNK_27A244D8" 1 0
  2172. StaticGet2 438
  2173. StaticGet2 433
  2174. CallNative "UNK_6F8350CE" 2 0
  2175. Return 1 0
  2176.  
  2177. :DrawNormalOptionHighlight_
  2178. Function 0 2 0
  2179. fPush 0.145
  2180. StaticGet1 4
  2181. fPush 0.19
  2182. fPush 0.04
  2183. Push3 255 0 0
  2184. Push 55
  2185. CallNative "DRAW_RECT" 8 0
  2186. Return 0 0
  2187.  
  2188. :DrawColorfulOptionHighlight_
  2189. Function 1 2 0
  2190. getF1 0
  2191. Switch [0=@RedHighlight_][1=@GreenHighlight_][2=@YellowHighlight_]
  2192. :RedHighlight_
  2193. fPush 0.145
  2194. StaticGet1 4
  2195. fPush 0.19
  2196. fPush 0.04
  2197. Push3 255 0 0
  2198. Push 100
  2199. CallNative "DRAW_RECT" 8 0
  2200. Jump @EndColorHighlight_
  2201. :GreenHighlight_
  2202. fPush 0.145
  2203. StaticGet1 4
  2204. fPush 0.19
  2205. fPush 0.04
  2206. Push3 0 255 0
  2207. Push 100
  2208. CallNative "DRAW_RECT" 8 0
  2209. Jump @EndColorHighlight_
  2210. :YellowHighlight_
  2211. fPush 0.145
  2212. StaticGet1 4
  2213. fPush 0.19
  2214. fPush 0.04
  2215. Push3 255 255 0
  2216. Push 255
  2217. CallNative "DRAW_RECT" 8 0
  2218. Jump @EndColorHighlight_
  2219. :EndColorHighlight_
  2220. Return 1 0
  2221.  
  2222. :DrawBar_
  2223. Function 0 2 0
  2224. fPush 0.06
  2225. StaticGet1 4
  2226. fPush -0.005
  2227. fPush 0.04
  2228. Push3 0 0 0
  2229. Push 0
  2230. CallNative "DRAW_RECT" 8 0
  2231. Return 0 0
  2232. //>
  2233.  
  2234. //< Main Menu
  2235. :MainMenu_
  2236. Function 0 2 0
  2237. //Set this to the amount of options in your submenu
  2238. fPush_6.0
  2239. StaticSet2 3
  2240. //Always have this is normal submenus
  2241. Call @DrawBackground_
  2242. //Only include this at the top of your submenu if there will be no colored highlights
  2243. Call @DrawNormalOptionHighlight_
  2244. //No reason to set this more than once in a submenu
  2245. PushString " Private Menu"
  2246. Call @AddInfoBox_
  2247. PushString "RaYRoD's Menu! (v4)"
  2248. Call @AddTitle_
  2249. //This is pretty self explanatory. Just the display names and numbers for the options.
  2250. fPush_1.0
  2251. PushString "Self Mods"
  2252. Call @AddOption_
  2253. fPush_2.0
  2254. PushString "RaYRoD's Locations"
  2255. Call @AddOption_
  2256. fPush_3.0
  2257. PushString "Tunables Options"
  2258. Call @AddOption_
  2259. fPush_4.0
  2260. PushString "Vehicle Options"
  2261. Call @AddOption_
  2262. fPush_5.0
  2263. PushString "Online Players"
  2264. Call @AddOption_
  2265. fPush_6.0
  2266. PushString "Stat Editor"
  2267. Call @AddOption_
  2268. // Menu startup message
  2269. StaticGet1 29
  2270. push_3
  2271. JumpEQ @MainMenuOptions_
  2272. //< Set font right
  2273. push_7
  2274. StaticSet2 400
  2275. push_4
  2276. StaticSet2 401
  2277. push_7
  2278. StaticSet2 402
  2279. push_4
  2280. StaticSet2 403
  2281. //>
  2282. PushString "RaYRoD's - Mod Menu"
  2283. PushString ""
  2284. Call @AddStrings_
  2285. Call @PrintBottomLeft_
  2286. push_3
  2287. StaticSet1 29
  2288. // Set current network player ped as your own
  2289. CallNative "PLAYER_PED_ID" 0 1
  2290. StaticSet2 241
  2291. //Option's functions
  2292. :MainMenuOptions_
  2293. Call @CheckAPressed_
  2294. push_1
  2295. JumpEQ @MainMenuOptionsController_
  2296. Jump @EndMainMenu_
  2297. :MainMenuOptionsController_
  2298. PushString "SELECT"
  2299. Call @PlayFrontendSound_
  2300. StaticGet1 2
  2301. FtoI
  2302. //To add an option to a submenu, add one to the value of static1 3, add a display, and add to this loop.
  2303. //This code is what actually happens when you press on an option.
  2304. Switch [1=@MainMenuSubmenu1_][2=@MainMenuSubmenu2_][3=@MainMenuSubmenu3_][4=@MainMenuSubmenu4_][5=@MainMenuOnlinePlayers_][6=@MainMenuStats_]
  2305. :MainMenuSubmenu1_
  2306. //When making an option go to a different submenu use this example code.
  2307. //Set the push value to the value of the submenu in the switch in the main loop.
  2308. push_3
  2309. StaticSet1 1
  2310. Call @ChangeSubmenu_
  2311. Jump @EndMainMenu_
  2312. :MainMenuSubmenu2_
  2313. push_4
  2314. StaticSet1 1
  2315. Call @ChangeSubmenu_
  2316. Jump @EndMainMenu_
  2317. :MainMenuSubmenu3_
  2318. push_5
  2319. StaticSet1 1
  2320. Call @ChangeSubmenu_
  2321. Jump @EndMainMenu_
  2322. :MainMenuSubmenu4_
  2323. push_6
  2324. StaticSet1 1
  2325. Call @ChangeSubmenu_
  2326. Jump @EndMainMenu_
  2327. :MainMenuOnlinePlayers_
  2328. push_7
  2329. StaticSet1 1
  2330. Call @ChangeSubmenu_
  2331. Jump @EndMainMenu_
  2332. :MainMenuStats_
  2333. Push 22
  2334. StaticSet1 1
  2335. Call @ChangeSubmenu_
  2336. Jump @EndMainMenu_
  2337. :EndMainMenu_
  2338. Return 0 0
  2339. //>
  2340. //>
  2341. //< Secondary Color Picker
  2342. :SettingsSecondaryColor_
  2343. Function 0 2 0
  2344. fPush_1.0
  2345. StaticSet1 3
  2346. push_2
  2347. StaticSet1 8
  2348. Call @DrawBackground_
  2349. Call @DrawNormalOptionHighlight_
  2350. PushString "Color Picker"
  2351. Call @AddInfoBox_
  2352. PushString "Color Picker"
  2353. Call @AddTitle_
  2354. fPush_1.0
  2355. PushString "Blue"
  2356. Call @AddOption_
  2357. //Option's functions
  2358. Call @CheckAPressed_
  2359. push_1
  2360. JumpEQ @SettingsSecondaryColorController_
  2361. Jump @EndSettingsSecondaryColor_
  2362. :SettingsSecondaryColorController_
  2363. PushString "SELECT"
  2364. Call @PlayFrontendSound_
  2365. StaticGet1 2
  2366. FtoI
  2367. Switch [1=@SettingsSecondaryColorBlue_]
  2368. :SettingsSecondaryColorBlue_
  2369. Push 205
  2370. StaticSet2 434
  2371. push_0
  2372. StaticSet2 435
  2373. push_0
  2374. StaticSet2 436
  2375. Jump @EndSettingsSecondaryColor_
  2376. :EndSettingsSecondaryColor_
  2377. Return 0 0
  2378. //>
  2379. //< Center Secondary Text Highlighter
  2380. :SettingsCenterSecondaryTextHighlightChecker_
  2381. Function 0 2 0
  2382. StaticGet2 435
  2383. push_0
  2384. JumpEQ @CenterSecondaryHighlightRed_
  2385. push_1
  2386. Call @DrawColorfulOptionHighlight_
  2387. Jump @EndCenterSecondaryHighlighter_
  2388. :CenterSecondaryHighlightRed_
  2389. push_0
  2390. Call @DrawColorfulOptionHighlight_
  2391. :EndCenterSecondaryHighlighter_
  2392. Return 0 0
  2393. //>
  2394. //< Toggle Center Secondary
  2395. :ToggleCenterSecondary_
  2396. Function 0 2 0
  2397. StaticGet2 437
  2398. push_0
  2399. JumpEQ @CenterSecondary_
  2400. push_0
  2401. StaticSet2 437
  2402. fPush 0.07
  2403. StaticSet2 438
  2404. Jump @EndToggleCenterSecondary_
  2405. :CenterSecondary_
  2406. push_1
  2407. StaticSet2 437
  2408. fPush 0.145
  2409. StaticSet2 438
  2410. :EndToggleCenterSecondary_
  2411. Return 0 0
  2412. //>
  2413. //>
  2414. //< Submenu 1
  2415. :Submenu1_
  2416. Function 0 2 0
  2417. fPush 15
  2418. StaticSet1 3
  2419. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  2420. //It was not included in the main menu because that is handled elsewhere and is not needed.
  2421. push_1
  2422. StaticSet1 8
  2423. Call @DrawBackground_
  2424. Call @DrawNormalOptionHighlight_
  2425. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  2426. PushString "Self Mods"
  2427. Call @AddInfoBox_
  2428. PushString "Self Options"
  2429. Call @AddTitle_
  2430. fPush_1.0
  2431. PushString "God-Mode"
  2432. Call @AddOption_
  2433. fPush_2.0
  2434. PushString "Invisible"
  2435. Call @AddOption_
  2436. fPush_3.0
  2437. PushString "Flicker Mode"
  2438. Call @AddOption_
  2439. fPush_4.0
  2440. PushString "Remove Wanted"
  2441. Call @AddOption_
  2442. fPush_5.0
  2443. PushString "Clone Self"
  2444. Call @AddOption_
  2445. fPush_6.0
  2446. PushString "Heat-Vision"
  2447. Call @AddOption_
  2448. fPush_7.0
  2449. PushString "Night-Vision"
  2450. Call @AddOption_
  2451. fPush 8
  2452. PushString "Give Snowball"
  2453. Call @AddOption_
  2454. fPush 9
  2455. PushString "Fly Away (For Superman Mod)"
  2456. Call @AddOption_
  2457. fPush 10
  2458. PushString "Super-Jump (L2 + Square)"
  2459. Call @AddOption_
  2460. fPush 11
  2461. PushString "Super-Run"
  2462. Call @AddOption_
  2463. fPush 12
  2464. PushString "Wash Player Loop"
  2465. Call @AddOption_
  2466. fPush 13
  2467. PushString "Rockstar Logo on shirt"
  2468. Call @AddOption_
  2469. fPush 14
  2470. PushString "Slow Motion (On)"
  2471. Call @AddOption_
  2472. fPush 15
  2473. PushString "Slow Motion (Off)"
  2474. Call @AddOption_
  2475. //Option's functions
  2476. Call @CheckAPressed_
  2477. push_1
  2478. JumpEQ @Submenu1Controller_
  2479. Jump @EndSubmenu1_
  2480. :Submenu1Controller_
  2481. PushString "SELECT"
  2482. Call @PlayFrontendSound_
  2483. StaticGet1 2
  2484. FtoI
  2485. Switch [1=@Godmode_][2=@Invisible_][3=@GhostMode_][4=@Sub1Op4_][5=@Sub1Op5_][6=@HeatVision_][7=@NightVision_][8=@Sub1Op8_][9=@Sub1Op9_][10=@PlayerSuperJump_][11=@PlayerSuperRun_][12=@PlayerWashPlayer_][13=@RockstarLogo_][14=@Slowmo_][15=@SlowMoOFF_]
  2486. :Godmode_
  2487. StaticGet1 10
  2488. Push1 28
  2489. CallNative "IS_BIT_SET" 2 1
  2490. JumpFalse @GodModeOn_
  2491. PushString "God Mode: ~r~Off"
  2492. PushS 2500
  2493. Call @MsgStuff_
  2494. pStatic1 10
  2495. Push1 28
  2496. CallNative "CLEAR_BIT" 2 0
  2497. Jump @EndSubmenu1_
  2498. :GodModeOn_
  2499. PushString "God Mode: ~g~On"
  2500. PushS 2500
  2501. Call @MsgStuff_
  2502. pStatic1 10
  2503. Push1 28
  2504. CallNative "SET_BIT" 2 0
  2505. Jump @EndSubmenu1_
  2506. :Invisible_
  2507. CallNative "PLAYER_PED_ID" 0 1
  2508. CallNative "IS_ENTITY_VISIBLE" 1 1
  2509. Not
  2510. JumpFalse @InvisibleOn_
  2511. PushString "Invisible: ~r~Off"
  2512. PushS 2500
  2513. Call @MsgStuff_
  2514. CallNative "PLAYER_PED_ID" 0 1
  2515. push_1
  2516. CallNative "SET_ENTITY_VISIBLE" 2 0
  2517. push_0
  2518. StaticSet2 494
  2519. Jump @EndSubmenu1_
  2520. :InvisibleOn_
  2521. PushString "Invisible: ~g~On"
  2522. PushS 2500
  2523. Call @MsgStuff_
  2524. CallNative "PLAYER_PED_ID" 0 1
  2525. push_0
  2526. CallNative "SET_ENTITY_VISIBLE" 2 0
  2527. push_1
  2528. StaticSet2 494
  2529. Jump @EndSubmenu1_
  2530. :GhostMode_
  2531. StaticGet1 10
  2532. Push1 31
  2533. CallNative "IS_BIT_SET" 2 1
  2534. JumpFalse @GhostModeOn_
  2535. pStatic1 10
  2536. Push1 31
  2537. CallNative "CLEAR_BIT" 2 0
  2538. Jump @EndSubmenu1_
  2539. :GhostModeOn_
  2540. pStatic1 10
  2541. Push1 31
  2542. CallNative "SET_BIT" 2 0
  2543. Jump @EndSubmenu1_
  2544. :Sub1Op4_
  2545. CallNative "PLAYER_ID" 0 1
  2546. push_0
  2547. push_0
  2548. CallNative "SET_PLAYER_WANTED_LEVEL" 3 0
  2549. CallNative "PLAYER_ID" 0 1
  2550. push_0
  2551. CallNative "SET_PLAYER_WANTED_LEVEL_NOW" 2 0
  2552. Jump @EndSubmenu1_
  2553. :Sub1Op5_
  2554. CallNative "PLAYER_PED_ID" 1 1
  2555. push_1
  2556. push_1
  2557. push_1
  2558. CallNative "CLONE_PED" 4 1
  2559. Drop
  2560. Jump @EndSubmenu1_
  2561. :HeatVision_
  2562. StaticGet2 439
  2563. push_0
  2564. JumpEQ @HeatVisionOn_
  2565. push_0
  2566. CallNative "SET_SEETHROUGH" 1 0
  2567. push_0
  2568. StaticSet2 439
  2569. Jump @EndSubmenu1_
  2570. :HeatVisionOn_
  2571. push_1
  2572. CallNative "SET_SEETHROUGH" 1 0
  2573. push_1
  2574. StaticSet2 439
  2575. Jump @EndSubmenu1_
  2576. :NightVision_
  2577. StaticGet2 440
  2578. push_0
  2579. JumpEQ @NightVisionOn_
  2580. push_0
  2581. CallNative "SET_NIGHTVISION" 1 0
  2582. push_0
  2583. StaticSet2 440
  2584. Jump @EndSubmenu1_
  2585. :NightVisionOn_
  2586. push_1
  2587. CallNative "SET_NIGHTVISION" 1 0
  2588. push_1
  2589. StaticSet2 440
  2590. Jump @EndSubmenu1_
  2591. :Sub1Op8_
  2592. CallNative "PLAYER_PED_ID" 0 1
  2593. Push 126349499
  2594. Push -1
  2595. Push 1
  2596. CallNative "GIVE_DELAYED_WEAPON_TO_PED" 4 0
  2597. Jump @EndSubmenu1_
  2598. :Sub1Op9_
  2599. CallNative "PLAYER_PED_ID" 0 1
  2600. push_1
  2601. CallNative "TASK_PARACHUTE" 2 0
  2602. Jump @EndSubmenu1_
  2603. :PlayerSuperJump_
  2604. StaticGet1 10
  2605. Push1 12
  2606. CallNative "IS_BIT_SET" 2 1
  2607. JumpFalse @PlayerSuperJumpOn_
  2608. pStatic1 10
  2609. Push1 12
  2610. CallNative "CLEAR_BIT" 2 0
  2611. Jump @EndSubmenu1_
  2612. :PlayerSuperJumpOn_
  2613. pStatic1 10
  2614. Push1 12
  2615. CallNative "SET_BIT" 2 0
  2616. Jump @EndSubmenu1_
  2617. :PlayerSuperRun_
  2618. StaticGet1 10
  2619. Push1 11
  2620. CallNative "IS_BIT_SET" 2 1
  2621. JumpFalse @PlayerSuperRunOn_
  2622. pStatic1 10
  2623. Push1 11
  2624. CallNative "CLEAR_BIT" 2 0
  2625. Jump @EndSubmenu1_
  2626. :PlayerSuperRunOn_
  2627. pStatic1 10
  2628. Push1 11
  2629. CallNative "SET_BIT" 2 0
  2630. Jump @EndSubmenu1_
  2631. :PlayerWashPlayer_
  2632. StaticGet1 10
  2633. Push1 14
  2634. CallNative "IS_BIT_SET" 2 1
  2635. JumpFalse @PlayerWashPlayerOn_
  2636. pStatic1 10
  2637. Push1 14
  2638. CallNative "CLEAR_BIT" 2 0
  2639. Jump @EndSubmenu1_
  2640. :PlayerWashPlayerOn_
  2641. pStatic1 10
  2642. Push1 14
  2643. CallNative "SET_BIT" 2 0
  2644. Jump @EndSubmenu1_
  2645. :RockstarLogo_
  2646. PushString "R* Logo Applied"
  2647. PushS 2500
  2648. Call @MsgStuff_
  2649. CallNative "PLAYER_PED_ID" 0 1
  2650. Push 1398869298
  2651. Neg
  2652. Push 1730534702
  2653. Neg
  2654. CallNative "UNK_70559AC7" 3 0
  2655. Jump @EndSubmenu1_
  2656. :Slowmo_
  2657. PushString "Slow Motion: ~g~On"
  2658. PushS 2500
  2659. Call @MsgStuff_
  2660. fPush 0.3000
  2661. CallNative "SET_TIME_SCALE" 1 0
  2662. Jump @EndSubmenu1_
  2663. :SlowMoOFF_
  2664. PushString "Slow Motion: ~r~Off"
  2665. PushS 2500
  2666. fPush 1
  2667. CallNative "SET_TIME_SCALE" 1 0
  2668. push_0
  2669. Jump @EndSubmenu1_
  2670. :EndSubmenu1_
  2671. Return 0 0
  2672. //>
  2673. //< Submenu 2
  2674. :Submenu2_
  2675. Function 0 2 0
  2676. fPush 15
  2677. StaticSet1 3
  2678. push_1
  2679. StaticSet1 8
  2680. Call @DrawBackground_
  2681. Call @DrawNormalOptionHighlight_
  2682. PushString "RaYRoD's Locations"
  2683. Call @AddInfoBox_
  2684. PushString "Teleport Options"
  2685. Call @AddTitle_
  2686. fPush_1.0
  2687. PushString "Ocean Coast's Cave"
  2688. Call @AddOption_
  2689. fPush_2.0
  2690. PushString "Crane (Scenic-View)"
  2691. Call @AddOption_
  2692. fPush_3.0
  2693. PushString "Far Island With Flowers"
  2694. Call @AddOption_
  2695. fPush_4.0
  2696. PushString "Maze Bank - City Helipad"
  2697. Call @AddOption_
  2698. fPush_5.0
  2699. PushString "Waterfall Watching"
  2700. Call @AddOption_
  2701. fPush_6.0
  2702. PushString "Canyon - Train Tracks"
  2703. Call @AddOption_
  2704. fPush_7.0
  2705. PushString "Mount. Chiliad"
  2706. Call @AddOption_
  2707. fPush 8
  2708. PushString "Mount. Chiliad (Scenic-View)"
  2709. Call @AddOption_
  2710. fPush 9
  2711. PushString "Ammunation (City)"
  2712. Call @AddOption_
  2713. fPush 10
  2714. PushString "Jet Spawn Point (1)"
  2715. Call @AddOption_
  2716. fPush 11
  2717. PushString "Jet Spawn Point (2)"
  2718. Call @AddOption_
  2719. fPush 12
  2720. PushString "500k Apartment (Outside)"
  2721. Call @AddOption_
  2722. fPush 13
  2723. PushString "10 Car Garage"
  2724. Call @AddOption_
  2725. fPush 14
  2726. PushString "Ponsonboy's Clothing"
  2727. Call @AddOption_
  2728. fPush 15
  2729. PushString "Private Mountain's Pool"
  2730. Call @AddOption_
  2731. //Highlight
  2732. //You can do this if you want code executed when the option is highlighted.
  2733. //Its a a lot like the code for when you select an option except it is not monitoring for a button press.
  2734. Call @CheckAPressed_
  2735. push_1
  2736. JumpEQ @Submenu2Controller_
  2737. Jump @EndSubmenu2_
  2738. :Submenu2Controller_
  2739. PushString "SELECT"
  2740. Call @PlayFrontendSound_
  2741. StaticGet1 2
  2742. FtoI
  2743. Switch [1=@Sub2Op1_][2=@Sub2Op2_][3=@Sub2Op3_][4=@Sub2Op4_][5=@Sub2Op5_][6=@Sub2Op6_][7=@Sub2Op7_][8=@Sub2Op8_][9=@Sub2Op9_][10=@Sub2Op10_][11=@Sub2Op11_][12=@Sub2Op12_][13=@Sub2Op13_][14=@Sub2Op14_][15=@Sub2Op15_]
  2744. :Sub2Op1_
  2745. CallNative "PLAYER_PED_ID" 0 1
  2746. fPush 3062.855
  2747. fPush 2214.975
  2748. fPush 3.381231
  2749. push_1
  2750. push_0
  2751. push_0
  2752. push_1
  2753. CallNative "SET_ENTITY_COORDS" 8 0
  2754. Jump @EndSubmenu2_
  2755. :Sub2Op2_
  2756. CallNative "PLAYER_PED_ID" 0 1
  2757. fPush -119.859985
  2758. fPush -976.43866
  2759. fPush 306.3385
  2760. push_1
  2761. push_0
  2762. push_0
  2763. push_1
  2764. CallNative "SET_ENTITY_COORDS" 8 0
  2765. Jump @EndSubmenu2_
  2766. :Sub2Op3_
  2767. CallNative "PLAYER_PED_ID" 0 1
  2768. fPush -125.6544
  2769. fPush 7271.8940
  2770. fPush 16.7366
  2771. push_1
  2772. push_0
  2773. push_0
  2774. push_1
  2775. CallNative "SET_ENTITY_COORDS" 8 0
  2776. Jump @EndSubmenu2_
  2777. :Sub2Op4_
  2778. CallNative "PLAYER_PED_ID" 0 1
  2779. fPush -74.94243
  2780. fPush -818.63446
  2781. fPush 326.174347
  2782. push_1
  2783. push_0
  2784. push_0
  2785. push_1
  2786. CallNative "SET_ENTITY_COORDS" 8 0
  2787. Jump @EndSubmenu2_
  2788. :Sub2Op5_
  2789. CallNative "PLAYER_PED_ID" 0 1
  2790. fPush -540.4822
  2791. fPush 4402.3590
  2792. fPush 34.3786
  2793. push_1
  2794. push_0
  2795. push_0
  2796. push_1
  2797. CallNative "SET_ENTITY_COORDS" 8 0
  2798. Jump @EndSubmenu2_
  2799. :Sub2Op6_
  2800. CallNative "PLAYER_PED_ID" 0 1
  2801. fPush -530.6747
  2802. fPush 4534.9960
  2803. fPush 89.0457
  2804. push_1
  2805. push_0
  2806. push_0
  2807. push_1
  2808. CallNative "SET_ENTITY_COORDS" 8 0
  2809. Jump @EndSubmenu2_
  2810. :Sub2Op7_
  2811. CallNative "PLAYER_PED_ID" 0 1
  2812. fPush 489.3171
  2813. fPush 5580.8870
  2814. fPush 792.8515
  2815. push_1
  2816. push_0
  2817. push_0
  2818. push_1
  2819. CallNative "SET_ENTITY_COORDS" 8 0
  2820. Jump @EndSubmenu2_
  2821. :Sub2Op8_
  2822. CallNative "PLAYER_PED_ID" 0 1
  2823. fPush 413.4706
  2824. fPush 5572.8210
  2825. fPush 779.6819
  2826. push_1
  2827. push_0
  2828. push_0
  2829. push_1
  2830. CallNative "SET_ENTITY_COORDS" 8 0
  2831. Jump @EndSubmenu2_
  2832. :Sub2Op9_
  2833. CallNative "PLAYER_PED_ID" 0 1
  2834. fPush 247.3652
  2835. fPush -45.8777
  2836. fPush 69.9411
  2837. push_1
  2838. push_0
  2839. push_0
  2840. push_1
  2841. CallNative "SET_ENTITY_COORDS" 8 0
  2842. Jump @EndSubmenu2_
  2843. :Sub2Op10_
  2844. CallNative "PLAYER_PED_ID" 0 1
  2845. fPush -2019.0620
  2846. fPush 2956.4530
  2847. fPush 32.8101
  2848. push_1
  2849. push_0
  2850. push_0
  2851. push_1
  2852. CallNative "SET_ENTITY_COORDS" 8 0
  2853. Jump @EndSubmenu2_
  2854. :Sub2Op11_
  2855. CallNative "PLAYER_PED_ID" 0 1
  2856. fPush -2148.3510
  2857. fPush 3031.7620
  2858. fPush 32.8099
  2859. push_1
  2860. push_0
  2861. push_0
  2862. push_1
  2863. CallNative "SET_ENTITY_COORDS" 8 0
  2864. Jump @EndSubmenu2_
  2865. :Sub2Op12_
  2866. CallNative "PLAYER_PED_ID" 0 1
  2867. fPush -775.0500
  2868. fPush 312.3200
  2869. fPush 85.7000
  2870. push_1
  2871. push_0
  2872. push_0
  2873. push_1
  2874. CallNative "SET_ENTITY_COORDS" 8 0
  2875. Jump @EndSubmenu2_
  2876. :Sub2Op13_
  2877. CallNative "PLAYER_PED_ID" 0 1
  2878. fPush 229.3570
  2879. fPush -992.9106
  2880. fPush -98.9999
  2881. push_1
  2882. push_0
  2883. push_0
  2884. push_1
  2885. CallNative "SET_ENTITY_COORDS" 8 0
  2886. Jump @EndSubmenu2_
  2887. :Sub2Op14_
  2888. CallNative "PLAYER_PED_ID" 0 1
  2889. fPush -159.2996
  2890. fPush -304.3292
  2891. fPush 39.7333
  2892. push_1
  2893. push_0
  2894. push_0
  2895. push_1
  2896. CallNative "SET_ENTITY_COORDS" 8 0
  2897. Jump @EndSubmenu2_
  2898. :Sub2Op15_
  2899. CallNative "PLAYER_PED_ID" 0 1
  2900. fPush 2559.2640
  2901. fPush 6184.1520
  2902. fPush 162.7809
  2903. push_1
  2904. push_0
  2905. push_0
  2906. push_1
  2907. CallNative "SET_ENTITY_COORDS" 8 0
  2908. Jump @EndSubmenu2_
  2909. :EndSubmenu2_
  2910. Return 0 0
  2911. //>
  2912.  
  2913. //< Submenu 3
  2914. :Submenu3_
  2915. Function 0 2 0
  2916. fPush 10
  2917. StaticSet1 3
  2918. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  2919. //It was not included in the main menu because that is handled elsewhere and is not needed.
  2920. push_1
  2921. StaticSet1 8
  2922. Call @DrawBackground_
  2923. Call @DrawNormalOptionHighlight_
  2924. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  2925. PushString "Tunables Mods"
  2926. Call @AddInfoBox_
  2927. PushString "Tunables"
  2928. Call @AddTitle_
  2929. fPush_1.0
  2930. PushString "Xmas Snow (On)"
  2931. Call @AddOption_
  2932. fPush_2.0
  2933. PushString "Deleted Cars (Not Updated)"
  2934. Call @AddOption_
  2935. fPush_3.0
  2936. PushString "Purchase Firework Launcher"
  2937. Call @AddOption_
  2938. fPush_4.0
  2939. PushString "Valentines Content (Not Updated)"
  2940. Call @AddOption_
  2941. fPush_5.0
  2942. PushString "Independence Content (Not Updated)"
  2943. Call @AddOption_
  2944. fPush_6.0
  2945. PushString "Xmas Content (Not Updated)"
  2946. Call @AddOption_
  2947. fPush_7.0
  2948. PushString "CTF Content"
  2949. Call @AddOption_
  2950. fPush 8
  2951. PushString "LTS Content"
  2952. Call @AddOption_
  2953. fPush 9
  2954. PushString "Enable Snowballs"
  2955. Call @AddOption_
  2956. fPush 10
  2957. PushString "Xmas Snow (Off)"
  2958. Call @AddOption_
  2959. //Option's functions
  2960. Call @CheckAPressed_
  2961. push_1
  2962. JumpEQ @Submenu3Controller_
  2963. Jump @EndSubmenu3_
  2964. :Submenu3Controller_
  2965. PushString "SELECT"
  2966. Call @PlayFrontendSound_
  2967. StaticGet1 2
  2968. FtoI
  2969. Switch [1=@SnowOn_][2=@DeletedCars_][3=@Fireworks_][4=@ValentinesDay_][5=@Independence_][6=@XmasContent_][7=@CTFContent_][8=@LTSContent_][9=@EnableSnowballs_][10=@SnowOff_]
  2970. :SnowOn_
  2971. push_1
  2972. pGlobal3 262145
  2973. SetImmediate2 4710
  2974. Jump @EndSubmenu3_
  2975. :DeletedCars_
  2976. push_1
  2977. pGlobal3 262145
  2978. SetImmediate2 5988
  2979. push_1
  2980. pGlobal3 262145
  2981. SetImmediate2 5987
  2982. Jump @EndSubmenu3_
  2983. :Fireworks2_
  2984. push_0
  2985. pGlobal3 262145
  2986. SetImmediate2 6005
  2987. Jump @EndSubmenu3_
  2988. :ValentinesDay_
  2989. push_1
  2990. pGlobal3 262145
  2991. SetImmediate2 4805
  2992. Jump @EndSubmenu3_
  2993. :Independence_
  2994. push_1
  2995. pGlobal3 262145
  2996. SetImmediate2 5974
  2997. Jump @EndSubmenu3_
  2998. :XmasContent_
  2999. push_1
  3000. pGlobal3 262145
  3001. SetImmediate2 4719
  3002. Jump @EndSubmenu3_
  3003. :CTFContent_
  3004. push_1
  3005. pGlobal3 262145
  3006. SetImmediate2 4853
  3007. Jump @EndSubmenu3_
  3008. :LTSContent_
  3009. push_1
  3010. pGlobal3 262145
  3011. SetImmediate2 4854
  3012. Jump @EndSubmenu3_
  3013. :EnableSnowballs_
  3014. push_0
  3015. pGlobal3 262145
  3016. SetImmediate2 6867
  3017. Jump @EndSubmenu3_
  3018. :SnowOff_
  3019. push_0
  3020. pGlobal3 262145
  3021. SetImmediate2 4710
  3022. Jump @EndSubmenu3_
  3023. :EndSubmenu3_
  3024. Return 0 0
  3025. //< Submenu 4
  3026. :Submenu4_
  3027. Function 0 2 0
  3028. fPush 13
  3029. StaticSet1 3
  3030. push_1
  3031. StaticSet1 8
  3032. Call @DrawBackground_
  3033. Call @DrawNormalOptionHighlight_
  3034. PushString "Vehicle Modifications"
  3035. Call @AddInfoBox_
  3036. PushString "Vehicle Options"
  3037. Call @AddTitle_
  3038. fPush_1.0
  3039. PushString "Paint Vehicle Random"
  3040. Call @AddOption_
  3041. fPush_2.0
  3042. PushString "Invisible (Toggle)"
  3043. Call @AddOption_
  3044. fPush_3.0
  3045. PushString "Fix vehicle"
  3046. Call @AddOption_
  3047. fPush_4.0
  3048. PushString "Super Vehicle-Boost"
  3049. Call @AddOption_
  3050. fPush_5.0
  3051. PushString "Super Speed (R2 + Square)"
  3052. Call @AddOption_
  3053. fPush_6.0
  3054. PushString "Super Jump (R2 + Right)"
  3055. Call @AddOption_
  3056. fPush_7.0
  3057. PushString "Vehicle Fix (Loop)"
  3058. Call @AddOption_
  3059. fPush 8
  3060. PushString "Rainbow Vehicle"
  3061. Call @AddOption_
  3062. fPush 9
  3063. PushString "Vehicle God-Mode (Toggle)"
  3064. Call @AddOption_
  3065. fPush 10
  3066. PushString "Vehicle God-Mode (Loop)"
  3067. Call @AddOption_
  3068. fPush 11
  3069. PushString "Teleport in Closest Vehicle"
  3070. Call @AddOption_
  3071. fPush 12
  3072. PushString "Personal Vehicle Options---"
  3073. Call @AddOption_
  3074. //Highlight
  3075. //The info box is not just limited to a whole submenu. You can display it on an option highlight as well.
  3076. Call @CheckAPressed_
  3077. push_1
  3078. JumpEQ @Submenu4Controller_
  3079. Jump @EndSubmenu4_
  3080. :Submenu4Controller_
  3081. PushString "SELECT"
  3082. Call @PlayFrontendSound_
  3083. StaticGet1 2
  3084. FtoI
  3085. Switch [1=@Sub4Op1_][2=@Sub4Op2_][3=@Sub4Op3_][4=@Sub4Op4_][5=@PlayerSuperCarSpeed_][6=@PlayerCarJump_][7=@PlayerCarFixLoop_][8=@PlayerCarRainbow_][9=@VehicleGodMode_][10=@VehicleGodModeLoop_][11=@TeleportToClosestVehicle_][12=@PersonalVehicleOps_]
  3086. :Sub4Op1_
  3087. CallNative "PLAYER_PED_ID" 0 1
  3088. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  3089. JumpFalse @EndSubmenu4_
  3090. CallNative "PLAYER_PED_ID" 0 1
  3091. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  3092. push_0
  3093. Push 157
  3094. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  3095. push_0
  3096. Push 157
  3097. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  3098. CallNative "SET_VEHICLE_COLOURS" 3 0
  3099. Jump @EndSubmenu4_
  3100. :Sub4Op2_
  3101. CallNative "PLAYER_PED_ID" 0 1
  3102. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  3103. JumpFalse @EndSubmenu4_
  3104. CallNative "PLAYER_PED_ID" 0 1
  3105. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  3106. CallNative "IS_ENTITY_VISIBLE" 1 1
  3107. JumpFalse @Sub4Op3_
  3108. CallNative "PLAYER_PED_ID" 0 1
  3109. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  3110. push_0
  3111. CallNative "SET_ENTITY_VISIBLE" 2 0
  3112. Jump @EndSubmenu4_
  3113. :Sub4Op3_
  3114. CallNative "PLAYER_PED_ID" 0 1
  3115. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  3116. push_1
  3117. CallNative "SET_ENTITY_VISIBLE" 2 0
  3118. Jump @EndSubmenu4_
  3119. :Sub4Op4_
  3120. CallNative "PLAYER_PED_ID" 0 1
  3121. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  3122. JumpFalse @EndSubmenu4_
  3123. CallNative "PLAYER_PED_ID" 0 1
  3124. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  3125. CallNative "SET_VEHICLE_FIXED" 1 0
  3126. Jump @EndSubmenu4_
  3127. :Sub4Op5_
  3128. CallNative "PLAYER_PED_ID" 0 1
  3129. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  3130. JumpFalse @EndSubmenu4_
  3131. CallNative "PLAYER_PED_ID" 0 1
  3132. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  3133. fPush 100
  3134. CallNative "SET_VEHICLE_FORWARD_SPEED" 2 0
  3135. Jump @EndSubmenu4_
  3136. :PlayerSuperCarSpeed_
  3137. StaticGet1 10
  3138. Push1 13
  3139. CallNative "IS_BIT_SET" 2 1
  3140. JumpFalse @PlayerSuperCarSpeedOn_
  3141. pStatic1 10
  3142. Push1 13
  3143. CallNative "CLEAR_BIT" 2 0
  3144. Jump @EndSubmenu4_
  3145. :PlayerSuperCarSpeedOn_
  3146. pStatic1 10
  3147. Push1 13
  3148. CallNative "SET_BIT" 2 0
  3149. Jump @EndSubmenu4_
  3150. :PlayerCarJump_
  3151. StaticGet1 10
  3152. Push1 15
  3153. CallNative "IS_BIT_SET" 2 1
  3154. JumpFalse @PlayerCarJumpOn_
  3155. pStatic1 10
  3156. Push1 15
  3157. CallNative "CLEAR_BIT" 2 0
  3158. Jump @EndSubmenu4_
  3159. :PlayerCarJumpOn_
  3160. pStatic1 10
  3161. Push1 15
  3162. CallNative "SET_BIT" 2 0
  3163. Jump @EndSubmenu4_
  3164. :PlayerCarFixLoop_
  3165. StaticGet1 10
  3166. Push1 16
  3167. CallNative "IS_BIT_SET" 2 1
  3168. JumpFalse @PlayerCarFixLoopOn_
  3169. pStatic1 10
  3170. Push1 16
  3171. CallNative "CLEAR_BIT" 2 0
  3172. Jump @EndSubmenu4_
  3173. :PlayerCarFixLoopOn_
  3174. pStatic1 10
  3175. Push1 16
  3176. CallNative "SET_BIT" 2 0
  3177. Jump @EndSubmenu4_
  3178. :PlayerCarRainbow_
  3179. StaticGet1 10
  3180. Push1 18
  3181. CallNative "IS_BIT_SET" 2 1
  3182. JumpFalse @PlayerCarRainbowOn_
  3183. pStatic1 10
  3184. Push1 18
  3185. CallNative "CLEAR_BIT" 2 0
  3186. Jump @EndSubmenu4_
  3187. :PlayerCarRainbowOn_
  3188. pStatic1 10
  3189. Push1 18
  3190. CallNative "SET_BIT" 2 0
  3191. :VehicleGodMode_
  3192. StaticGet2 442
  3193. push_0
  3194. JumpEQ @VehicleGodmodeOn_
  3195. CallNative "PLAYER_PED_ID" 0 1
  3196. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  3197. JumpFalse @EndSubmenu4_
  3198. CallNative "PLAYER_PED_ID" 0 1
  3199. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  3200. push_0
  3201. push_1
  3202. CallNative "SET_ENTITY_INVINCIBLE" 3 0
  3203. push_0
  3204. StaticSet2 442
  3205. Jump @EndSubmenu4_
  3206. :VehicleGodmodeOn_
  3207. CallNative "PLAYER_PED_ID" 0 1
  3208. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  3209. JumpFalse @EndSubmenu4_
  3210. CallNative "PLAYER_PED_ID" 0 1
  3211. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  3212. push_1
  3213. push_1
  3214. CallNative "SET_ENTITY_INVINCIBLE" 3 0
  3215. push_1
  3216. StaticSet2 442
  3217. Jump @EndSubmenu4_
  3218. :VehicleGodModeLoop_
  3219. StaticGet1 10
  3220. Push1 29
  3221. CallNative "IS_BIT_SET" 2 1
  3222. JumpFalse @VehicleGodModeLoopOn_
  3223. pStatic1 10
  3224. Push1 29
  3225. CallNative "CLEAR_BIT" 2 0
  3226. Jump @EndSubmenu4_
  3227. :VehicleGodModeLoopOn_
  3228. pStatic1 10
  3229. Push1 29
  3230. CallNative "SET_BIT" 2 0
  3231. Jump @EndSubmenu4_
  3232. :TeleportToClosestVehicle_
  3233. CallNative "PLAYER_PED_ID" 0 1
  3234. push_0
  3235. CallNative "GET_ENTITY_COORDS" 2 3
  3236. fPush 100
  3237. push_0
  3238. push_4
  3239. CallNative "GET_CLOSEST_VEHICLE" 6 1
  3240. setF1 3
  3241. getF1 3
  3242. CallNative "DOES_ENTITY_EXIST" 1 1
  3243. JumpFalse @EndSubmenu4_
  3244. CallNative "PLAYER_PED_ID" 0 1
  3245. getF1 3
  3246. push_-1
  3247. CallNative "SET_PED_INTO_VEHICLE" 3 0
  3248. Jump @EndSubmenu4_
  3249. :PersonalVehicleOps_
  3250. Push 15
  3251. StaticSet1 1
  3252. Call @ChangeSubmenu_
  3253. Jump @EndSubmenu4_
  3254. :EndSubmenu4_
  3255. Return 0 0
  3256.  
  3257. //< Stats
  3258. :Stats_
  3259. Function 0 2 0
  3260. fPush 11
  3261. StaticSet1 3
  3262. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  3263. //It was not included in the main menu because that is handled elsewhere and is not needed.
  3264. push_1
  3265. StaticSet1 8
  3266. Call @DrawBackground_
  3267. Call @DrawNormalOptionHighlight_
  3268. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  3269. PushString "Stat Editor"
  3270. Call @AddInfoBox_
  3271. PushString "Rank Editor"
  3272. Call @AddTitle_
  3273. fPush_1.0
  3274. PushString "Rank 120"
  3275. Call @AddOption_
  3276. fPush_2.0
  3277. PushString "Rank 200"
  3278. Call @AddOption_
  3279. fPush_3.0
  3280. PushString "Rank 350"
  3281. Call @AddOption_
  3282. fPush_4.0
  3283. PushString "Rank 450"
  3284. Call @AddOption_
  3285. fPush_5.0
  3286. PushString "Rank 500"
  3287. Call @AddOption_
  3288. fPush_6.0
  3289. PushString "Rank 1337"
  3290. Call @AddOption_
  3291. fPush_7.0
  3292. PushString "Rank 8000"
  3293. Call @AddOption_
  3294. fPush 8
  3295. PushString "Rank 10"
  3296. Call @AddOption_
  3297. fPush 9
  3298. PushString "Rank 1"
  3299. Call @AddOption_
  3300. fPush 10
  3301. PushString "Custom Input"
  3302. Call @AddOption_
  3303. fPush 11
  3304. PushString "Character 2"
  3305. Call @AddOption_
  3306. //Option's functions
  3307. Call @CheckAPressed_
  3308. push_1
  3309. JumpEQ @StatsController_
  3310. Jump @EndStats_
  3311. :StatsController_
  3312. PushString "SELECT"
  3313. Call @PlayFrontendSound_
  3314. StaticGet1 2
  3315. FtoI
  3316. Switch [1=@Rank120_][2=@Rank200_][3=@Rank350_][4=@Rank450_][5=@Rank500_][6=@Rank1337_][7=@Rank8000_][8=@Rank10_][9=@Rank1_][10=@CustomRankPoints_][11=@RankCharacter2_]
  3317. :Rank120_
  3318. PushString "mp0_char_xp_fm"
  3319. CallNative "GET_HASH_KEY" 1 1
  3320. Push 2165850
  3321. push_1
  3322. CallNative "STAT_SET_INT" 3 1
  3323. Jump @EndStats_
  3324. :Rank200_
  3325. PushString "mp0_char_xp_fm"
  3326. CallNative "GET_HASH_KEY" 1 1
  3327. Push 4691850
  3328. push_1
  3329. CallNative "STAT_SET_INT" 3 1
  3330. Jump @EndStats_
  3331. :Rank350_
  3332. PushString "mp0_char_xp_fm"
  3333. CallNative "GET_HASH_KEY" 1 1
  3334. Push 10290600
  3335. push_1
  3336. CallNative "STAT_SET_INT" 3 1
  3337. Jump @EndStats_
  3338. :Rank450_
  3339. PushString "mp0_char_xp_fm"
  3340. CallNative "GET_HASH_KEY" 1 1
  3341. Push 14648100
  3342. push_1
  3343. CallNative "STAT_SET_INT" 3 1
  3344. Jump @EndStats_
  3345. :Rank500_
  3346. PushString "mp0_char_xp_fm"
  3347. CallNative "GET_HASH_KEY" 1 1
  3348. Push 17014350
  3349. push_1
  3350. CallNative "STAT_SET_INT" 3 1
  3351. Jump @EndStats_
  3352. :Rank1337_
  3353. PushString "mp0_char_xp_fm"
  3354. CallNative "GET_HASH_KEY" 1 1
  3355. Push 75185850
  3356. push_1
  3357. CallNative "STAT_SET_INT" 3 1
  3358. Jump @EndStats_
  3359. :Rank8000_
  3360. PushString "mp0_char_xp_fm"
  3361. CallNative "GET_HASH_KEY" 1 1
  3362. Push 1787576850
  3363. push_1
  3364. CallNative "STAT_SET_INT" 3 1
  3365. Jump @EndStats_
  3366. :Rank10_
  3367. PushString "mp0_char_xp_fm"
  3368. CallNative "GET_HASH_KEY" 1 1
  3369. Push 24000
  3370. push_1
  3371. CallNative "STAT_SET_INT" 3 1
  3372. Jump @EndStats_
  3373. :Rank1_
  3374. PushString "mp0_char_xp_fm"
  3375. CallNative "GET_HASH_KEY" 1 1
  3376. Push 0
  3377. push_1
  3378. CallNative "STAT_SET_INT" 3 1
  3379. Jump @EndStats_
  3380. :CustomRankPoints_
  3381. push_0
  3382. StaticSet1 12
  3383. Call @PromptUser_
  3384. pStatic1 12
  3385. CallNative "STRING_TO_INT" 2 1
  3386. Drop
  3387. PushString "mp0_char_xp_fm"
  3388. StaticGet1 12
  3389. Call @StatSetInt_
  3390. Jump @EndStats_
  3391. :RankCharacter2_
  3392. Push 23
  3393. StaticSet1 1
  3394. Call @ChangeSubmenu_
  3395. Jump @EndStats_
  3396. :EndStats_
  3397. Return 0 0
  3398.  
  3399. //< Stats
  3400. :RankP2_
  3401. Function 0 2 0
  3402. fPush 11
  3403. StaticSet1 3
  3404. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  3405. //It was not included in the main menu because that is handled elsewhere and is not needed.
  3406. Push 22
  3407. StaticSet1 8
  3408. Call @DrawBackground_
  3409. Call @DrawNormalOptionHighlight_
  3410. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  3411. PushString "Character 2"
  3412. Call @AddInfoBox_
  3413. PushString "Rank Editor"
  3414. Call @AddTitle_
  3415. fPush_1.0
  3416. PushString "Rank 120"
  3417. Call @AddOption_
  3418. fPush_2.0
  3419. PushString "Rank 200"
  3420. Call @AddOption_
  3421. fPush_3.0
  3422. PushString "Rank 350"
  3423. Call @AddOption_
  3424. fPush_4.0
  3425. PushString "Rank 450"
  3426. Call @AddOption_
  3427. fPush_5.0
  3428. PushString "Rank 500"
  3429. Call @AddOption_
  3430. fPush_6.0
  3431. PushString "Rank 1337"
  3432. Call @AddOption_
  3433. fPush_7.0
  3434. PushString "Rank 8000"
  3435. Call @AddOption_
  3436. fPush 8
  3437. PushString "Rank 10"
  3438. Call @AddOption_
  3439. fPush 9
  3440. PushString "Rank 1"
  3441. Call @AddOption_
  3442. fPush 10
  3443. PushString "Custom Input"
  3444. Call @AddOption_
  3445. fPush 11
  3446. PushString "Cash Options"
  3447. Call @AddOption_
  3448. //Option's functions
  3449. Call @CheckAPressed_
  3450. push_1
  3451. JumpEQ @RankP2Controller_
  3452. Jump @EndRankP2_
  3453. :RankP2Controller_
  3454. PushString "SELECT"
  3455. Call @PlayFrontendSound_
  3456. StaticGet1 2
  3457. FtoI
  3458. Switch [1=@Rank120p2_][2=@Rank200p2_][3=@Rank350p2_][4=@Rank450p2_][5=@Rank500p2_][6=@Rank1337p2_][7=@Rank8000p2_][8=@Rank10p2_][9=@Rank1p2_][10=@CustomRankPointsp2_][11=@CashEditor_]
  3459. :Rank120p2_
  3460. PushString "mp1_char_xp_fm"
  3461. CallNative "GET_HASH_KEY" 1 1
  3462. Push 2165850
  3463. push_1
  3464. CallNative "STAT_SET_INT" 3 1
  3465. Jump @EndRankP2_
  3466. :Rank200p2_
  3467. PushString "mp1_char_xp_fm"
  3468. CallNative "GET_HASH_KEY" 1 1
  3469. Push 4691850
  3470. push_1
  3471. CallNative "STAT_SET_INT" 3 1
  3472. Jump @EndRankP2_
  3473. :Rank350p2_
  3474. PushString "mp1_char_xp_fm"
  3475. CallNative "GET_HASH_KEY" 1 1
  3476. Push 10290600
  3477. push_1
  3478. CallNative "STAT_SET_INT" 3 1
  3479. Jump @EndRankP2_
  3480. :Rank450p2_
  3481. PushString "mp1_char_xp_fm"
  3482. CallNative "GET_HASH_KEY" 1 1
  3483. Push 14648100
  3484. push_1
  3485. CallNative "STAT_SET_INT" 3 1
  3486. Jump @EndRankP2_
  3487. :Rank500p2_
  3488. PushString "mp1_char_xp_fm"
  3489. CallNative "GET_HASH_KEY" 1 1
  3490. Push 17014350
  3491. push_1
  3492. CallNative "STAT_SET_INT" 3 1
  3493. Jump @EndRankP2_
  3494. :Rank1337p2_
  3495. PushString "mp1_char_xp_fm"
  3496. CallNative "GET_HASH_KEY" 1 1
  3497. Push 75185850
  3498. push_1
  3499. CallNative "STAT_SET_INT" 3 1
  3500. Jump @EndRankP2_
  3501. :Rank8000p2_
  3502. PushString "mp1_char_xp_fm"
  3503. CallNative "GET_HASH_KEY" 1 1
  3504. Push 1787576850
  3505. push_1
  3506. CallNative "STAT_SET_INT" 3 1
  3507. Jump @EndRankP2_
  3508. :Rank10p2_
  3509. PushString "mp1_char_xp_fm"
  3510. CallNative "GET_HASH_KEY" 1 1
  3511. Push 24000
  3512. push_1
  3513. CallNative "STAT_SET_INT" 3 1
  3514. Jump @EndRankP2_
  3515. :Rank1p2_
  3516. PushString "mp1_char_xp_fm"
  3517. CallNative "GET_HASH_KEY" 1 1
  3518. Push 0
  3519. push_1
  3520. CallNative "STAT_SET_INT" 3 1
  3521. Jump @EndRankP2_
  3522. :CustomRankPointsp2_
  3523. push_0
  3524. StaticSet1 12
  3525. Call @PromptUser_
  3526. pStatic1 12
  3527. CallNative "STRING_TO_INT" 2 1
  3528. Drop
  3529. PushString "mp1_char_xp_fm"
  3530. StaticGet1 12
  3531. Call @StatSetInt_
  3532. Jump @EndRankP2_
  3533. :CashEditor_
  3534. Push 24
  3535. StaticSet1 1
  3536. Call @ChangeSubmenu_
  3537. Jump @EndRankP2_
  3538. :EndRankP2_
  3539. Return 0 0
  3540.  
  3541. //< Cash Editor
  3542. :CashOptions_
  3543. Function 0 2 0
  3544. fPush_4.0
  3545. StaticSet1 3
  3546. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  3547. //It was not included in the main menu because that is handled elsewhere and is not needed.
  3548. Push 23
  3549. StaticSet1 8
  3550. Call @DrawBackground_
  3551. Call @DrawNormalOptionHighlight_
  3552. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  3553. PushString "Cash Options"
  3554. Call @AddInfoBox_
  3555. PushString "Cash Editor"
  3556. Call @AddTitle_
  3557. fPush_1.0
  3558. PushString "5 Million to Bank"
  3559. Call @AddOption_
  3560. fPush_2.0
  3561. PushString "10 Million To Bank"
  3562. Call @AddOption_
  3563. fPush_3.0
  3564. PushString "Amount To Add"
  3565. Call @AddOption_
  3566. fPush_4.0
  3567. PushString "Unlock Options"
  3568. Call @AddOption_
  3569. //Option's functions
  3570. Call @CheckAPressed_
  3571. push_1
  3572. JumpEQ @CashOptionsController_
  3573. Jump @EndCashOptions_
  3574. :CashOptionsController_
  3575. PushString "SELECT"
  3576. Call @PlayFrontendSound_
  3577. StaticGet1 2
  3578. FtoI
  3579. Switch [1=@5milltobank_][2=@10milltobank_][3=@Addtowallet_][4=@Unlocks_]
  3580. :5milltobank_
  3581. Push 5000000
  3582. CallNative "NETWORK_EARN_FROM_ROCKSTAR" 1 0
  3583. Jump @EndCashOptions_
  3584. :10milltobank_
  3585. Push 9999969
  3586. CallNative "NETWORK_EARN_FROM_ROCKSTAR" 1 0
  3587. Jump @EndCashOptions_
  3588. :Addtowallet_
  3589. push_0
  3590. StaticSet1 12
  3591. Call @PromptUser_
  3592. pStatic1 12
  3593. CallNative "STRING_TO_INT" 2 1
  3594. Drop
  3595. PushString "mp0_wallet_balance"
  3596. GetHash
  3597. StaticGet1 12
  3598. ItoF
  3599. CallNative "STAT_INCREMENT" 2 0
  3600. Jump @EndCashOptions_
  3601. :Unlocks_
  3602. Push 25
  3603. StaticSet1 1
  3604. Call @ChangeSubmenu_
  3605. Jump @EndCashOptions_
  3606. :EndCashOptions_
  3607. Return 0 0
  3608.  
  3609. //< Unlock
  3610. :UnlockOptions_
  3611. Function 0 2 0
  3612. fPush_4.0
  3613. StaticSet1 3
  3614. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  3615. //It was not included in the main menu because that is handled elsewhere and is not needed.
  3616. Push 24
  3617. StaticSet1 8
  3618. Call @DrawBackground_
  3619. Call @DrawNormalOptionHighlight_
  3620. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  3621. PushString "Unlock Stuff"
  3622. Call @AddInfoBox_
  3623. PushString "Unlocks"
  3624. Call @AddTitle_
  3625. fPush_1.0
  3626. PushString "Unlock Everything!"
  3627. Call @AddOption_
  3628. fPush_2.0
  3629. PushString "Aquire All Clothing"
  3630. Call @AddOption_
  3631. fPush_3.0
  3632. PushString "Max Snacks+Armour"
  3633. Call @AddOption_
  3634. fPush_4.0
  3635. PushString "Cheater Options"
  3636. Call @AddOption_
  3637. //Option's functions
  3638. Call @CheckAPressed_
  3639. push_1
  3640. JumpEQ @UnlockOptionsController_
  3641. Jump @EndUnlockOptions_
  3642. :UnlockOptionsController_
  3643. PushString "SELECT"
  3644. Call @PlayFrontendSound_
  3645. StaticGet1 2
  3646. FtoI
  3647. Switch [1=@UnlockEverything_][2=@UnlockHidden+DlcClothing_][3=@MaxInventory_][4=@CheaterOptions_]
  3648. :UnlockEverything_
  3649. PushString "Unlocked All"
  3650. PushS 2500
  3651. Call @PrintStringBottomCentre_
  3652. PushString "tattoo_fm_unlocks_0"
  3653. push_-1
  3654. Call @StatSetIntStatic23_
  3655. PushString "tattoo_fm_unlocks_1"
  3656. push_-1
  3657. Call @StatSetIntStatic23_
  3658. PushString "tattoo_fm_unlocks_2"
  3659. push_-1
  3660. Call @StatSetIntStatic23_
  3661. PushString "tattoo_fm_unlocks_3"
  3662. push_-1
  3663. Call @StatSetIntStatic23_
  3664. PushString "tattoo_fm_unlocks_4"
  3665. push_-1
  3666. Call @StatSetIntStatic23_
  3667. PushString "tattoo_fm_unlocks_5"
  3668. push_-1
  3669. Call @StatSetIntStatic23_
  3670. PushString "tattoo_fm_unlocks_6"
  3671. push_-1
  3672. Call @StatSetIntStatic23_
  3673. PushString "tattoo_fm_unlocks_7"
  3674. push_-1
  3675. Call @StatSetIntStatic23_
  3676. PushString "tattoo_fm_unlocks_8"
  3677. push_-1
  3678. Call @StatSetIntStatic23_
  3679. PushString "tattoo_fm_unlocks_9"
  3680. push_-1
  3681. Call @StatSetIntStatic23_
  3682. PushString "tattoo_fm_unlocks_10"
  3683. push_-1
  3684. Call @StatSetIntStatic23_
  3685. PushString "tattoo_fm_unlocks_11"
  3686. push_-1
  3687. Call @StatSetIntStatic23_
  3688. PushString "tattoo_fm_unlocks_12"
  3689. push_-1
  3690. Call @StatSetIntStatic23_
  3691. PushString "char_fm_carmod_1_unlck"
  3692. push_-1
  3693. Call @StatSetIntStatic23_
  3694. PushString "char_fm_carmod_2_unlck"
  3695. push_-1
  3696. Call @StatSetIntStatic23_
  3697. PushString "char_fm_carmod_3_unlck"
  3698. push_-1
  3699. Call @StatSetIntStatic23_
  3700. PushString "char_fm_carmod_4_unlck"
  3701. push_-1
  3702. Call @StatSetIntStatic23_
  3703. PushString "char_fm_carmod_5_unlck"
  3704. push_-1
  3705. Call @StatSetIntStatic23_
  3706. PushString "char_fm_carmod_6_unlck"
  3707. push_-1
  3708. Call @StatSetIntStatic23_
  3709. PushString "char_fm_carmod_7_unlck"
  3710. push_-1
  3711. Call @StatSetIntStatic23_
  3712. PushString "char_fm_clothes_1_unlck"
  3713. push_-1
  3714. Call @StatSetIntStatic23_
  3715. PushString "char_fm_clothes_2_unlck"
  3716. push_-1
  3717. Call @StatSetIntStatic23_
  3718. PushString "char_fm_clothes_3_unlck"
  3719. push_-1
  3720. Call @StatSetIntStatic23_
  3721. PushString "char_fm_clothes_4_unlck"
  3722. push_-1
  3723. Call @StatSetIntStatic23_
  3724. PushString "char_fm_clothes_5_unlck"
  3725. push_-1
  3726. Call @StatSetIntStatic23_
  3727. PushString "char_fm_clothes_6_unlck"
  3728. push_-1
  3729. Call @StatSetIntStatic23_
  3730. PushString "char_fm_clothes_7_unlck"
  3731. push_-1
  3732. Call @StatSetIntStatic23_
  3733. PushString "char_fm_clothes_8_unlck"
  3734. push_-1
  3735. Call @StatSetIntStatic23_
  3736. PushString "char_fm_clothes_9_unlck"
  3737. push_-1
  3738. Call @StatSetIntStatic23_
  3739. PushString "char_fm_clothes_10_unlck"
  3740. push_-1
  3741. Call @StatSetIntStatic23_
  3742. PushString "char_fm_clothes_11_unlck"
  3743. push_-1
  3744. Call @StatSetIntStatic23_
  3745. PushString "rankap_unlk_0"
  3746. push_-1
  3747. Call @StatSetIntStatic23_
  3748. PushString "rankap_unlk_1"
  3749. push_-1
  3750. Call @StatSetIntStatic23_
  3751. PushString "rankap_unlk_2"
  3752. push_-1
  3753. Call @StatSetIntStatic23_
  3754. PushString "rankap_unlk_3"
  3755. push_-1
  3756. Call @StatSetIntStatic23_
  3757. PushString "weapon_pickup_bitset"
  3758. push_-1
  3759. Call @StatSetIntStatic23_
  3760. PushString "weapon_pickup_bitset2"
  3761. push_-1
  3762. Call @StatSetIntStatic23_
  3763. PushString "char_fm_weap_unlocked"
  3764. push_-1
  3765. Call @StatSetIntStatic23_
  3766. PushString "char_fm_weap_unlocked2"
  3767. push_-1
  3768. Call @StatSetIntStatic23_
  3769. PushString "char_weap_addon_0_unlck"
  3770. push_-1
  3771. Call @StatSetIntStatic23_
  3772. PushString "char_weap_addon_1_unlck"
  3773. push_-1
  3774. Call @StatSetIntStatic23_
  3775. PushString "char_weap_addon_2_unlck"
  3776. push_-1
  3777. Call @StatSetIntStatic23_
  3778. PushString "char_weap_addon_3_unlck"
  3779. push_-1
  3780. Call @StatSetIntStatic23_
  3781. PushString "char_weap_addon_4_unlck"
  3782. push_-1
  3783. Call @StatSetIntStatic23_
  3784. PushString "char_kit_1_fm_unlck"
  3785. push_-1
  3786. Call @StatSetIntStatic23_
  3787. PushString "char_kit_2_fm_unlck"
  3788. push_-1
  3789. Call @StatSetIntStatic23_
  3790. PushString "char_kit_3_fm_unlck"
  3791. push_-1
  3792. Call @StatSetIntStatic23_
  3793. PushString "char_kit_4_fm_unlck"
  3794. push_-1
  3795. Call @StatSetIntStatic23_
  3796. PushString "char_kit_5_fm_unlck"
  3797. push_-1
  3798. Call @StatSetIntStatic23_
  3799. PushString "char_kit_6_fm_unlck"
  3800. push_-1
  3801. Call @StatSetIntStatic23_
  3802. PushString "char_kit_7_fm_unlck"
  3803. push_-1
  3804. Call @StatSetIntStatic23_
  3805. PushString "char_kit_7_fm_unlck"
  3806. push_-1
  3807. Call @StatSetIntStatic23_
  3808. PushString "char_kit_9_fm_unlck"
  3809. push_-1
  3810. Call @StatSetIntStatic23_
  3811. PushString "char_kit_10_fm_unlck"
  3812. push_-1
  3813. Call @StatSetIntStatic23_
  3814. PushString "char_kit_11_fm_unlck"
  3815. push_-1
  3816. Call @StatSetIntStatic23_
  3817. PushString "char_kit_12_fm_unlck"
  3818. push_-1
  3819. Call @StatSetIntStatic23_
  3820. PushString "char_kit_fm_purchase"
  3821. push_-1
  3822. Call @StatSetIntStatic23_
  3823. PushString "char_kit_fm_purchase2"
  3824. push_-1
  3825. Call @StatSetIntStatic23_
  3826. PushString "char_kit_fm_purchase3"
  3827. push_-1
  3828. Call @StatSetIntStatic23_
  3829. PushString "char_kit_fm_purchase4"
  3830. push_-1
  3831. Call @StatSetIntStatic23_
  3832. PushString "char_kit_fm_purchase5"
  3833. push_-1
  3834. Call @StatSetIntStatic23_
  3835. PushString "char_kit_fm_purchase6"
  3836. push_-1
  3837. Call @StatSetIntStatic23_
  3838. PushString "char_kit_fm_purchase7"
  3839. push_-1
  3840. Call @StatSetIntStatic23_
  3841. PushString "char_kit_fm_purchase8"
  3842. push_-1
  3843. Call @StatSetIntStatic23_
  3844. PushString "char_kit_fm_purchase9"
  3845. push_-1
  3846. Call @StatSetIntStatic23_
  3847. PushString "char_kit_fm_purchase10"
  3848. push_-1
  3849. Call @StatSetIntStatic23_
  3850. PushString "char_kit_fm_purchase11"
  3851. push_-1
  3852. Call @StatSetIntStatic23_
  3853. PushString "char_kit_fm_purchase12"
  3854. push_-1
  3855. Call @StatSetIntStatic23_
  3856. PushString "char_weap_0_unlck"
  3857. push_-1
  3858. Call @StatSetIntStatic23_
  3859. PushString "char_weap_1_unlck"
  3860. push_-1
  3861. Call @StatSetIntStatic23_
  3862. PushString "char_weap_2_unlck"
  3863. push_-1
  3864. Call @StatSetIntStatic23_
  3865. PushString "char_weap_3_unlck"
  3866. push_-1
  3867. Call @StatSetIntStatic23_
  3868. PushString "char_weap_4_unlck"
  3869. push_-1
  3870. Call @StatSetIntStatic23_
  3871. PushString "races_won"
  3872. Push 100
  3873. Call @StatSetIntStatic23_
  3874. PushString "usjs_found"
  3875. Push 50
  3876. Call @StatSetIntStatic23_
  3877. PushString "usjs_completed"
  3878. Push 50
  3879. Call @StatSetIntStatic23_
  3880. PushString "unlock_hipster_tshirt_dog"
  3881. push_-1
  3882. Call @StatSetIntStatic23_
  3883. PushString "unlock_hipster_tshirt_vinyl"
  3884. push_-1
  3885. Call @StatSetIntStatic23_
  3886. PushString "unlock_hipster_tshirt_mess"
  3887. push_-1
  3888. Call @StatSetIntStatic23_
  3889. PushString "unlock_race_hipster_tshirt"
  3890. push_-1
  3891. Call @StatSetIntStatic23_
  3892. PushString "unlock_dm_hipster_tshirt"
  3893. push_-1
  3894. Call @StatSetIntStatic23_
  3895. PushString "awd_fmwinairrace"
  3896. Push 50
  3897. Call @StatSetIntStatic23_
  3898. PushString "awd_fmwinsearace"
  3899. Push 50
  3900. Call @StatSetIntStatic23_
  3901. PushString "awd_rallywondrive"
  3902. Push 50
  3903. Call @StatSetIntStatic23_
  3904. PushString "awd_fmrallywonnav"
  3905. Push 50
  3906. Call @StatSetIntStatic23_
  3907. PushString "number_slipstreams_in_race"
  3908. Push 140
  3909. Call @StatSetIntStatic23_
  3910. PushString "awd_fm_races_fastest_lap"
  3911. Push 120
  3912. Call @StatSetIntStatic23_
  3913. PushString "number_turbo_starts_in_race"
  3914. Push 120
  3915. Call @StatSetIntStatic23_
  3916. PushString "awd_no_haircuts"
  3917. Push 25
  3918. Call @StatSetIntStatic23_
  3919. PushString "awd_security_cars_robbed"
  3920. Push 50
  3921. Call @StatSetIntStatic23_
  3922. PushString "awd_100_kills_sniper"
  3923. push_-1
  3924. Call @StatSetIntStatic23_
  3925. PushString "awd_50_kills_grenades"
  3926. push_-1
  3927. Call @StatSetIntStatic23_
  3928. PushString "awd_cops_killed"
  3929. Push 100
  3930. Call @StatSetIntStatic23_
  3931. PushString "awd_fmwineverygamemode"
  3932. push_1
  3933. Call @StatSetBool_
  3934. PushString "awd_fmpickupdlccrate1st"
  3935. push_1
  3936. Call @StatSetBool_
  3937. PushString "uniquecrates"
  3938. push_7
  3939. Call @StatSetIntStatic23_
  3940. PushString "awd_fmcratedrops"
  3941. Push 60
  3942. Call @StatSetIntStatic23_
  3943. PushString "awd_fmwinallracemodes"
  3944. push_1
  3945. Call @StatSetBool_
  3946. PushString "awd_fmraceworldrecholder"
  3947. push_1
  3948. Call @StatSetBool_
  3949. PushString "char_crewunlock_1_unlck"
  3950. push_-1
  3951. Call @StatSetIntStatic23_
  3952. PushString "char_crewunlock_1_fm_equip"
  3953. push_-1
  3954. Call @StatSetIntStatic23_
  3955. PushString "char_crewunlock_2_fm_equip"
  3956. push_-1
  3957. Call @StatSetIntStatic23_
  3958. PushString "char_crewunlock_3_fm_equip"
  3959. push_-1
  3960. Call @StatSetIntStatic23_
  3961. PushString "char_crewunlock_4_fm_equip"
  3962. push_-1
  3963. Call @StatSetIntStatic23_
  3964. PushString "char_crewunlock_5_fm_equip"
  3965. push_-1
  3966. Call @StatSetIntStatic23_
  3967. PushString "lap_danced_bought"
  3968. Push 50
  3969. Call @StatSetIntStatic23_
  3970. PushString "prostitutes_frequented"
  3971. Push 50
  3972. Call @StatSetIntStatic23_
  3973. PushString "char_fm_health_1_unlck"
  3974. push_-1
  3975. Call @StatSetIntStatic23_
  3976. PushString "char_fm_health_2_unlck"
  3977. push_-1
  3978. Call @StatSetIntStatic23_
  3979. PushString "char_fm_vehicle_1_unlck"
  3980. push_-1
  3981. Call @StatSetIntStatic23_
  3982. PushString "char_fm_vehicle_2_unlck"
  3983. push_-1
  3984. Call @StatSetIntStatic23_
  3985. PushString "script_increase_stam"
  3986. Push 100
  3987. Call @StatSetIntStatic23_
  3988. PushString "script_increase_strn"
  3989. Push 100
  3990. Call @StatSetIntStatic23_
  3991. PushString "script_increase_lung"
  3992. Push 100
  3993. Call @StatSetIntStatic23_
  3994. PushString "script_increase_driv"
  3995. Push 100
  3996. Call @StatSetIntStatic23_
  3997. PushString "script_increase_fly"
  3998. Push 100
  3999. Call @StatSetIntStatic23_
  4000. PushString "script_increase_sho"
  4001. Push 100
  4002. Call @StatSetIntStatic23_
  4003. PushString "script_increase_stl"
  4004. Push 100
  4005. Call @StatSetIntStatic23_
  4006. PushString "script_increase_mech"
  4007. Push 100
  4008. Call @StatSetIntStatic23_
  4009. PushString "char_fm_haircut_1_unlck"
  4010. push_-1
  4011. Call @StatSetIntStatic23_
  4012. PushString "char_weap_unlocked"
  4013. push_-1
  4014. Call @StatSetIntStatic23_
  4015. PushString "char_weap_unlocked2"
  4016. push_-1
  4017. Call @StatSetIntStatic23_
  4018. PushString "char_fm_weap_addon_1_unlck"
  4019. push_-1
  4020. Call @StatSetIntStatic23_
  4021. PushString "char_fm_weap_addon_2_unlck"
  4022. push_-1
  4023. Call @StatSetIntStatic23_
  4024. PushString "char_fm_weap_addon_3_unlck"
  4025. push_-1
  4026. Call @StatSetIntStatic23_
  4027. PushString "char_fm_weap_addon_4_unlck"
  4028. push_-1
  4029. Call @StatSetIntStatic23_
  4030. PushString "char_weap_free"
  4031. push_-1
  4032. Call @StatSetIntStatic23_
  4033. PushString "char_weap_free2"
  4034. push_-1
  4035. Call @StatSetIntStatic23_
  4036. PushString "char_fm_weap_free"
  4037. push_-1
  4038. Call @StatSetIntStatic23_
  4039. PushString "char_fm_weap_free2"
  4040. push_-1
  4041. Call @StatSetIntStatic23_
  4042. PushString "char_fm_ability_1_unlck"
  4043. push_-1
  4044. Call @StatSetIntStatic23_
  4045. PushString "char_fm_ability_2_unlck"
  4046. push_-1
  4047. Call @StatSetIntStatic23_
  4048. PushString "char_fm_ability_3_unlck"
  4049. push_-1
  4050. Call @StatSetIntStatic23_
  4051. PushString "char_fm_package_1_collect"
  4052. push_-1
  4053. Call @StatSetIntStatic23_
  4054. PushString "char_fm_package_2_collect"
  4055. push_-1
  4056. Call @StatSetIntStatic23_
  4057. PushString "char_fm_package_3_collect"
  4058. push_-1
  4059. Call @StatSetIntStatic23_
  4060. PushString "char_fm_package_4_collect"
  4061. push_-1
  4062. Call @StatSetIntStatic23_
  4063. PushString "char_fm_package_5_collect"
  4064. push_-1
  4065. Call @StatSetIntStatic23_
  4066. PushString "char_fm_package_6_collect"
  4067. push_-1
  4068. Call @StatSetIntStatic23_
  4069. PushString "char_fm_package_7_collect"
  4070. push_-1
  4071. Call @StatSetIntStatic23_
  4072. PushString "char_fm_package_8_collect"
  4073. push_-1
  4074. Call @StatSetIntStatic23_
  4075. PushString "char_fm_package_9_collect"
  4076. push_-1
  4077. Call @StatSetIntStatic23_
  4078. PushString "archenemy_name"
  4079. CallNative "GET_HASH_KEY" 1 1
  4080. PushString "RaYRoD"
  4081. push_1
  4082. CallNative "STAT_SET_STRING" 3 1
  4083. Drop
  4084. PushString "char_ability_1_unlck"
  4085. push_-1
  4086. Call @StatSetIntStatic23_
  4087. PushString "char_ability_2_unlck"
  4088. push_-1
  4089. Call @StatSetIntStatic23_
  4090. PushString "char_ability_3_unlck"
  4091. push_-1
  4092. Call @StatSetIntStatic23_
  4093. PushString "pilot_school_medal_0"
  4094. push_-1
  4095. Call @StatSetIntStatic23_
  4096. PushString "pilot_school_medal_1"
  4097. push_-1
  4098. Call @StatSetIntStatic23_
  4099. PushString "pilot_school_medal_2"
  4100. push_-1
  4101. Call @StatSetIntStatic23_
  4102. PushString "pilot_school_medal_3"
  4103. push_-1
  4104. Call @StatSetIntStatic23_
  4105. PushString "pilot_school_medal_4"
  4106. push_-1
  4107. Call @StatSetIntStatic23_
  4108. PushString "pilot_school_medal_5"
  4109. push_-1
  4110. Call @StatSetIntStatic23_
  4111. PushString "pilot_school_medal_6"
  4112. push_-1
  4113. Call @StatSetIntStatic23_
  4114. PushString "pilot_school_medal_7"
  4115. push_-1
  4116. Call @StatSetIntStatic23_
  4117. PushString "pilot_school_medal_8"
  4118. push_-1
  4119. Call @StatSetIntStatic23_
  4120. PushString "pilot_school_medal_9"
  4121. push_-1
  4122. Call @StatSetIntStatic23_
  4123. PushString "show_property_blip_on_job"
  4124. push_-1
  4125. Call @StatSetIntStatic23_
  4126. Jump @EndUnlockOptions_
  4127. :UnlockHidden+DlcClothing_
  4128. PushString "DLC Clothing Unlocked"
  4129. PushS 2500
  4130. Call @PrintStringBottomCentre_
  4131. PushString "dlc_apparel_acquired_0"
  4132. push_-1
  4133. Call @StatSetIntStatic23_
  4134. PushString "dlc_apparel_acquired_1"
  4135. push_-1
  4136. Call @StatSetIntStatic23_
  4137. PushString "dlc_apparel_acquired_2"
  4138. push_-1
  4139. Call @StatSetIntStatic23_
  4140. PushString "dlc_apparel_acquired_3"
  4141. push_-1
  4142. Call @StatSetIntStatic23_
  4143. PushString "dlc_apparel_acquired_4"
  4144. push_-1
  4145. Call @StatSetIntStatic23_
  4146. PushString "dlc_apparel_acquired_5"
  4147. push_-1
  4148. Call @StatSetIntStatic23_
  4149. PushString "dlc_apparel_acquired_6"
  4150. push_-1
  4151. Call @StatSetIntStatic23_
  4152. PushString "dlc_apparel_acquired_7"
  4153. push_-1
  4154. Call @StatSetIntStatic23_
  4155. PushString "dlc_apparel_acquired_8"
  4156. push_-1
  4157. Call @StatSetIntStatic23_
  4158. PushString "dlc_apparel_acquired_9"
  4159. push_-1
  4160. Call @StatSetIntStatic23_
  4161. PushString "dlc_apparel_acquired_10"
  4162. push_-1
  4163. Call @StatSetIntStatic23_
  4164. PushString "dlc_apparel_acquired_11"
  4165. push_-1
  4166. Call @StatSetIntStatic23_
  4167. PushString "dlc_apparel_acquired_12"
  4168. push_-1
  4169. Call @StatSetIntStatic23_
  4170. PushString "dlc_apparel_acquired_13"
  4171. push_-1
  4172. Call @StatSetIntStatic23_
  4173. PushString "dlc_apparel_acquired_14"
  4174. push_-1
  4175. Call @StatSetIntStatic23_
  4176. PushString "dlc_apparel_acquired_15"
  4177. push_-1
  4178. Call @StatSetIntStatic23_
  4179. PushString "dlc_apparel_acquired_16"
  4180. push_-1
  4181. Call @StatSetIntStatic23_
  4182. PushString "dlc_apparel_acquired_17"
  4183. push_-1
  4184. Call @StatSetIntStatic23_
  4185. PushString "dlc_apparel_acquired_18"
  4186. push_-1
  4187. Call @StatSetIntStatic23_
  4188. PushString "dlc_apparel_acquired_19"
  4189. push_-1
  4190. Call @StatSetIntStatic23_
  4191. PushString "dlc_apparel_acquired_20"
  4192. push_-1
  4193. Call @StatSetIntStatic23_
  4194. PushString "dlc_apparel_acquired_21"
  4195. push_-1
  4196. Call @StatSetIntStatic23_
  4197. PushString "dlc_apparel_acquired_22"
  4198. push_-1
  4199. Call @StatSetIntStatic23_
  4200. PushString "dlc_apparel_acquired_23"
  4201. push_-1
  4202. Call @StatSetIntStatic23_
  4203. PushString "dlc_apparel_acquired_24"
  4204. push_-1
  4205. Call @StatSetIntStatic23_
  4206. PushString "dlc_apparel_acquired_25"
  4207. push_-1
  4208. Call @StatSetIntStatic23_
  4209. PushString "dlc_apparel_acquired_26"
  4210. push_-1
  4211. Call @StatSetIntStatic23_
  4212. PushString "dlc_apparel_acquired_27"
  4213. push_-1
  4214. Call @StatSetIntStatic23_
  4215. PushString "dlc_apparel_acquired_28"
  4216. push_-1
  4217. Call @StatSetIntStatic23_
  4218. PushString "dlc_apparel_acquired_29"
  4219. push_-1
  4220. Call @StatSetIntStatic23_
  4221. PushString "dlc_apparel_acquired_30"
  4222. push_-1
  4223. Call @StatSetIntStatic23_
  4224. PushString "dlc_apparel_acquired_31"
  4225. push_-1
  4226. Call @StatSetIntStatic23_
  4227. PushString "dlc_apparel_acquired_32"
  4228. push_-1
  4229. Call @StatSetIntStatic23_
  4230. PushString "dlc_apparel_acquired_33"
  4231. push_-1
  4232. Call @StatSetIntStatic23_
  4233. PushString "dlc_apparel_acquired_34"
  4234. push_-1
  4235. Call @StatSetIntStatic23_
  4236. PushString "dlc_apparel_acquired_35"
  4237. push_-1
  4238. Call @StatSetIntStatic23_
  4239. PushString "dlc_apparel_acquired_36"
  4240. push_-1
  4241. Call @StatSetIntStatic23_
  4242. :Special_
  4243. PushString "clths_acquired_special"
  4244. push_-1
  4245. Call @StatSetIntStatic23_
  4246. PushString "clths_acquired_special_1"
  4247. push_-1
  4248. Call @StatSetIntStatic23_
  4249. PushString "clths_acquired_special_2"
  4250. push_-1
  4251. Call @StatSetIntStatic23_
  4252. PushString "clths_acquired_special_3"
  4253. push_-1
  4254. Call @StatSetIntStatic23_
  4255. PushString "clths_acquired_special_4"
  4256. push_-1
  4257. Call @StatSetIntStatic23_
  4258. PushString "clths_acquired_special_5"
  4259. push_-1
  4260. Call @StatSetIntStatic23_
  4261. PushString "clths_acquired_special_6"
  4262. push_-1
  4263. Call @StatSetIntStatic23_
  4264. PushString "clths_acquired_special_7"
  4265. push_-1
  4266. Call @StatSetIntStatic23_
  4267. PushString "clths_acquired_special2"
  4268. push_-1
  4269. Call @StatSetIntStatic23_
  4270. PushString "clths_acquired_special2_1"
  4271. push_-1
  4272. Call @StatSetIntStatic23_
  4273. PushString "admin_clothes_gv_bs_1"
  4274. push_-1
  4275. Call @StatSetIntStatic23_
  4276. PushString "admin_clothes_gv_bs_2"
  4277. push_-1
  4278. Call @StatSetIntStatic23_
  4279. PushString "admin_clothes_gv_bs_3"
  4280. push_-1
  4281. Call @StatSetIntStatic23_
  4282. PushString "admin_clothes_gv_bs_4"
  4283. push_-1
  4284. Call @StatSetIntStatic23_
  4285. PushString "admin_clothes_gv_bs_5"
  4286. push_-1
  4287. Call @StatSetIntStatic23_
  4288. PushString "admin_clothes_gv_bs_6"
  4289. push_-1
  4290. Call @StatSetIntStatic23_
  4291. PushString "admin_clothes_gv_bs_7"
  4292. push_-1
  4293. Call @StatSetIntStatic23_
  4294. PushString "admin_clothes_gv_bs_8"
  4295. push_-1
  4296. Call @StatSetIntStatic23_
  4297. PushString "admin_clothes_gv_bs_9"
  4298. push_-1
  4299. Call @StatSetIntStatic23_
  4300. PushString "admin_clothes_gv_bs_10"
  4301. push_-1
  4302. :NormalClothes_
  4303. Call @StatSetIntStatic23_
  4304. PushString "clths_available_hair"
  4305. push_-1
  4306. Call @StatSetIntStatic23_
  4307. PushString "clths_available_hair_1"
  4308. push_-1
  4309. Call @StatSetIntStatic23_
  4310. PushString "clths_available_hair_2"
  4311. push_-1
  4312. Call @StatSetIntStatic23_
  4313. PushString "clths_available_hair_3"
  4314. push_-1
  4315. Call @StatSetIntStatic23_
  4316. PushString "clths_available_hair_4"
  4317. push_-1
  4318. Call @StatSetIntStatic23_
  4319. PushString "clths_available_hair_5"
  4320. push_-1
  4321. Call @StatSetIntStatic23_
  4322. PushString "clths_available_hair_6"
  4323. push_-1
  4324. Call @StatSetIntStatic23_
  4325. PushString "clths_available_hair_7"
  4326. push_-1
  4327. Call @StatSetIntStatic23_
  4328. PushString "clths_available_jbib"
  4329. push_-1
  4330. Call @StatSetIntStatic23_
  4331. PushString "clths_available_jbib_1"
  4332. push_-1
  4333. Call @StatSetIntStatic23_
  4334. PushString "clths_available_jbib_2"
  4335. push_-1
  4336. Call @StatSetIntStatic23_
  4337. PushString "clths_available_jbib_3"
  4338. push_-1
  4339. Call @StatSetIntStatic23_
  4340. PushString "clths_available_jbib_4"
  4341. push_-1
  4342. Call @StatSetIntStatic23_
  4343. PushString "clths_available_jbib_5"
  4344. push_-1
  4345. Call @StatSetIntStatic23_
  4346. PushString "clths_available_jbib_6"
  4347. push_-1
  4348. Call @StatSetIntStatic23_
  4349. PushString "clths_available_jbib_7"
  4350. push_-1
  4351. Call @StatSetIntStatic23_
  4352. PushString "clths_available_legs"
  4353. push_-1
  4354. Call @StatSetIntStatic23_
  4355. PushString "clths_available_legs_1"
  4356. push_-1
  4357. Call @StatSetIntStatic23_
  4358. PushString "clths_available_legs_2"
  4359. push_-1
  4360. Call @StatSetIntStatic23_
  4361. PushString "clths_available_legs_3"
  4362. push_-1
  4363. Call @StatSetIntStatic23_
  4364. PushString "clths_available_legs_4"
  4365. push_-1
  4366. Call @StatSetIntStatic23_
  4367. PushString "clths_available_legs_5"
  4368. push_-1
  4369. Call @StatSetIntStatic23_
  4370. PushString "clths_available_legs_6"
  4371. push_-1
  4372. Call @StatSetIntStatic23_
  4373. PushString "clths_available_legs_7"
  4374. push_-1
  4375. Call @StatSetIntStatic23_
  4376. PushString "clths_available_feet"
  4377. push_-1
  4378. Call @StatSetIntStatic23_
  4379. PushString "clths_available_feet_1"
  4380. push_-1
  4381. Call @StatSetIntStatic23_
  4382. PushString "clths_available_feet_2"
  4383. push_-1
  4384. Call @StatSetIntStatic23_
  4385. PushString "clths_available_feet_3"
  4386. push_-1
  4387. Call @StatSetIntStatic23_
  4388. PushString "clths_available_feet_4"
  4389. push_-1
  4390. Call @StatSetIntStatic23_
  4391. PushString "clths_available_feet_5"
  4392. push_-1
  4393. Call @StatSetIntStatic23_
  4394. PushString "clths_available_feet_6"
  4395. push_-1
  4396. Call @StatSetIntStatic23_
  4397. PushString "clths_available_feet_7"
  4398. push_-1
  4399. Call @StatSetIntStatic23_
  4400. PushString "clths_available_feet_7"
  4401. push_-1
  4402. Call @StatSetIntStatic23_
  4403. PushString "clths_available_berd"
  4404. push_-1
  4405. Call @StatSetIntStatic23_
  4406. PushString "clths_available_berd_1"
  4407. push_-1
  4408. Call @StatSetIntStatic23_
  4409. PushString "clths_available_berd_2"
  4410. push_-1
  4411. Call @StatSetIntStatic23_
  4412. PushString "clths_available_berd_3"
  4413. push_-1
  4414. Call @StatSetIntStatic23_
  4415. PushString "clths_available_berd_4"
  4416. push_-1
  4417. Call @StatSetIntStatic23_
  4418. PushString "clths_available_berd_5"
  4419. push_-1
  4420. Call @StatSetIntStatic23_
  4421. PushString "clths_available_berd_6"
  4422. push_-1
  4423. Call @StatSetIntStatic23_
  4424. PushString "clths_available_berd_7"
  4425. push_-1
  4426. Call @StatSetIntStatic23_
  4427. PushString "clths_available_props"
  4428. push_-1
  4429. Call @StatSetIntStatic23_
  4430. PushString "clths_available_props_1"
  4431. push_-1
  4432. Call @StatSetIntStatic23_
  4433. PushString "clths_available_props_2"
  4434. push_-1
  4435. Call @StatSetIntStatic23_
  4436. PushString "clths_available_props_3"
  4437. push_-1
  4438. Call @StatSetIntStatic23_
  4439. PushString "clths_available_props_4"
  4440. push_-1
  4441. Call @StatSetIntStatic23_
  4442. PushString "clths_available_props_5"
  4443. push_-1
  4444. Call @StatSetIntStatic23_
  4445. PushString "clths_available_props_6"
  4446. push_-1
  4447. Call @StatSetIntStatic23_
  4448. PushString "clths_available_props_7"
  4449. push_-1
  4450. Call @StatSetIntStatic23_
  4451. PushString "clths_available_props_8"
  4452. push_-1
  4453. Call @StatSetIntStatic23_
  4454. PushString "clths_available_props_9"
  4455. push_-1
  4456. Call @StatSetIntStatic23_
  4457. PushString "clths_available_props_10"
  4458. push_-1
  4459. Call @StatSetIntStatic23_
  4460. PushString "clths_available_outfit"
  4461. push_-1
  4462. Call @StatSetIntStatic23_
  4463. PushString "clths_available_decl"
  4464. push_-1
  4465. Call @StatSetIntStatic23_
  4466. PushString "clths_available_teeth"
  4467. push_-1
  4468. Call @StatSetIntStatic23_
  4469. PushString "clths_available_teeth_1"
  4470. push_-1
  4471. Call @StatSetIntStatic23_
  4472. PushString "clths_available_teeth_2"
  4473. push_-1
  4474. Call @StatSetIntStatic23_
  4475. Jump @EndUnlockOptions_
  4476. :MaxInventory_
  4477. PushString "mp0_mp_char_armour_1_count"
  4478. Push 999999999
  4479. Call @StatSetInt_
  4480. PushString "mp0_mp_char_armour_2_count"
  4481. Push 999999999
  4482. Call @StatSetInt_
  4483. PushString "mp0_mp_char_armour_3_count"
  4484. Push 999999999
  4485. Call @StatSetInt_
  4486. PushString "mp0_mp_char_armour_4_count"
  4487. Push 999999999
  4488. Call @StatSetInt_
  4489. PushString "mp0_mp_char_armour_5_count"
  4490. Push 999999999
  4491. Call @StatSetInt_
  4492. PushString "mp0_char_current_health"
  4493. Push 999999999
  4494. Call @StatSetInt_
  4495. PushString "mp0_char_current_armour"
  4496. Push 999999999
  4497. Call @StatSetInt_
  4498. PushString "mp1_mp_char_armour_1_count"
  4499. Push 999999999
  4500. Call @StatSetInt_
  4501. PushString "mp1_mp_char_armour_2_count"
  4502. Push 999999999
  4503. Call @StatSetInt_
  4504. PushString "mp1_mp_char_armour_3_count"
  4505. Push 999999999
  4506. Call @StatSetInt_
  4507. PushString "mp1_mp_char_armour_4_count"
  4508. Push 999999999
  4509. Call @StatSetInt_
  4510. PushString "mp1_mp_char_armour_5_count"
  4511. Push 999999999
  4512. Call @StatSetInt_
  4513. :Snacks_
  4514. PushString "mp0_no_bought_yum_snacks"
  4515. Push 999999999
  4516. Call @StatSetInt_
  4517. PushString "mp0_no_bought_health_snacks"
  4518. Push 999999999
  4519. Call @StatSetInt_
  4520. PushString "mp0_no_bought_epic_snacks"
  4521. Push 999999999
  4522. Call @StatSetInt_
  4523. PushString "mp0_number_of_orange_bought"
  4524. Push 999999999
  4525. Call @StatSetInt_
  4526. PushString "mp0_number_of_bourge_bought"
  4527. Push 999999999
  4528. Call @StatSetInt_
  4529. PushString "mp1_no_bought_yum_snacks"
  4530. Push 999999999
  4531. Call @StatSetInt_
  4532. PushString "mp1_no_bought_health_snacks"
  4533. Push 999999999
  4534. Call @StatSetInt_
  4535. PushString "mp1_no_bought_epic_snacks"
  4536. Push 999999999
  4537. Call @StatSetInt_
  4538. PushString "mp1_number_of_orange_bought"
  4539. Push 999999999
  4540. Call @StatSetInt_
  4541. PushString "mp1_number_of_bourge_bought"
  4542. Push 999999999
  4543. Call @StatSetInt_
  4544. :Fireworks_
  4545. PushString "mp0_firework_type_1_white"
  4546. Push 99999999
  4547. Call @StatSetInt_
  4548. PushString "mp0_firework_type_1_red"
  4549. Push 99999999
  4550. Call @StatSetInt_
  4551. PushString "mp0_firework_type_1_blue"
  4552. Push 99999999
  4553. Call @StatSetInt_
  4554. PushString "mp0_firework_type_2_white"
  4555. Push 99999999
  4556. Call @StatSetInt_
  4557. PushString "mp0_firework_type_2_red"
  4558. Push 99999999
  4559. Call @StatSetInt_
  4560. PushString "mp0_firework_type_2_blue"
  4561. Push 99999999
  4562. Call @StatSetInt_
  4563. PushString "mp0_firework_type_3_white"
  4564. Push 99999999
  4565. Call @StatSetInt_
  4566. PushString "mp0_firework_type_3_red"
  4567. Push 99999999
  4568. Call @StatSetInt_
  4569. PushString "mp0_firework_type_3_blue"
  4570. Push 99999999
  4571. Call @StatSetInt_
  4572. PushString "mp0_firework_type_4_white"
  4573. Push 99999999
  4574. Call @StatSetInt_
  4575. PushString "mp0_firework_type_4_red"
  4576. Push 99999999
  4577. Call @StatSetInt_
  4578. PushString "mp0_firework_type_4_blue"
  4579. Push 99999999
  4580. Call @StatSetInt_
  4581. PushString "mp1_firework_type_1_white"
  4582. Push 99999999
  4583. Call @StatSetInt_
  4584. PushString "mp1_firework_type_1_red"
  4585. Push 99999999
  4586. Call @StatSetInt_
  4587. PushString "mp1_firework_type_1_blue"
  4588. Push 99999999
  4589. Call @StatSetInt_
  4590. PushString "mp1_firework_type_2_white"
  4591. Push 99999999
  4592. Call @StatSetInt_
  4593. PushString "mp1_firework_type_2_red"
  4594. Push 99999999
  4595. Call @StatSetInt_
  4596. PushString "mp1_firework_type_2_blue"
  4597. Push 99999999
  4598. Call @StatSetInt_
  4599. PushString "mp1_firework_type_3_white"
  4600. Push 99999999
  4601. Call @StatSetInt_
  4602. PushString "mp1_firework_type_3_red"
  4603. Push 99999999
  4604. Call @StatSetInt_
  4605. PushString "mp1_firework_type_3_blue"
  4606. Push 99999999
  4607. Call @StatSetInt_
  4608. PushString "mp1_firework_type_4_white"
  4609. Push 99999999
  4610. Call @StatSetInt_
  4611. PushString "mp1_firework_type_4_red"
  4612. Push 99999999
  4613. Call @StatSetInt_
  4614. PushString "mp1_firework_type_4_blue"
  4615. Push 99999999
  4616. Call @StatSetInt_
  4617. Jump @EndUnlockOptions_
  4618. :RemoveFromWallet_
  4619. push_0
  4620. StaticSet1 12
  4621. push_0
  4622. StaticSet2 481
  4623. Call @PromptUser_
  4624. pStatic1 12
  4625. CallNative "STRING_TO_INT" 2 1
  4626. Drop
  4627. PushString "mp0_wallet_balance"
  4628. GetHash
  4629. pStatic2 481
  4630. push_1
  4631. CallNative "STAT_GET_INT" 3 1
  4632. Drop
  4633. StaticGet2 481
  4634. StaticGet1 12
  4635. Sub
  4636. StaticSet1 12
  4637. PushString "mp1_wallet_balance"
  4638. StaticGet1 12
  4639. Call @StatSetInt_
  4640. Jump @EndUnlockOptions_
  4641. :CheaterOptionssub_
  4642. Push 26
  4643. StaticSet1 1
  4644. Call @ChangeSubmenu_
  4645. Jump @EndUnlockOptions_
  4646. :EndUnlockOptions_
  4647. Return 0 0
  4648.  
  4649. :CheaterOptions_
  4650. Function 0 2 0
  4651. fPush_5.0
  4652. StaticSet1 3
  4653. Push 25
  4654. StaticSet1 8
  4655. Call @DrawBackground_
  4656. Call @DrawNormalOptionHighlight_
  4657. PushString "Useful Utilities"
  4658. Call @AddInfoBox_
  4659. PushString "Cheater Options"
  4660. Call @AddTitle_
  4661. fPush_1.0
  4662. PushString "Revoke Cheater"
  4663. Call @AddOption_
  4664. fPush_2.0
  4665. PushString "Revoke Bad Sport"
  4666. Call @AddOption_
  4667. fPush_3.0
  4668. PushString "Clear Reports + Commend"
  4669. Call @AddOption_
  4670. fPush_4.0
  4671. PushString "Bypass Tutorial"
  4672. Call @AddOption_
  4673. // Options' Functions
  4674. Call @CheckAPressed_
  4675. push_1
  4676. JumpEQ @CheaterOptionsController_
  4677. Jump @EndCheaterOptions_
  4678. :CheaterOptionsController_
  4679. PushString "SELECT"
  4680. Call @PlayFrontendSound_
  4681. StaticGet1 2
  4682. FtoI
  4683. Switch [1=@Cheater_][2=@RemoveBadSport_][3=@ClearReports_][4=@BypassTutorial_]
  4684. :Cheater_
  4685. PushString "mp0_times_cheated"
  4686. push_0
  4687. Call @StatSetInt_
  4688. PushString "mp1_times_cheated"
  4689. push_0
  4690. Call @StatSetInt_
  4691. PushString "mpply_is_cheater"
  4692. push_0
  4693. Call @StatSetBool_
  4694. PushString "mp0_cheat_bitset"
  4695. push_0
  4696. Call @StatSetInt_
  4697. PushString "mp1_cheat_bitset"
  4698. push_0
  4699. Call @StatSetInt_
  4700. PushString "mpply_was_i_cheater"
  4701. push_0
  4702. Call @StatSetBool_
  4703. PushString "mpply_overall_cheat"
  4704. fPush 0
  4705. Call @StatSetFloat_
  4706. PushString "mpply_became_cheater_num"
  4707. push_0
  4708. Call @StatSetInt_
  4709. PushString "mpply_dm_cheat_tally"
  4710. push_0
  4711. Call @StatSetInt_
  4712. PushString "mpply_race_cheat_tally"
  4713. push_0
  4714. Call @StatSetInt_
  4715. PushString "mpply_mc_cheat_tally"
  4716. push_0
  4717. Call @StatSetInt_
  4718. PushString "mpply_mgame_cheat_tally"
  4719. push_0
  4720. Call @StatSetInt_
  4721. PushString "scadmin_is_cheater"
  4722. push_0
  4723. Call @StatSetBool_
  4724. PushString "mpply_cap_cheat_tally"
  4725. push_0
  4726. Call @StatSetInt_
  4727. PushString "mpply_sur_cheat_tally"
  4728. push_0
  4729. Call @StatSetInt_
  4730. PushString "mpply_lts_cheat_tally"
  4731. push_0
  4732. Call @StatSetInt_
  4733. PushString "mpply_para_cheat_tally"
  4734. push_0
  4735. Call @StatSetInt_
  4736. Jump @EndCheaterOptions_
  4737. :RemoveBadSport_
  4738. PushString "mp0_bad_sport_bitset"
  4739. push_0
  4740. Call @StatSetInt_
  4741. PushString "mp1_bad_sport_bitset"
  4742. push_0
  4743. Call @StatSetInt_
  4744. PushString "mpply_was_i_bad_sport"
  4745. push_0
  4746. Call @StatSetBool_
  4747. PushString "mpply_overall_bad_sport"
  4748. fPush 0
  4749. Call @StatSetFloat_
  4750. PushString "mpply_char_bad_sport"
  4751. push_0
  4752. Call @StatSetBool_
  4753. PushString "mpply_became_bad_sport_num"
  4754. push_0
  4755. Call @StatSetInt_
  4756. PushString "mpply_destroyed_pvehicles"
  4757. push_0
  4758. Call @StatSetInt_
  4759. Jump @EndCheaterOptions_
  4760. :ClearReports_
  4761. PushString "mpply_commend_strength"
  4762. Push 160
  4763. Call @StatSetInt_
  4764. PushString "mpply_friendly"
  4765. Push 150
  4766. Call @StatSetInt_
  4767. PushString "mpply_helpful"
  4768. Push 140
  4769. Call @StatSetInt_
  4770. PushString "mpply_griefing"
  4771. push_0
  4772. Call @StatSetInt_
  4773. PushString "mpply_vc_annoyingme"
  4774. push_0
  4775. Call @StatSetInt_
  4776. PushString "mpply_offensive_language"
  4777. push_0
  4778. Call @StatSetInt_
  4779. PushString "mpply_offensive_ugc"
  4780. push_0
  4781. Call @StatSetInt_
  4782. PushString "mpply_vc_hate"
  4783. push_0
  4784. Call @StatSetInt_
  4785. PushString "mpply_offensive_tagplate"
  4786. push_0
  4787. Call @StatSetInt_
  4788. PushString "mpply_bad_crew_name"
  4789. push_0
  4790. Call @StatSetInt_
  4791. PushString "mpply_bad_crew_motto"
  4792. push_0
  4793. Call @StatSetInt_
  4794. PushString "mpply_bad_crew_status"
  4795. push_0
  4796. Call @StatSetInt_
  4797. PushString "mpply_bad_crew_emblem"
  4798. push_0
  4799. Call @StatSetInt_
  4800. PushString "mpply_game_exploits"
  4801. push_0
  4802. Call @StatSetInt_
  4803. PushString "mpply_exploits"
  4804. push_0
  4805. Call @StatSetInt_
  4806. PushString "mpply_ispunished"
  4807. push_0
  4808. Call @StatSetBool_
  4809. Jump @EndCheaterOptions_
  4810. :BypassTutorial_
  4811. PushString "mp0_fm_racetut_done"
  4812. push_1
  4813. Call @StatSetBool_
  4814. PushString "mp0_no_tut_spawn"
  4815. push_1
  4816. Call @StatSetBool_
  4817. PushString "mp0_front_end_jip_unlocked"
  4818. push_1
  4819. Call @StatSetBool_
  4820. PushString "mp0_fm_trigtut_done"
  4821. push_1
  4822. Call @StatSetBool_
  4823. PushString "mp0_fm_holdtut_done"
  4824. push_1
  4825. Call @StatSetBool_
  4826. PushString "mp0_fm_cmodtut_done"
  4827. push_1
  4828. Call @StatSetBool_
  4829. PushString "mp1_fm_racetut_done"
  4830. push_1
  4831. Call @StatSetBool_
  4832. PushString "mp1_no_tut_spawn"
  4833. push_1
  4834. Call @StatSetBool_
  4835. PushString "mp1_front_end_jip_unlocked"
  4836. push_1
  4837. Call @StatSetBool_
  4838. PushString "mp1_fm_trigtut_done"
  4839. push_1
  4840. Call @StatSetBool_
  4841. PushString "mp1_fm_holdtut_done"
  4842. push_1
  4843. Call @StatSetBool_
  4844. PushString "mp1_fm_cmodtut_done"
  4845. push_1
  4846. Call @StatSetBool_
  4847. PushString "mpply_no_more_tutorials"
  4848. push_1
  4849. Call @StatSetBool_
  4850. Jump @EndCheaterOptions_
  4851. :EndCheaterOptions_
  4852.  
  4853. :PersonalVehicle_
  4854. Function 0 2 0
  4855. fPush_3.0
  4856. StaticSet1 3
  4857. push_6
  4858. StaticSet1 8
  4859. Call @DrawBackground_
  4860. Call @DrawNormalOptionHighlight_
  4861. PushString "Control Your Vehicle"
  4862. Call @AddInfoBox_
  4863. PushString "Personal Vehicle Options"
  4864. Call @AddTitle_
  4865. fPush_1.0
  4866. PushString "Save Vehicle"
  4867. Call @AddOption_
  4868. fPush_2.0
  4869. PushString "Teleport to-Vehicle"
  4870. Call @AddOption_
  4871. fPush_3.0
  4872. PushString "Teleport Vehicle to-You"
  4873. Call @AddOption_
  4874. // Option's Functions
  4875. Call @CheckAPressed_
  4876. push_1
  4877. JumpEQ @PersonalVehicleSubController_
  4878. Jump @EndPersonalVehicle_
  4879. :PersonalVehicleSubController_
  4880. PushString "SELECT"
  4881. Call @PlayFrontendSound_
  4882. StaticGet1 2
  4883. FtoI
  4884. Switch [1=@PersonalVehicle_Save][2=@PersonalVehicle_TeleportToVehicle][3=@PersonalVehicle_TeleportVehicleToYou]
  4885. :PersonalVehicle_Save
  4886. // PVOps Save Static
  4887. push_0
  4888. StaticSet2 478
  4889. CallNative "PLAYER_PED_ID" 0 1
  4890. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  4891. JumpFalse @PersonalVehicle_PlayerNotInVehicle
  4892. CallNative "PLAYER_PED_ID" 0 1
  4893. push_0
  4894. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  4895. Call @RequestControlOfVeh_
  4896. CallNative "PLAYER_PED_ID" 0 1
  4897. push_0
  4898. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  4899. StaticSet2 478
  4900. Jump @EndPersonalVehicle_
  4901. :PersonalVehicle_TeleportToVehicle
  4902. CallNative "PLAYER_PED_ID" 0 1
  4903. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  4904. JumpFalse @PersonalVehicle_TeleportToVehicleOnFoot
  4905. CallNative "PLAYER_PED_ID" 0 1
  4906. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  4907. Call @RequestControlOfVeh_
  4908. CallNative "PLAYER_PED_ID" 0 1
  4909. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  4910. StaticGet2 478
  4911. push_1
  4912. CallNative "GET_ENTITY_COORDS" 2 3
  4913. fPush 3062.855
  4914. fPush 2214.975
  4915. fPush 3.381231
  4916. push_1
  4917. push_0
  4918. push_0
  4919. push_1
  4920. CallNative "SET_ENTITY_COORDS" 8 0
  4921. Jump @EndPersonalVehicle_
  4922. :PersonalVehicle_TeleportToVehicleOnFoot
  4923. CallNative "PLAYER_PED_ID" 0 1
  4924. StaticGet2 478
  4925. push_1
  4926. CallNative "GET_ENTITY_COORDS" 2 3
  4927. fPush_1.0
  4928. Push 1000
  4929. Push 1048576000
  4930. push_0
  4931. Push 1193033728
  4932. CallNative "TASK_FOLLOW_NAV_MESH_TO_COORD" 9 0
  4933. Jump @EndPersonalVehicle_
  4934. :PersonalVehicle_TeleportVehicleToYou
  4935. StaticGet2 478
  4936. CallNative "PLAYER_PED_ID" 0 1
  4937. push_1
  4938. CallNative "GET_ENTITY_COORDS" 2 3
  4939. push_1
  4940. push_0
  4941. push_0
  4942. push_1
  4943. CallNative "SET_ENTITY_COORDS" 8 0
  4944. Jump @EndPersonalVehicle_
  4945. :PersonalVehicle_PlayerNotInVehicle
  4946. PushString "~r~Error:~s~ Player is not in a vehicle."
  4947. Call @PrintBottomLeft_
  4948. Jump @EndPersonalVehicle_
  4949. :EndPersonalVehicle_
  4950. Return 0 0
  4951. //>
  4952. //< Menu Players submenu
  4953.  
  4954. //< Players Sub
  4955. :PlayersSub_
  4956. Function 0 2 0
  4957. fPush 18
  4958. StaticSet1 3
  4959. push_1
  4960. StaticSet1 8
  4961. Call @DrawBackground_
  4962. Call @DrawNormalOptionHighlight_
  4963. PushString "Online Players"
  4964. Call @AddTitle_
  4965. fPush_1.0
  4966. push_0
  4967. Call @GetPlayerName_
  4968. Call @AddOption_
  4969. fPush_2.0
  4970. push_1
  4971. Call @GetPlayerName_
  4972. Call @AddOption_
  4973. fPush_3.0
  4974. push_2
  4975. Call @GetPlayerName_
  4976. Call @AddOption_
  4977. fPush_4.0
  4978. push_3
  4979. Call @GetPlayerName_
  4980. Call @AddOption_
  4981. fPush_5.0
  4982. push_4
  4983. Call @GetPlayerName_
  4984. Call @AddOption_
  4985. fPush_6.0
  4986. push_5
  4987. Call @GetPlayerName_
  4988. Call @AddOption_
  4989. fPush_7.0
  4990. push_6
  4991. Call @GetPlayerName_
  4992. Call @AddOption_
  4993. fPush 8
  4994. push_7
  4995. Call @GetPlayerName_
  4996. Call @AddOption_
  4997. fPush 9
  4998. Push 8
  4999. Call @GetPlayerName_
  5000. Call @AddOption_
  5001. fPush 10
  5002. Push 9
  5003. Call @GetPlayerName_
  5004. Call @AddOption_
  5005. fPush 11
  5006. Push 10
  5007. Call @GetPlayerName_
  5008. Call @AddOption_
  5009. fPush 12
  5010. Push 11
  5011. Call @GetPlayerName_
  5012. Call @AddOption_
  5013. fPush 13
  5014. Push 12
  5015. Call @GetPlayerName_
  5016. Call @AddOption_
  5017. fPush 14
  5018. Push 13
  5019. Call @GetPlayerName_
  5020. Call @AddOption_
  5021. fPush 15
  5022. Push 14
  5023. Call @GetPlayerName_
  5024. Call @AddOption_
  5025. fPush 16
  5026. Push 15
  5027. Call @GetPlayerName_
  5028. Call @AddOption_
  5029. fPush 17
  5030. Push 16
  5031. Call @GetPlayerNameSctv_
  5032. Call @AddOption_
  5033. fPush 18
  5034. Push 17
  5035. Call @GetPlayerNameSctv_
  5036. Call @AddOption_
  5037. // Option's functions
  5038. Call @CheckAPressed_
  5039. push_1
  5040. JumpEQ @PlayersSubController_
  5041. Jump @EndPlayersSub_
  5042. :PlayersSubController_
  5043. PushString "SELECT"
  5044. Call @PlayFrontendSound_
  5045. StaticGet1 2
  5046. FtoI
  5047. Switch [1=@PlayersSubPlayer1_][2=@PlayersSubPlayer2_][3=@PlayersSubPlayer3_][4=@PlayersSubPlayer4_][5=@PlayersSubPlayer5_][6=@PlayersSubPlayer6_][7=@PlayersSubPlayer7_][8=@PlayersSubPlayer8_][9=@PlayersSubPlayer9_][10=@PlayersSubPlayer10_][11=@PlayersSubPlayer11_][12=@PlayersSubPlayer12_][13=@PlayersSubPlayer13_][14=@PlayersSubPlayer14_][15=@PlayersSubPlayer15_][16=@PlayersSubPlayer16_][17=@PlayersSubSCTV1_][18=@PlayersSubSCTV2_]
  5048. :PlayersSubPlayer1_
  5049. push_0
  5050. StaticSet2 240
  5051. Jump @PlayersSubSetPedANDLoadPlayersA_
  5052. :PlayersSubPlayer2_
  5053. push_1
  5054. StaticSet2 240
  5055. Jump @PlayersSubSetPedANDLoadPlayersA_
  5056. :PlayersSubPlayer3_
  5057. push_2
  5058. StaticSet2 240
  5059. Jump @PlayersSubSetPedANDLoadPlayersA_
  5060. :PlayersSubPlayer4_
  5061. push_3
  5062. StaticSet2 240
  5063. Jump @PlayersSubSetPedANDLoadPlayersA_
  5064. :PlayersSubPlayer5_
  5065. push_4
  5066. StaticSet2 240
  5067. Jump @PlayersSubSetPedANDLoadPlayersA_
  5068. :PlayersSubPlayer6_
  5069. push_5
  5070. StaticSet2 240
  5071. Jump @PlayersSubSetPedANDLoadPlayersA_
  5072. :PlayersSubPlayer7_
  5073. push_6
  5074. StaticSet2 240
  5075. Jump @PlayersSubSetPedANDLoadPlayersA_
  5076. :PlayersSubPlayer8_
  5077. push_7
  5078. StaticSet2 240
  5079. Jump @PlayersSubSetPedANDLoadPlayersA_
  5080. :PlayersSubPlayer9_
  5081. Push 8
  5082. StaticSet2 240
  5083. Jump @PlayersSubSetPedANDLoadPlayersA_
  5084. :PlayersSubPlayer10_
  5085. Push 9
  5086. StaticSet2 240
  5087. Jump @PlayersSubSetPedANDLoadPlayersA_
  5088. :PlayersSubPlayer11_
  5089. Push 10
  5090. StaticSet2 240
  5091. Jump @PlayersSubSetPedANDLoadPlayersA_
  5092. :PlayersSubPlayer12_
  5093. Push 11
  5094. StaticSet2 240
  5095. Jump @PlayersSubSetPedANDLoadPlayersA_
  5096. :PlayersSubPlayer13_
  5097. Push 12
  5098. StaticSet2 240
  5099. Jump @PlayersSubSetPedANDLoadPlayersA_
  5100. :PlayersSubPlayer14_
  5101. Push 13
  5102. StaticSet2 240
  5103. Jump @PlayersSubSetPedANDLoadPlayersA_
  5104. :PlayersSubPlayer15_
  5105. Push 14
  5106. StaticSet2 240
  5107. Jump @PlayersSubSetPedANDLoadPlayersA_
  5108. :PlayersSubPlayer16_
  5109. Push 15
  5110. StaticSet2 240
  5111. Jump @PlayersSubSetPedANDLoadPlayersA_
  5112. :PlayersSubSCTV1_
  5113. Push 16
  5114. StaticSet2 240
  5115. Jump @PlayersSubSetPedANDLoadPlayersA_
  5116. :PlayersSubSCTV2_
  5117. Push 17
  5118. StaticSet2 240
  5119. //Jump @PlayersSubSetPedANDLoadPlayersA_
  5120. :PlayersSubSetPedANDLoadPlayersA_
  5121. StaticGet2 240
  5122. CallNative "NETWORK_IS_PLAYER_ACTIVE" 1 1
  5123. JumpFalse @EndPlayersSub_
  5124. StaticGet2 240
  5125. CallNative "GET_PLAYER_PED" 1 1
  5126. StaticSet2 241
  5127. // Change Sub to PlayersSubAMenu
  5128. Push 8
  5129. StaticSet1 1
  5130. Call @ChangeSubmenu_
  5131. :EndPlayersSub_
  5132. Return 0 0
  5133. //>
  5134.  
  5135. //< PlayersSubAMenu
  5136. :PlayersSubAMenu_
  5137. Function 0 2 0
  5138. fPush_6.0
  5139. StaticSet1 3
  5140. Push 7
  5141. StaticSet1 8
  5142. Call @DrawBackground_
  5143. Call @DrawNormalOptionHighlight_
  5144. PushString "Player Stuff"
  5145. Call @AddInfoBox_
  5146. StaticGet2 240
  5147. CallNative "GET_PLAYER_NAME" 1 1
  5148. StaticSet2 239
  5149. StaticGet2 239
  5150. Call @AddTitle_
  5151. fPush_1.0
  5152. PushString "Player Options"
  5153. Call @AddOption_
  5154. fPush_2.0
  5155. PushString "Teleport Options"
  5156. Call @AddOption_
  5157. fPush_3.0
  5158. PushString "Teleport To Coords"
  5159. Call @AddOption_
  5160. fPush_4.0
  5161. PushString "Control Player's Vehicle"
  5162. Call @AddOption_
  5163. fPush_5.0
  5164. PushString "Nice and Naughty Options"
  5165. Call @AddOption_
  5166. fPush_6.0
  5167. PushString "Objects And Attachments"
  5168. Call @AddOption_
  5169. // Option's Functions
  5170. Call @CheckAPressed_
  5171. push_1
  5172. JumpEQ @PlayersSubAMenuController_
  5173. Jump @EndPlayersSubAMenu_
  5174. :PlayersSubAMenuController_
  5175. PushString "SELECT"
  5176. Call @PlayFrontendSound_
  5177. StaticGet1 2
  5178. FtoI
  5179. Switch [1=@PlayersSubAMenu_PlayerSub][2=@PlayersSubAMenu_Teleport][3=@PlayersSubAMenu_TeleportToCoords][4=@PlayersSubAMenu_VehicleControl][5=@PlayersSubAMenu_NiceandNaughty][6=@PlayersSubAMenu_ObjectsAndAttachments]
  5180. :PlayersSubAMenu_PlayerSub
  5181. Push 9
  5182. StaticSet1 1
  5183. Call @ChangeSubmenu_
  5184. Jump @EndPlayersSubAMenu_
  5185. :PlayersSubAMenu_Teleport
  5186. Push 11
  5187. StaticSet1 1
  5188. Call @ChangeSubmenu_
  5189. Jump @EndPlayersSubAMenu_
  5190. :PlayersSubAMenu_TeleportToCoords
  5191. Push 12
  5192. StaticSet1 1
  5193. Call @ChangeSubmenu_
  5194. Jump @EndPlayersSubAMenu_
  5195. :PlayersSubAMenu_VehicleControl
  5196. Push 16
  5197. StaticSet1 1
  5198. Call @ChangeSubmenu_
  5199. Jump @EndPlayersSubAMenu_
  5200. :PlayersSubAMenu_NiceandNaughty
  5201. Push 18
  5202. StaticSet1 1
  5203. Call @ChangeSubmenu_
  5204. Jump @EndPlayersSubAMenu_
  5205. :PlayersSubAMenu_ObjectsAndAttachments
  5206. Push 20
  5207. StaticSet1 1
  5208. Call @ChangeSubmenu_
  5209. Jump @EndPlayersSubAMenu_
  5210. :EndPlayersSubAMenu_
  5211. Return 0 0
  5212. //>
  5213.  
  5214. //< Network Player Options
  5215. :Network_PlayerSub_
  5216. Function 0 2 0
  5217. fPush 12
  5218. StaticSet1 3
  5219. Push 8
  5220. StaticSet1 8
  5221. Call @DrawBackground_
  5222. Call @DrawNormalOptionHighlight_
  5223. PushString "Player Modifications"
  5224. Call @AddInfoBox_
  5225. PushString "Player Options"
  5226. Call @AddTitle_
  5227. fPush_1.0
  5228. PushString "Teleport to Player"
  5229. Call @AddOption_
  5230. fPush_2.0
  5231. PushString "Forcefeild (Loop)"
  5232. Call @AddOption_
  5233. fPush_3.0
  5234. PushString "Mess Up Their Screen!"
  5235. Call @AddOption_
  5236. fPush_4.0
  5237. PushString "Water Hydrant (Loop)"
  5238. Call @AddOption_
  5239. fPush_5.0
  5240. PushString "Flame (Loop)"
  5241. Call @AddOption_
  5242. fPush_6.0
  5243. PushString "Empty"
  5244. Call @AddOption_
  5245. fPush_7.0
  5246. PushString "Clear Tasks"
  5247. Call @AddOption_
  5248. fPush 8
  5249. PushString "Trap in Cage"
  5250. Call @AddOption_
  5251. fPush 9
  5252. PushString "Attach Beach-Fire To Player"
  5253. Call @AddOption_
  5254. fPush 10
  5255. PushString "Attach Crap To Player"
  5256. Call @AddOption_
  5257. fPush 11
  5258. PushString "Freeze Player's Console"
  5259. Call @AddOption_
  5260. fPush 12
  5261. PushString "Explosions List ---------"
  5262. Call @AddOption_
  5263. //Highlight
  5264. //The info box is not just limited to a whole submenu. You can display it on an option highlight as well.
  5265. Call @CheckAPressed_
  5266. push_1
  5267. JumpEQ @NetworkPlayersOptionsController_
  5268. Jump @EndNetwork_PlayerSub_
  5269. :NetworkPlayersOptionsController_
  5270. PushString "SELECT"
  5271. Call @PlayFrontendSound_
  5272. StaticGet1 2
  5273. FtoI
  5274. Switch [1=@Sub6Op1_][2=@Forcefeild_][3=@ExplosionLoop_][4=@HydrantLoop_][5=@FlameLoop_][6=@40kMoneyLoop1_][7=@ClearTasks_][8=@TrapInCage_][9=@NetworkAttachBeachFire_][10=@NetworkAttachDogCrap_][11=@ClonePlayer_][12=@NetworkExplosions_]
  5275. :Sub6Op1_
  5276. CallNative "PLAYER_PED_ID" 0 1
  5277. StaticGet2 241
  5278. push_1
  5279. CallNative "GET_ENTITY_COORDS" 2 3
  5280. push_1
  5281. push_0
  5282. push_0
  5283. push_1
  5284. CallNative "SET_ENTITY_COORDS" 8 0
  5285. Jump @EndNetwork_PlayerSub_
  5286. :Forcefeild_
  5287. StaticGet1 10
  5288. Push1 17
  5289. CallNative "IS_BIT_SET" 2 1
  5290. JumpFalse @ForcefeildOn_
  5291. pStatic1 10
  5292. Push1 17
  5293. CallNative "CLEAR_BIT" 2 0
  5294. Jump @EndNetwork_PlayerSub_
  5295. :ForcefeildOn_
  5296. pStatic1 10
  5297. Push1 17
  5298. CallNative "SET_BIT" 2 0
  5299. Jump @EndNetwork_PlayerSub_
  5300. :ExplosionLoop_
  5301. StaticGet1 10
  5302. Push1 19
  5303. CallNative "IS_BIT_SET" 2 1
  5304. JumpFalse @ExplosionLoopOn_
  5305. pStatic1 10
  5306. Push1 19
  5307. CallNative "CLEAR_BIT" 2 0
  5308. Jump @EndNetwork_PlayerSub_
  5309. :ExplosionLoopOn_
  5310. pStatic1 10
  5311. Push1 19
  5312. CallNative "SET_BIT" 2 0
  5313. Jump @EndNetwork_PlayerSub_
  5314. :HydrantLoop_
  5315. StaticGet1 10
  5316. Push1 20
  5317. CallNative "IS_BIT_SET" 2 1
  5318. JumpFalse @HydrantLoopOn_
  5319. pStatic1 10
  5320. Push1 20
  5321. CallNative "CLEAR_BIT" 2 0
  5322. Jump @EndNetwork_PlayerSub_
  5323. :HydrantLoopOn_
  5324. pStatic1 10
  5325. Push1 20
  5326. CallNative "SET_BIT" 2 0
  5327. Jump @EndNetwork_PlayerSub_
  5328. :FlameLoop_
  5329. StaticGet1 10
  5330. Push1 21
  5331. CallNative "IS_BIT_SET" 2 1
  5332. JumpFalse @FlameLoopOn_
  5333. pStatic1 10
  5334. Push1 21
  5335. CallNative "CLEAR_BIT" 2 0
  5336. Jump @EndNetwork_PlayerSub_
  5337. :FlameLoopOn_
  5338. pStatic1 10
  5339. Push1 21
  5340. CallNative "SET_BIT" 2 0
  5341. Jump @EndNetwork_PlayerSub_
  5342. :40kMoneyLoop1_
  5343. push_0
  5344. CallNative "WAIT" 1 0
  5345. StaticGet2 460
  5346. Add1 1
  5347. StaticSet2 460
  5348. pGlobal3 2407802
  5349. GetImmediate2 4113
  5350. StaticGet2 241
  5351. push_1
  5352. CallNative "GET_ENTITY_COORDS" 2 3
  5353. push_0
  5354. Push 4000000
  5355. pGlobal3 2407802
  5356. GetImmediate2 4113
  5357. push_0
  5358. push_1
  5359. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  5360. Drop
  5361. pGlobal3 2407802
  5362. GetImmediate2 4113
  5363. StaticGet2 241
  5364. push_1
  5365. CallNative "GET_ENTITY_COORDS" 2 3
  5366. push_0
  5367. Push 40000
  5368. pGlobal3 2407802
  5369. GetImmediate2 4113
  5370. push_0
  5371. push_1
  5372. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  5373. Drop
  5374. pGlobal3 2407802
  5375. GetImmediate2 4113
  5376. StaticGet2 241
  5377. push_1
  5378. CallNative "GET_ENTITY_COORDS" 2 3
  5379. push_0
  5380. Push 400000
  5381. pGlobal3 2407802
  5382. GetImmediate2 4113
  5383. push_0
  5384. push_1
  5385. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  5386. Drop
  5387. pGlobal3 2407802
  5388. GetImmediate2 4113
  5389. StaticGet2 241
  5390. push_1
  5391. CallNative "GET_ENTITY_COORDS" 2 3
  5392. push_0
  5393. Push 400000
  5394. pGlobal3 2407802
  5395. GetImmediate2 4113
  5396. push_0
  5397. push_1
  5398. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  5399. Drop
  5400. pGlobal3 2407802
  5401. GetImmediate2 4113
  5402. StaticGet2 241
  5403. push_1
  5404. CallNative "GET_ENTITY_COORDS" 2 3
  5405. push_0
  5406. Push 400000
  5407. pGlobal3 2407802
  5408. GetImmediate2 4113
  5409. push_0
  5410. push_1
  5411. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  5412. Drop
  5413. pGlobal3 2407802
  5414. GetImmediate2 4113
  5415. StaticGet2 241
  5416. push_1
  5417. CallNative "GET_ENTITY_COORDS" 2 3
  5418. push_0
  5419. Push 400000
  5420. pGlobal3 2407802
  5421. GetImmediate2 4113
  5422. push_0
  5423. push_1
  5424. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  5425. Drop
  5426. pGlobal3 2407802
  5427. GetImmediate2 4113
  5428. StaticGet2 241
  5429. push_1
  5430. CallNative "GET_ENTITY_COORDS" 2 3
  5431. push_0
  5432. Push 400000
  5433. pGlobal3 2407802
  5434. GetImmediate2 4113
  5435. push_0
  5436. push_1
  5437. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  5438. Drop
  5439. pGlobal3 2407802
  5440. GetImmediate2 4113
  5441. StaticGet2 241
  5442. push_1
  5443. CallNative "GET_ENTITY_COORDS" 2 3
  5444. push_0
  5445. Push 400000
  5446. pGlobal3 2407802
  5447. GetImmediate2 4113
  5448. push_0
  5449. push_1
  5450. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  5451. Drop
  5452. pGlobal3 2407802
  5453. GetImmediate2 4113
  5454. StaticGet2 241
  5455. push_1
  5456. CallNative "GET_ENTITY_COORDS" 2 3
  5457. push_0
  5458. Push 400000
  5459. pGlobal3 2407802
  5460. GetImmediate2 4113
  5461. push_0
  5462. push_1
  5463. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  5464. Drop
  5465. StaticGet2 460
  5466. Push1 8
  5467. Jump @EndNetwork_PlayerSub_
  5468. :ClearTasks_
  5469. StaticGet1 10
  5470. Push1 23
  5471. CallNative "IS_BIT_SET" 2 1
  5472. JumpFalse @ClearTasksOn_
  5473. pStatic1 10
  5474. Push1 23
  5475. CallNative "CLEAR_BIT" 2 0
  5476. Jump @EndNetwork_PlayerSub_
  5477. :ClearTasksOn_
  5478. pStatic1 10
  5479. Push1 23
  5480. CallNative "SET_BIT" 2 0
  5481. Jump @EndNetwork_PlayerSub_
  5482. :TrapInCage_
  5483. PushString "prop_gold_cont_01"
  5484. GetHash
  5485. StaticGet2 241
  5486. push_1
  5487. CallNative "GET_ENTITY_COORDS" 2 3
  5488. push_1
  5489. push_0
  5490. push_0
  5491. CallNative "CREATE_OBJECT" 7 1
  5492. CallNative "OBJ_TO_NET" 1 1
  5493. Drop
  5494. Jump @EndNetwork_PlayerSub_
  5495. :NetworkAttachBeachFire_
  5496. push_0
  5497. StaticSet1 23
  5498. :NetworkAttachBeachFireOn_
  5499. push_0
  5500. CallNative "WAIT" 1 0
  5501. StaticGet1 23
  5502. Add1 1
  5503. StaticSet1 23
  5504. PushString "prop_beach_fire"
  5505. GetHash
  5506. StaticGet2 241
  5507. push_1
  5508. CallNative "GET_ENTITY_COORDS" 2 3
  5509. push_1
  5510. push_1
  5511. push_0
  5512. CallNative "CREATE_OBJECT" 7 1
  5513. StaticGet2 241
  5514. push_0
  5515. push_0
  5516. push_0
  5517. push_0
  5518. push_0
  5519. push_0
  5520. push_0
  5521. push_1
  5522. push_1
  5523. push_0
  5524. push_0
  5525. push_2
  5526. push_1
  5527. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  5528. StaticGet1 23
  5529. Push1 5
  5530. JumpLE @NetworkAttachBeachFireOn_
  5531. Jump @EndNetwork_PlayerSub_
  5532. :NetworkAttachDogCrap_
  5533. push_0
  5534. StaticSet1 23
  5535. :NetworkAttachDogCrapOn_
  5536. push_0
  5537. CallNative "WAIT" 1 0
  5538. StaticGet1 23
  5539. Add1 1
  5540. StaticSet1 23
  5541. PushString "prop_big_shit_02"
  5542. GetHash
  5543. StaticGet2 241
  5544. push_1
  5545. CallNative "GET_ENTITY_COORDS" 2 3
  5546. push_1
  5547. push_1
  5548. push_0
  5549. CallNative "CREATE_OBJECT" 7 1
  5550. StaticGet2 241
  5551. push_0
  5552. push_0
  5553. push_0
  5554. push_0
  5555. push_0
  5556. push_0
  5557. push_0
  5558. push_1
  5559. push_1
  5560. push_0
  5561. push_0
  5562. push_2
  5563. push_1
  5564. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  5565. StaticGet1 23
  5566. PushS 50
  5567. JumpLE @NetworkAttachDogCrapOn_
  5568. Jump @EndNetwork_PlayerSub_
  5569. :ClonePlayer_
  5570. push_0
  5571. StaticSet1 23
  5572. :CloneNow_
  5573. PushS 300
  5574. CallNative "WAIT" 1 0
  5575. StaticGet1 23
  5576. Add1 1
  5577. StaticSet1 23
  5578. StaticGet2 241
  5579. push_1
  5580. push_1
  5581. push_1
  5582. CallNative "CLONE_PED" 4 1
  5583. Drop
  5584. StaticGet1 23
  5585. Push1 25
  5586. JumpLE @CloneNow_
  5587. Jump @EndNetwork_PlayerSub_
  5588. :NetworkExplosions_
  5589. Push 10
  5590. StaticSet1 1
  5591. Call @ChangeSubmenu_
  5592. Jump @EndNetwork_PlayerSub_
  5593. :EndNetwork_PlayerSub_
  5594. Return 0 0
  5595. //>
  5596. //< Network Player Sub Explosions Sub
  5597. :Network_ExplosionSub
  5598. Function 0 2 0
  5599. fPush 16
  5600. StaticSet1 3
  5601. Push 9
  5602. StaticSet1 8
  5603. Call @DrawBackground_
  5604. Call @DrawNormalOptionHighlight_
  5605. PushString "-----Explosions Page (1)-----"
  5606. Call @AddInfoBox_
  5607. StaticGet2 239
  5608. Call @AddTitle_
  5609. fPush_1.0
  5610. PushString "Barrel"
  5611. Call @AddOption_
  5612. fPush_2.0
  5613. PushString "Bike"
  5614. Call @AddOption_
  5615. fPush_3.0
  5616. PushString "Blimp"
  5617. Call @AddOption_
  5618. fPush_4.0
  5619. PushString "Boat"
  5620. Call @AddOption_
  5621. fPush_5.0
  5622. PushString "Bullet"
  5623. Call @AddOption_
  5624. fPush_6.0
  5625. PushString "BZGas"
  5626. Call @AddOption_
  5627. fPush_7.0
  5628. PushString "Car"
  5629. Call @AddOption_
  5630. fPush 8
  5631. PushString "DIR_FLAME"
  5632. Call @AddOption_
  5633. fPush 9
  5634. PushString "DIR_FLAME_EXPLODE"
  5635. Call @AddOption_
  5636. fPush 10
  5637. PushString "DIR_GAS_CANISTER"
  5638. Call @AddOption_
  5639. fPush 11
  5640. PushString "DIR_STEAM"
  5641. Call @AddOption_
  5642. fPush 12
  5643. PushString "DIR_WATER_HYDRANT"
  5644. Call @AddOption_
  5645. fPush 13
  5646. PushString "Extinguisher"
  5647. Call @AddOption_
  5648. fPush 14
  5649. PushString "Firework"
  5650. Call @AddOption_
  5651. fPush 15
  5652. PushString "Flare"
  5653. Call @AddOption_
  5654. fPush 16
  5655. PushString "Page (2)"
  5656. Call @AddOption_
  5657. // Option's Functions
  5658. Call @CheckAPressed_
  5659. push_1
  5660. JumpEQ @Network_ExplosionSubController
  5661. Jump @EndNetwork_ExplosionSub_
  5662. :Network_ExplosionSubController
  5663. PushString "SELECT"
  5664. Call @PlayFrontendSound_
  5665. StaticGet1 2
  5666. FtoI
  5667. Switch [1=@Network_ExplosionSub_Barrel][2=@Network_ExplosionSub_Bike][3=@Network_ExplosionSub_Blimp][4=@Network_ExplosionSub_Boat][5=@Network_ExplosionSub_Bullet][6=@Network_ExplosionSub_Bzgas][7=@Network_ExplosionSub_Car][8=@Network_ExplosionSub_DIR_FLAME][9=@Network_DIR_FLAME_EXPLODE][10=@Network_DIR_GAS_CANISTER][11=@Network_ExplosionSub_DIR_STEAM][12=@Network_ExplosionSub_DIR_WATER_HYDRANT][13=@Network_ExplosionSub_EXTINGUISHER][14=@Network_ExplosionSub_FIREWORK][15=@Network_ExplosionSub_FLARE][16=@Network_ExplosionSub_Page2]
  5668. :Network_ExplosionSub_Barrel
  5669. StaticGet2 241
  5670. Push 27
  5671. CallNative "GET_ENTITY_COORDS" 2 3
  5672. Push1 27
  5673. fPush_5.0
  5674. push_1
  5675. push_0
  5676. fPush_0.0
  5677. CallNative "ADD_EXPLOSION" 8 0
  5678. Jump @EndNetwork_ExplosionSub_
  5679. :Network_ExplosionSub_Bike
  5680. StaticGet2 241
  5681. Push 10
  5682. CallNative "GET_ENTITY_COORDS" 2 3
  5683. Push1 5
  5684. fPush_5.0
  5685. push_1
  5686. push_0
  5687. fPush_0.0
  5688. CallNative "ADD_EXPLOSION" 8 0
  5689. Jump @EndNetwork_ExplosionSub_
  5690. :Network_ExplosionSub_Blimp
  5691. StaticGet2 241
  5692. push_1
  5693. CallNative "GET_ENTITY_COORDS" 2 3
  5694. Push1 29
  5695. fPush_5.0
  5696. push_1
  5697. push_0
  5698. fPush_0.0
  5699. CallNative "ADD_EXPLOSION" 8 0
  5700. Jump @EndNetwork_ExplosionSub_
  5701. :Network_ExplosionSub_Boat
  5702. StaticGet2 241
  5703. push_1
  5704. CallNative "GET_ENTITY_COORDS" 2 3
  5705. Push1 15
  5706. fPush_5.0
  5707. push_1
  5708. push_0
  5709. fPush_0.0
  5710. CallNative "ADD_EXPLOSION" 8 0
  5711. Jump @EndNetwork_ExplosionSub_
  5712. :Network_ExplosionSub_Bullet
  5713. StaticGet2 241
  5714. push_1
  5715. CallNative "GET_ENTITY_COORDS" 2 3
  5716. Push1 18
  5717. fPush_5.0
  5718. push_1
  5719. push_0
  5720. fPush_0.0
  5721. CallNative "ADD_EXPLOSION" 8 0
  5722. Jump @EndNetwork_ExplosionSub_
  5723. :Network_ExplosionSub_Bzgas
  5724. StaticGet2 241
  5725. push_1
  5726. CallNative "GET_ENTITY_COORDS" 2 3
  5727. Push1 21
  5728. fPush_5.0
  5729. push_1
  5730. push_0
  5731. fPush_0.0
  5732. CallNative "ADD_EXPLOSION" 8 0
  5733. Jump @EndNetwork_ExplosionSub_
  5734. :Network_ExplosionSub_Car
  5735. StaticGet2 241
  5736. push_1
  5737. CallNative "GET_ENTITY_COORDS" 2 3
  5738. push_7
  5739. fPush_5.0
  5740. push_1
  5741. push_0
  5742. fPush_0.0
  5743. CallNative "ADD_EXPLOSION" 8 0
  5744. Jump @EndNetwork_ExplosionSub_
  5745. :Network_ExplosionSub_DIR_FLAME
  5746. StaticGet2 241
  5747. push_1
  5748. CallNative "GET_ENTITY_COORDS" 2 3
  5749. Push1 12
  5750. fPush_5.0
  5751. push_1
  5752. push_0
  5753. fPush_0.0
  5754. CallNative "ADD_EXPLOSION" 8 0
  5755. Jump @EndNetwork_ExplosionSub_
  5756. :Network_DIR_FLAME_EXPLODE
  5757. StaticGet2 241
  5758. push_1
  5759. CallNative "GET_ENTITY_COORDS" 2 3
  5760. Push1 30
  5761. fPush_5.0
  5762. push_1
  5763. push_0
  5764. fPush_0.0
  5765. CallNative "ADD_EXPLOSION" 8 0
  5766. Jump @EndNetwork_ExplosionSub_
  5767. :Network_DIR_GAS_CANISTER
  5768. StaticGet2 241
  5769. push_1
  5770. CallNative "GET_ENTITY_COORDS" 2 3
  5771. Push1 14
  5772. fPush_5.0
  5773. push_1
  5774. push_0
  5775. fPush_0.0
  5776. CallNative "ADD_EXPLOSION" 8 0
  5777. Jump @EndNetwork_ExplosionSub_
  5778. :Network_ExplosionSub_DIR_STEAM
  5779. StaticGet2 241
  5780. push_1
  5781. CallNative "GET_ENTITY_COORDS" 2 3
  5782. Push1 11
  5783. fPush_5.0
  5784. push_1
  5785. push_0
  5786. fPush_0.0
  5787. CallNative "ADD_EXPLOSION" 8 0
  5788. Jump @EndNetwork_ExplosionSub_
  5789. :Network_ExplosionSub_DIR_WATER_HYDRANT
  5790. StaticGet2 241
  5791. push_1
  5792. CallNative "GET_ENTITY_COORDS" 2 3
  5793. Push1 13
  5794. fPush_5.0
  5795. push_1
  5796. push_0
  5797. fPush_0.0
  5798. CallNative "ADD_EXPLOSION" 8 0
  5799. Jump @EndNetwork_ExplosionSub_
  5800. :Network_ExplosionSub_EXTINGUISHER
  5801. StaticGet2 241
  5802. push_1
  5803. CallNative "GET_ENTITY_COORDS" 2 3
  5804. Push1 24
  5805. fPush_5.0
  5806. push_1
  5807. push_0
  5808. fPush_0.0
  5809. CallNative "ADD_EXPLOSION" 8 0
  5810. Jump @EndNetwork_ExplosionSub_
  5811. :Network_ExplosionSub_FIREWORK
  5812. StaticGet2 241
  5813. push_1
  5814. CallNative "GET_ENTITY_COORDS" 2 3
  5815. Push1 36
  5816. fPush_5.0
  5817. push_1
  5818. push_0
  5819. fPush_0.0
  5820. CallNative "ADD_EXPLOSION" 8 0
  5821. Jump @EndNetwork_ExplosionSub_
  5822. :Network_ExplosionSub_FLARE
  5823. StaticGet2 241
  5824. push_1
  5825. CallNative "GET_ENTITY_COORDS" 2 3
  5826. Push1 22
  5827. fPush_5.0
  5828. push_1
  5829. push_0
  5830. fPush_0.0
  5831. CallNative "ADD_EXPLOSION" 8 0
  5832. Jump @EndNetwork_ExplosionSub_
  5833. :Network_ExplosionSub_Page2
  5834. Push 13
  5835. StaticSet1 1
  5836. Call @ChangeSubmenu_
  5837. Jump @EndNetwork_ExplosionSub_
  5838. :EndNetwork_ExplosionSub_
  5839. Return 0 0
  5840. //< Network Player Sub Explosions Sub
  5841. :Network_Explosion2Sub
  5842. Function 0 2 0
  5843. fPush 15
  5844. StaticSet1 3
  5845. Push 10
  5846. StaticSet1 8
  5847. Call @DrawBackground_
  5848. Call @DrawNormalOptionHighlight_
  5849. PushString "-----Explosions Page (2)-----"
  5850. Call @AddInfoBox_
  5851. StaticGet2 239
  5852. Call @AddTitle_
  5853. fPush_1.0
  5854. PushString "Gas Canister"
  5855. Call @AddOption_
  5856. fPush_2.0
  5857. PushString "Gas Tank"
  5858. Call @AddOption_
  5859. fPush_3.0
  5860. PushString "Grenade"
  5861. Call @AddOption_
  5862. fPush_4.0
  5863. PushString "Grenade Launcher"
  5864. Call @AddOption_
  5865. fPush_5.0
  5866. PushString "Hi Octane"
  5867. Call @AddOption_
  5868. fPush_6.0
  5869. PushString "Molotov"
  5870. Call @AddOption_
  5871. fPush_7.0
  5872. PushString "Petrol Pump"
  5873. Call @AddOption_
  5874. fPush 8
  5875. PushString "Plane"
  5876. Call @AddOption_
  5877. fPush 9
  5878. PushString "Plane Rocket"
  5879. Call @AddOption_
  5880. fPush 10
  5881. PushString "Programmablear"
  5882. Call @AddOption_
  5883. fPush 11
  5884. PushString "Propane"
  5885. Call @AddOption_
  5886. fPush 12
  5887. PushString "Rocket"
  5888. Call @AddOption_
  5889. fPush 13
  5890. PushString "Ship Destroy"
  5891. Call @AddOption_
  5892. fPush 14
  5893. PushString "Smoke Grenade"
  5894. Call @AddOption_
  5895. fPush 15
  5896. PushString "Page (3)"
  5897. Call @AddOption_
  5898. // Option's Functions
  5899. Call @CheckAPressed_
  5900. push_1
  5901. JumpEQ @Network_ExplosionSub2Controller
  5902. Jump @EndNetwork_Explosion2Sub_
  5903. :Network_ExplosionSub2Controller
  5904. PushString "SELECT"
  5905. Call @PlayFrontendSound_
  5906. StaticGet1 2
  5907. FtoI
  5908. Switch [1=@Network_Explosion2Sub_GAS_CANISTER][2=@Network_Explosion2Sub_GAS_TANK][3=@Network_Explosion2Sub_GRENADE][4=@Network_Explosion2Sub_GRENADELAUNCHER][5=@Network_Explosion2Sub_HI_OCTANE][6=@Network_Explosion2Sub_MOLOTOV][7=@Network_Explosion2Sub_PETROL_PUMP][8=@Network_Explosion2Sub_PLANE][9=@Network_Explosion2Sub_PLANE_ROCKET][10=@Network_Explosion2Sub_PROGRAMMABLEAR][11=@Network_Explosion2Sub_PROPANE][12=@Network_Explosion2Sub_ROCKET][13=@Network_Explosion2Sub_SHIP_DESTROY][14=@Network_Explosion2Sub_SMOKEGRENADE][15=@Network_ExplosionSub_Page3]
  5909. :Network_Explosion2Sub_GAS_CANISTER
  5910. StaticGet2 241
  5911. push_1
  5912. CallNative "GET_ENTITY_COORDS" 2 3
  5913. Push1 34
  5914. fPush_5.0
  5915. push_1
  5916. push_0
  5917. fPush_0.0
  5918. CallNative "ADD_EXPLOSION" 8 0
  5919. Jump @EndNetwork_Explosion2Sub_
  5920. :Network_Explosion2Sub_GAS_TANK
  5921. StaticGet2 241
  5922. push_1
  5923. CallNative "GET_ENTITY_COORDS" 2 3
  5924. Push1 34
  5925. fPush_5.0
  5926. push_1
  5927. push_0
  5928. fPush_0.0
  5929. CallNative "ADD_EXPLOSION" 8 0
  5930. Jump @EndNetwork_Explosion2Sub_
  5931. :Network_Explosion2Sub_GRENADE
  5932. StaticGet2 241
  5933. push_1
  5934. CallNative "GET_ENTITY_COORDS" 2 3
  5935. push_0
  5936. fPush_5.0
  5937. push_1
  5938. push_0
  5939. fPush_0.0
  5940. CallNative "ADD_EXPLOSION" 8 0
  5941. Jump @EndNetwork_Explosion2Sub_
  5942. :Network_Explosion2Sub_GRENADELAUNCHER
  5943. StaticGet2 241
  5944. push_1
  5945. CallNative "GET_ENTITY_COORDS" 2 3
  5946. push_1
  5947. fPush_5.0
  5948. push_1
  5949. push_0
  5950. fPush_0.0
  5951. CallNative "ADD_EXPLOSION" 8 0
  5952. Jump @EndNetwork_Explosion2Sub_
  5953. :Network_Explosion2Sub_HI_OCTANE
  5954. StaticGet2 241
  5955. push_1
  5956. CallNative "GET_ENTITY_COORDS" 2 3
  5957. push_6
  5958. fPush_5.0
  5959. push_1
  5960. push_0
  5961. fPush_0.0
  5962. CallNative "ADD_EXPLOSION" 8 0
  5963. Jump @EndNetwork_Explosion2Sub_
  5964. :Network_Explosion2Sub_MOLOTOV
  5965. StaticGet2 241
  5966. push_1
  5967. CallNative "GET_ENTITY_COORDS" 2 3
  5968. push_3
  5969. fPush_5.0
  5970. push_1
  5971. push_0
  5972. fPush_0.0
  5973. CallNative "ADD_EXPLOSION" 8 0
  5974. Jump @EndNetwork_Explosion2Sub_
  5975. :Network_Explosion2Sub_PETROL_PUMP
  5976. StaticGet2 241
  5977. push_1
  5978. CallNative "GET_ENTITY_COORDS" 2 3
  5979. Push1 9
  5980. fPush_5.0
  5981. push_1
  5982. push_0
  5983. fPush_0.0
  5984. CallNative "ADD_EXPLOSION" 8 0
  5985. Jump @EndNetwork_Explosion2Sub_
  5986. :Network_Explosion2Sub_PLANE
  5987. StaticGet2 241
  5988. push_1
  5989. CallNative "GET_ENTITY_COORDS" 2 3
  5990. Push1 8
  5991. fPush_5.0
  5992. push_1
  5993. push_0
  5994. fPush_0.0
  5995. CallNative "ADD_EXPLOSION" 8 0
  5996. Jump @EndNetwork_Explosion2Sub_
  5997. :Network_Explosion2Sub_PLANE_ROCKET
  5998. StaticGet2 241
  5999. push_1
  6000. CallNative "GET_ENTITY_COORDS" 2 3
  6001. Push1 32
  6002. fPush_5.0
  6003. push_1
  6004. push_0
  6005. fPush_0.0
  6006. CallNative "ADD_EXPLOSION" 8 0
  6007. Jump @EndNetwork_Explosion2Sub_
  6008. :Network_Explosion2Sub_PROGRAMMABLEAR
  6009. StaticGet2 241
  6010. push_1
  6011. CallNative "GET_ENTITY_COORDS" 2 3
  6012. Push1 25
  6013. fPush_5.0
  6014. push_1
  6015. push_0
  6016. fPush_0.0
  6017. CallNative "ADD_EXPLOSION" 8 0
  6018. Jump @EndNetwork_Explosion2Sub_
  6019. :Network_Explosion2Sub_PROPANE
  6020. StaticGet2 241
  6021. push_1
  6022. CallNative "GET_ENTITY_COORDS" 2 3
  6023. Push1 28
  6024. fPush_5.0
  6025. push_1
  6026. push_0
  6027. fPush_0.0
  6028. CallNative "ADD_EXPLOSION" 8 0
  6029. Jump @EndNetwork_Explosion2Sub_
  6030. :Network_Explosion2Sub_ROCKET
  6031. StaticGet2 241
  6032. push_1
  6033. CallNative "GET_ENTITY_COORDS" 2 3
  6034. push_4
  6035. fPush_5.0
  6036. push_1
  6037. push_0
  6038. fPush_0.0
  6039. CallNative "ADD_EXPLOSION" 8 0
  6040. Jump @EndNetwork_Explosion2Sub_
  6041. :Network_Explosion2Sub_SHIP_DESTROY
  6042. StaticGet2 241
  6043. push_1
  6044. CallNative "GET_ENTITY_COORDS" 2 3
  6045. Push1 16
  6046. fPush_5.0
  6047. push_1
  6048. push_0
  6049. fPush_0.0
  6050. CallNative "ADD_EXPLOSION" 8 0
  6051. Jump @EndNetwork_Explosion2Sub_
  6052. :Network_Explosion2Sub_SMOKEGRENADE
  6053. StaticGet2 241
  6054. push_1
  6055. CallNative "GET_ENTITY_COORDS" 2 3
  6056. Push1 20
  6057. fPush_5.0
  6058. push_1
  6059. push_0
  6060. fPush_0.0
  6061. CallNative "ADD_EXPLOSION" 8 0
  6062. Jump @EndNetwork_Explosion2Sub_
  6063. :Network_ExplosionSub_Page3
  6064. Push 14
  6065. StaticSet1 1
  6066. Call @ChangeSubmenu_
  6067. Jump @EndNetwork_Explosion2Sub_
  6068. :EndNetwork_Explosion2Sub_
  6069. Return 0 0
  6070.  
  6071. :Network_Explosion3Sub
  6072. Function 0 2 0
  6073. fPush 9
  6074. StaticSet1 3
  6075. Push 13
  6076. StaticSet1 8
  6077. Call @DrawBackground_
  6078. Call @DrawNormalOptionHighlight_
  6079. PushString "-----Explosions Page (3)-----"
  6080. Call @AddInfoBox_
  6081. StaticGet2 239
  6082. Call @AddTitle_
  6083. fPush_1.0
  6084. PushString "Smoke Grenade Launcher"
  6085. Call @AddOption_
  6086. fPush_2.0
  6087. PushString "Steam"
  6088. Call @AddOption_
  6089. fPush_3.0
  6090. PushString "Sticky Bomb"
  6091. Call @AddOption_
  6092. fPush_4.0
  6093. PushString "Tanker"
  6094. Call @AddOption_
  6095. fPush_5.0
  6096. PushString "Tank Shell"
  6097. Call @AddOption_
  6098. fPush_6.0
  6099. PushString "Train"
  6100. Call @AddOption_
  6101. fPush_7.0
  6102. PushString "Truck"
  6103. Call @AddOption_
  6104. fPush 8
  6105. PushString "Vehicle Bullet"
  6106. Call @AddOption_
  6107. fPush 9
  6108. PushString "Invisible Explosion"
  6109. Call @AddOption_
  6110. // Option's Functions
  6111. Call @CheckAPressed_
  6112. push_1
  6113. JumpEQ @Network_ExplosionSub3Controller
  6114. Jump @EndNetwork_Explosion3Sub_
  6115. :Network_ExplosionSub3Controller
  6116. PushString "SELECT"
  6117. Call @PlayFrontendSound_
  6118. StaticGet1 2
  6119. FtoI
  6120. Switch [1=@Network_Explosion3Sub_SMOKEGRENADELAUNCHER][2=@Network_Explosion3Sub_STEAM][3=@Network_Explosion3Sub_STICKYBOMB][4=@Network_Explosion3Sub_TANKER][5=@Network_Explosion3Sub_TANKSHELL][6=@Network_Explosion3Sub_TRAIN][7=@Network_Explosion3Sub_TRUCK][8=@Network_Explosion3Sub_VEHICLE_BULLET][9=@Network_Explosion3Sub_Invisible_Explosion]
  6121. :Network_Explosion3Sub_SMOKEGRENADELAUNCHER
  6122. StaticGet2 241
  6123. push_1
  6124. CallNative "GET_ENTITY_COORDS" 2 3
  6125. Push1 19
  6126. fPush_5.0
  6127. push_1
  6128. push_0
  6129. fPush_0.0
  6130. CallNative "ADD_EXPLOSION" 8 0
  6131. Jump @EndNetwork_Explosion3Sub_
  6132. :Network_Explosion3Sub_STEAM
  6133. StaticGet2 241
  6134. push_1
  6135. CallNative "GET_ENTITY_COORDS" 2 3
  6136. Push1 35
  6137. fPush_5.0
  6138. push_1
  6139. push_0
  6140. fPush_0.0
  6141. CallNative "ADD_EXPLOSION" 8 0
  6142. Jump @EndNetwork_Explosion3Sub_
  6143. :Network_Explosion3Sub_STICKYBOMB
  6144. StaticGet2 241
  6145. push_1
  6146. CallNative "GET_ENTITY_COORDS" 2 3
  6147. push_2
  6148. fPush_5.0
  6149. push_1
  6150. push_0
  6151. fPush_0.0
  6152. CallNative "ADD_EXPLOSION" 8 0
  6153. Jump @EndNetwork_Explosion3Sub_
  6154. :Network_Explosion3Sub_TANKER
  6155. StaticGet2 241
  6156. push_1
  6157. CallNative "GET_ENTITY_COORDS" 2 3
  6158. Push1 31
  6159. fPush_5.0
  6160. push_1
  6161. push_0
  6162. fPush_0.0
  6163. CallNative "ADD_EXPLOSION" 8 0
  6164. Jump @EndNetwork_Explosion3Sub_
  6165. :Network_Explosion3Sub_TANKSHELL
  6166. StaticGet2 241
  6167. push_1
  6168. CallNative "GET_ENTITY_COORDS" 2 3
  6169. Push1 5
  6170. fPush_5.0
  6171. push_1
  6172. push_0
  6173. fPush_0.0
  6174. CallNative "ADD_EXPLOSION" 8 0
  6175. Jump @EndNetwork_Explosion3Sub_
  6176. :Network_Explosion3Sub_TRAIN
  6177. StaticGet2 241
  6178. push_1
  6179. CallNative "GET_ENTITY_COORDS" 2 3
  6180. Push1 26
  6181. fPush_5.0
  6182. push_1
  6183. push_0
  6184. fPush_0.0
  6185. CallNative "ADD_EXPLOSION" 8 0
  6186. Jump @EndNetwork_Explosion3Sub_
  6187. :Network_Explosion3Sub_TRUCK
  6188. StaticGet2 241
  6189. push_1
  6190. CallNative "GET_ENTITY_COORDS" 2 3
  6191. Push1 17
  6192. fPush_5.0
  6193. push_1
  6194. push_0
  6195. fPush_0.0
  6196. CallNative "ADD_EXPLOSION" 8 0
  6197. Jump @EndNetwork_Explosion3Sub_
  6198. :Network_Explosion3Sub_VEHICLE_BULLET
  6199. StaticGet2 241
  6200. push_1
  6201. CallNative "GET_ENTITY_COORDS" 2 3
  6202. Push1 33
  6203. fPush_5.0
  6204. push_1
  6205. push_0
  6206. fPush_0.0
  6207. CallNative "ADD_EXPLOSION" 8 0
  6208. Jump @EndNetwork_Explosion3Sub_
  6209. :Network_Explosion3Sub_Invi sible_Explosion
  6210. StaticGet2 241
  6211. push_1
  6212. CallNative "GET_ENTITY_COORDS" 2 3
  6213. Push 29
  6214. fPush 20
  6215. push_0
  6216. push_1
  6217. fPush_0.0
  6218. CallNative "ADD_EXPLOSION" 8 0
  6219. Jump @EndNetwork_Explosion3Sub_
  6220. :EndNetwork_Explosion3Sub_
  6221. Return 0 0
  6222. //>
  6223. //< Network Teleport Sub
  6224. :Network_TeleportOptions_
  6225. Function 0 2 0
  6226. fPush_7.0
  6227. StaticSet1 3
  6228. Push 8
  6229. StaticSet1 8
  6230. Call @DrawBackground_
  6231. Call @DrawNormalOptionHighlight_
  6232. PushString "Teleport Options"
  6233. Call @AddInfoBox_
  6234. StaticGet2 239
  6235. Call @AddTitle_
  6236. fPush_1.0
  6237. PushString "Teleport Player To You"
  6238. Call @AddOption_
  6239. fPush_2.0
  6240. PushString "Teleport to Player"
  6241. Call @AddOption_
  6242. fPush_3.0
  6243. PushString "Attach Self To Player"
  6244. Call @AddOption_
  6245. fPush_4.0
  6246. PushString "Detach Self From Player"
  6247. Call @AddOption_
  6248. fPush_5.0
  6249. PushString "PiggyBack Ride"
  6250. Call @AddOption_
  6251. fPush_6.0
  6252. PushString "Teleport Into Their Vehicle"
  6253. Call @AddOption_
  6254. fPush_7.0
  6255. PushString "Teleport Player To Waypoint"
  6256. Call @AddOption_
  6257. // Option's Functions
  6258. Call @CheckAPressed_
  6259. push_1
  6260. JumpEQ @Network_TeleportOptions_SubController
  6261. Jump @EndNetwork_TeleportOptions_
  6262. :Network_TeleportOptions_SubController
  6263. PushString "SELECT"
  6264. Call @PlayFrontendSound_
  6265. StaticGet1 2
  6266. FtoI
  6267. Switch [1=@Network_TeleportPlayerToYou][2=@Network_TeleportToPlayer][3=@Network_TeleportOptions_AttachYourSelf][4=@Network_TeleportOptions_DetachYourSelf][5=@Network_PlayerSub_Piggyback][6=@Network_TeleportOptions_IntoTheirVehicle][7=@Network_TeleportOptions_Waypoint]
  6268. :Network_TeleportPlayerToYou
  6269. StaticGet2 241
  6270. push_0
  6271. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6272. JumpFalse @EndNetwork_TeleportOptions_
  6273. StaticGet2 241
  6274. push_0
  6275. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6276. Call @RequestControlOfVeh_
  6277. PushString "Teleported Player To You."
  6278. PushS 2500
  6279. Call @MsgStuff_
  6280. StaticGet2 241
  6281. push_0
  6282. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6283. CallNative "PLAYER_PED_ID" 0 1
  6284. push_1
  6285. CallNative "GET_ENTITY_COORDS" 2 3
  6286. push_1
  6287. push_0
  6288. push_0
  6289. push_1
  6290. CallNative "SET_ENTITY_COORDS" 8 0
  6291. Jump @EndNetwork_TeleportOptions_
  6292. :Network_TeleportToPlayer
  6293. CallNative "PLAYER_PED_ID" 0 1
  6294. StaticGet2 241
  6295. push_1
  6296. CallNative "GET_ENTITY_COORDS" 2 3
  6297. push_1
  6298. push_0
  6299. push_0
  6300. push_1
  6301. CallNative "SET_ENTITY_COORDS" 8 0
  6302. Jump @EndNetwork_TeleportOptions_
  6303. :Network_TeleportOptions_AttachYourSelf
  6304. StaticGet2 241
  6305. CallNative "PLAYER_PED_ID" 0 1
  6306. JumpEQ @Network_TeleportOptions_CantTeleportSelf
  6307. CallNative "PLAYER_PED_ID" 0 1
  6308. StaticGet2 241
  6309. fPush 0.059999998658895
  6310. fPush_0.0
  6311. fPush -0.25
  6312. fPush_0.0
  6313. fPush_0.0
  6314. fPush_0.0
  6315. push_1
  6316. push_1
  6317. push_0
  6318. push_0
  6319. push_2
  6320. push_1
  6321. push_1
  6322. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  6323. Jump @EndNetwork_TeleportOptions_
  6324. :Network_TeleportOptions_DetachYourSelf
  6325. CallNative "PLAYER_PED_ID" 0 1
  6326. push_1
  6327. push_1
  6328. CallNative "DETACH_ENTITY" 3 0
  6329. Jump @EndNetwork_TeleportOptions_
  6330. :Network_PlayerSub_Piggyback
  6331. StaticGet1 241
  6332. CallNative "PLAYER_PED_ID" 0 1
  6333. JumpEQ @Network_CantDoThatToYourself
  6334. CallNative "PLAYER_PED_ID" 0 1
  6335. CallNative "IS_ENTITY_ATTACHED" 1 1
  6336. JumpFalse @PiggybackON_
  6337. PushString "Thanks for the ride!"
  6338. PushS 2500
  6339. Call @PrintStringBottomCentre_
  6340. CallNative "PLAYER_PED_ID" 0 1
  6341. push_1
  6342. push_1
  6343. CallNative "DETACH_ENTITY" 3 0
  6344. CallNative "PLAYER_PED_ID" 0 1
  6345. CallNative "CLEAR_PED_TASKS_IMMEDIATELY" 1 0
  6346. Jump @EndNetwork_TeleportOptions_
  6347. :PiggybackON_
  6348. PushString "Piggyback Ride ~r~On"
  6349. PushS 2500
  6350. Call @PrintStringBottomCentre_
  6351. PushString "Piggyback Ride Initiated"
  6352. Call @PrintBottomLeft_
  6353. CallNative "PLAYER_PED_ID" 0 1
  6354. StaticGet2 241
  6355. fPush -1
  6356. fPush_0.0
  6357. fPush -0.3
  6358. fPush_0.0
  6359. fPush_0.0
  6360. fPush_0.0
  6361. push_1
  6362. push_1
  6363. push_0
  6364. push_0
  6365. push_2
  6366. push_1
  6367. push_1
  6368. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  6369. PushString "mini@prostitutes@sexnorm_veh"
  6370. CallNative "REQUEST_ANIM_DICT" 1 0
  6371. Push 200
  6372. CallNative "WAIT" 1 0
  6373. CallNative "PLAYER_PED_ID" 0 1
  6374. PushString "mini@prostitutes@sexnorm_veh"
  6375. PushString "bj_loop_male"
  6376. fPush 8.0
  6377. fPush_0.0
  6378. push_-1
  6379. Push 9
  6380. push_0
  6381. push_0
  6382. push_0
  6383. push_0
  6384. CallNative "TASK_PLAY_ANIM" 11 0
  6385. Jump @EndNetwork_TeleportOptions_
  6386. :Network_TeleportOptions_IntoTheirVehicle
  6387. StaticGet2 241
  6388. CallNative "PLAYER_PED_ID" 0 1
  6389. JumpEQ @Network_TeleportOptions_CantTeleportSelf
  6390. StaticGet2 241
  6391. push_0
  6392. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6393. JumpFalse @EndNetwork_TeleportOptions_
  6394. StaticGet2 241
  6395. push_0
  6396. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6397. Call @RequestControlOfVeh_
  6398. StaticGet2 241
  6399. push_0
  6400. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6401. Call @FindFreeCarSeat_
  6402. StaticSet2 479
  6403. CallNative "PLAYER_PED_ID" 0 1
  6404. StaticGet2 241
  6405. push_0
  6406. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6407. StaticGet2 479
  6408. CallNative "SET_PED_INTO_VEHICLE" 3 0
  6409. Jump @EndNetwork_TeleportOptions_
  6410. :Network_TeleportOptions_Waypoint
  6411. StaticGet2 241
  6412. push_0
  6413. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6414. JumpFalse @Network_TeleportOptions_NotInVehicle
  6415. CallNative "IS_WAYPOINT_ACTIVE" 0 1
  6416. JumpFalse @Network_TeleportOptions_WPNotActive
  6417. StaticGet2 241
  6418. push_0
  6419. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6420. Call @RequestControlOfVeh_
  6421. Push 8
  6422. CallNative "GET_FIRST_BLIP_INFO_ID" 1 1
  6423. CallNative "GET_BLIP_COORDS" 1 3
  6424. push_3
  6425. pStatic2 497
  6426. FromStack
  6427. push_3
  6428. pStatic2 497
  6429. ToStack
  6430. pStatic2 485
  6431. CallNative "GET_GROUND_Z_FOR_3D_COORD" 4 1
  6432. Drop
  6433. StaticGet2 241
  6434. push_0
  6435. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6436. pStatic2 497
  6437. GetImmediate1 0
  6438. pStatic2 497
  6439. GetImmediate1 1
  6440. pStatic2 485
  6441. GetImmediate1 0
  6442. push_1
  6443. push_0
  6444. push_0
  6445. push_1
  6446. CallNative "SET_ENTITY_COORDS" 8 0
  6447. Jump @EndNetwork_TeleportOptions_
  6448. :Network_TeleportOptions_NotInVehicle
  6449. PushString "~r~Error:~s~ Player's not in a vehicle."
  6450. PushS 2500
  6451. Call @PrintStringBottomCentre_
  6452. Jump @EndNetwork_TeleportOptions_
  6453. :Network_TeleportOptions_WPNotActive
  6454. PushString "~r~Error:~s~ A *waypoint* is missing."
  6455. PushS 2500
  6456. Call @PrintStringBottomCentre_
  6457. Jump @EndNetwork_TeleportOptions_
  6458. :Network_TeleportOptions_CantTeleportSelf
  6459. PushString "~r~Error:~s~ Teleporting to yourself? -_-."
  6460. PushS 2000
  6461. Call @PrintStringBottomCentre_
  6462. :Network_CantDoThatToYourself
  6463. PushString "~r~Error:~s~ Cannot be invoked on Self."
  6464. PushS 2000
  6465. Call @PrintStringBottomCentre_
  6466. :EndNetwork_TeleportOptions_
  6467. Return 0 0
  6468. //< Network Player Options
  6469. :OnlinePlayersA_TeleportToCoords_
  6470. Function 0 2 0
  6471. fPush 15
  6472. StaticSet1 3
  6473. Push 8
  6474. StaticSet1 8
  6475. Call @DrawBackground_
  6476. Call @DrawNormalOptionHighlight_
  6477. PushString "Teleport Player To Coords"
  6478. Call @AddInfoBox_
  6479. PushString "Locations"
  6480. Call @AddTitle_
  6481. fPush_1.0
  6482. PushString "Ocean Coast's Cave"
  6483. Call @AddOption_
  6484. fPush_2.0
  6485. PushString "Crane (Scenic View)"
  6486. Call @AddOption_
  6487. fPush_3.0
  6488. PushString "Far Island With Flowers"
  6489. Call @AddOption_
  6490. fPush_4.0
  6491. PushString "Maze Bank, City Helipad"
  6492. Call @AddOption_
  6493. fPush_5.0
  6494. PushString "Waterfall Watching"
  6495. Call @AddOption_
  6496. fPush_6.0
  6497. PushString "Canyon, Train Tracks"
  6498. Call @AddOption_
  6499. fPush_7.0
  6500. PushString "Mt. Chiliad"
  6501. Call @AddOption_
  6502. fPush 8
  6503. PushString "Mt. Chiliad (Scenic View)"
  6504. Call @AddOption_
  6505. fPush 9
  6506. PushString "Above the Clouds"
  6507. Call @AddOption_
  6508. fPush 10
  6509. PushString "Cannibal Camp"
  6510. Call @AddOption_
  6511. fPush 11
  6512. PushString "Bottom of Ocean"
  6513. Call @AddOption_
  6514. fPush 12
  6515. PushString "500K Apartment (Outside)"
  6516. Call @AddOption_
  6517. fPush 13
  6518. PushString "Stuck In the Ocean"
  6519. Call @AddOption_
  6520. fPush 14
  6521. PushString "Tunnel Loop"
  6522. Call @AddOption_
  6523. fPush 15
  6524. PushString "Fort Zancudo"
  6525. Call @AddOption_
  6526. //Highlight
  6527. //The info box is not just limited to a whole submenu. You can display it on an option highlight as well.
  6528. Call @CheckAPressed_
  6529. push_1
  6530. JumpEQ @OnlinePlayersA_TeleportToCoordsController_
  6531. Jump @EndOnlinePlayersA_TeleportToCoords_
  6532. :OnlinePlayersA_TeleportToCoordsController_
  6533. PushString "SELECT"
  6534. Call @PlayFrontendSound_
  6535. StaticGet1 2
  6536. FtoI
  6537. Switch [1=@TeleportToCoords1_][2=@TeleportToCoords2_][3=@TeleportToCoords3_][4=@TeleportToCoords4_][5=@TeleportToCoords5_][6=@TeleportToCoords6_][7=@TeleportToCoords7_][8=@TeleportToCoords8_][9=@TeleportToCoords9_][10=@TeleportToCoords10_][11=@TeleportToCoords11_][12=@TeleportToCoords12_][13=@TeleportToCoords13_][14=@TeleportToCoords14_][15=@TeleportToCoords15_]
  6538. :TeleportToCoords1_
  6539. StaticGet2 241
  6540. getF1 0
  6541. CallNative "GET_PLAYER_PED" 1 1
  6542. StaticGet2 241
  6543. push_0
  6544. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6545. JumpFalse @Network_TeleportOptions_NotInVehicle
  6546. StaticGet2 241
  6547. push_0
  6548. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6549. Call @RequestControlOfVeh_
  6550. StaticGet2 241
  6551. push_0
  6552. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6553. fPush 3062.855
  6554. fPush 2214.975
  6555. fPush 3.381231
  6556. push_1
  6557. push_0
  6558. push_0
  6559. push_1
  6560. CallNative "SET_ENTITY_COORDS" 8 0
  6561. Jump @EndOnlinePlayersA_TeleportToCoords_
  6562. :TeleportToCoords2_
  6563. StaticGet2 241
  6564. getF1 0
  6565. CallNative "GET_PLAYER_PED" 1 1
  6566. StaticGet2 241
  6567. push_0
  6568. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6569. JumpFalse @Network_TeleportOptions_NotInVehicle
  6570. StaticGet2 241
  6571. push_0
  6572. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6573. Call @RequestControlOfVeh_
  6574. StaticGet2 241
  6575. push_0
  6576. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6577. fPush -119.859985
  6578. fPush -976.43866
  6579. fPush 306.3385
  6580. push_1
  6581. push_0
  6582. push_0
  6583. push_1
  6584. CallNative "SET_ENTITY_COORDS" 8 0
  6585. Jump @EndOnlinePlayersA_TeleportToCoords_
  6586. :TeleportToCoords3_
  6587. StaticGet2 241
  6588. getF1 0
  6589. CallNative "GET_PLAYER_PED" 1 1
  6590. StaticGet2 241
  6591. push_0
  6592. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6593. JumpFalse @Network_TeleportOptions_NotInVehicle
  6594. StaticGet2 241
  6595. push_0
  6596. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6597. Call @RequestControlOfVeh_
  6598. StaticGet2 241
  6599. push_0
  6600. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6601. fPush -125.6544
  6602. fPush 7271.8940
  6603. fPush 16.7366
  6604. push_1
  6605. push_0
  6606. push_0
  6607. push_1
  6608. CallNative "SET_ENTITY_COORDS" 8 0
  6609. Jump @EndOnlinePlayersA_TeleportToCoords_
  6610. :TeleportToCoords4_
  6611. StaticGet2 241
  6612. getF1 0
  6613. CallNative "GET_PLAYER_PED" 1 1
  6614. StaticGet2 241
  6615. push_0
  6616. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6617. JumpFalse @Network_TeleportOptions_NotInVehicle
  6618. StaticGet2 241
  6619. push_0
  6620. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6621. Call @RequestControlOfVeh_
  6622. StaticGet2 241
  6623. push_0
  6624. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6625. fPush -74.94243
  6626. fPush -818.63446
  6627. fPush 326.174347
  6628. push_1
  6629. push_0
  6630. push_0
  6631. push_1
  6632. CallNative "SET_ENTITY_COORDS" 8 0
  6633. Jump @EndOnlinePlayersA_TeleportToCoords_
  6634. :TeleportToCoords5_
  6635. StaticGet2 241
  6636. getF1 0
  6637. CallNative "GET_PLAYER_PED" 1 1
  6638. StaticGet2 241
  6639. push_0
  6640. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6641. JumpFalse @Network_TeleportOptions_NotInVehicle
  6642. StaticGet2 241
  6643. push_0
  6644. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6645. Call @RequestControlOfVeh_
  6646. StaticGet2 241
  6647. push_0
  6648. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6649. fPush -540.4822
  6650. fPush 4402.3590
  6651. fPush 34.3786
  6652. push_1
  6653. push_0
  6654. push_0
  6655. push_1
  6656. CallNative "SET_ENTITY_COORDS" 8 0
  6657. Jump @EndOnlinePlayersA_TeleportToCoords_
  6658. :TeleportToCoords6_
  6659. StaticGet2 241
  6660. getF1 0
  6661. CallNative "GET_PLAYER_PED" 1 1
  6662. StaticGet2 241
  6663. push_0
  6664. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6665. JumpFalse @Network_TeleportOptions_NotInVehicle
  6666. StaticGet2 241
  6667. push_0
  6668. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6669. Call @RequestControlOfVeh_
  6670. StaticGet2 241
  6671. push_0
  6672. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6673. fPush -530.6747
  6674. fPush 4534.9960
  6675. fPush 89.0457
  6676. push_1
  6677. push_0
  6678. push_0
  6679. push_1
  6680. CallNative "SET_ENTITY_COORDS" 8 0
  6681. Jump @EndOnlinePlayersA_TeleportToCoords_
  6682. :TeleportToCoords7_
  6683. StaticGet2 241
  6684. getF1 0
  6685. CallNative "GET_PLAYER_PED" 1 1
  6686. StaticGet2 241
  6687. push_0
  6688. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6689. JumpFalse @Network_TeleportOptions_NotInVehicle
  6690. StaticGet2 241
  6691. push_0
  6692. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6693. Call @RequestControlOfVeh_
  6694. StaticGet2 241
  6695. push_0
  6696. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6697. fPush 489.3171
  6698. fPush 5580.8870
  6699. fPush 792.8515
  6700. push_1
  6701. push_0
  6702. push_0
  6703. push_1
  6704. CallNative "SET_ENTITY_COORDS" 8 0
  6705. Jump @EndOnlinePlayersA_TeleportToCoords_
  6706. :TeleportToCoords8_
  6707. StaticGet2 241
  6708. getF1 0
  6709. CallNative "GET_PLAYER_PED" 1 1
  6710. StaticGet2 241
  6711. push_0
  6712. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6713. JumpFalse @Network_TeleportOptions_NotInVehicle
  6714. StaticGet2 241
  6715. push_0
  6716. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6717. Call @RequestControlOfVeh_
  6718. StaticGet2 241
  6719. push_0
  6720. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6721. fPush 413.4706
  6722. fPush 5572.8210
  6723. fPush 779.6819
  6724. push_1
  6725. push_0
  6726. push_0
  6727. push_1
  6728. CallNative "SET_ENTITY_COORDS" 8 0
  6729. Jump @EndOnlinePlayersA_TeleportToCoords_
  6730. :TeleportToCoords9_
  6731. StaticGet2 241
  6732. getF1 0
  6733. CallNative "GET_PLAYER_PED" 1 1
  6734. StaticGet2 241
  6735. push_0
  6736. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6737. JumpFalse @Network_TeleportOptions_NotInVehicle
  6738. StaticGet2 241
  6739. push_0
  6740. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6741. Call @RequestControlOfVeh_
  6742. StaticGet2 241
  6743. push_0
  6744. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6745. fPush -73.4489
  6746. fPush -833.5170
  6747. fPush 5841.4240
  6748. push_1
  6749. push_0
  6750. push_0
  6751. push_1
  6752. CallNative "SET_ENTITY_COORDS" 8 0
  6753. Jump @EndOnlinePlayersA_TeleportToCoords_
  6754. :TeleportToCoords10_
  6755. StaticGet2 241
  6756. getF1 0
  6757. CallNative "GET_PLAYER_PED" 1 1
  6758. StaticGet2 241
  6759. push_0
  6760. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6761. JumpFalse @Network_TeleportOptions_NotInVehicle
  6762. StaticGet2 241
  6763. push_0
  6764. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6765. Call @RequestControlOfVeh_
  6766. StaticGet2 241
  6767. push_0
  6768. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6769. fPush -1170.1150
  6770. fPush 4926.1340
  6771. fPush 224.3552
  6772. push_1
  6773. push_0
  6774. push_0
  6775. push_1
  6776. CallNative "SET_ENTITY_COORDS" 8 0
  6777. Jump @EndOnlinePlayersA_TeleportToCoords_
  6778. :TeleportToCoords11_
  6779. StaticGet2 241
  6780. getF1 0
  6781. CallNative "GET_PLAYER_PED" 1 1
  6782. StaticGet2 241
  6783. push_0
  6784. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6785. JumpFalse @Network_TeleportOptions_NotInVehicle
  6786. StaticGet2 241
  6787. push_0
  6788. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6789. Call @RequestControlOfVeh_
  6790. StaticGet2 241
  6791. push_0
  6792. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6793. fPush 103.4720
  6794. fPush 7744.1870
  6795. fPush -158.1106
  6796. push_1
  6797. push_0
  6798. push_0
  6799. push_1
  6800. CallNative "SET_ENTITY_COORDS" 8 0
  6801. Jump @EndOnlinePlayersA_TeleportToCoords_
  6802. :TeleportToCoords12_
  6803. StaticGet2 241
  6804. getF1 0
  6805. CallNative "GET_PLAYER_PED" 1 1
  6806. StaticGet2 241
  6807. push_0
  6808. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6809. JumpFalse @Network_TeleportOptions_NotInVehicle
  6810. StaticGet2 241
  6811. push_0
  6812. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6813. Call @RequestControlOfVeh_
  6814. StaticGet2 241
  6815. push_0
  6816. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6817. fPush -795.4600
  6818. fPush 308.8900
  6819. fPush 85.7100
  6820. push_1
  6821. push_0
  6822. push_0
  6823. push_1
  6824. CallNative "SET_ENTITY_COORDS" 8 0
  6825. Jump @EndOnlinePlayersA_TeleportToCoords_
  6826. :TeleportToCoords13_
  6827. StaticGet2 241
  6828. getF1 0
  6829. CallNative "GET_PLAYER_PED" 1 1
  6830. StaticGet2 241
  6831. push_0
  6832. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6833. JumpFalse @Network_TeleportOptions_NotInVehicle
  6834. StaticGet2 241
  6835. push_0
  6836. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6837. Call @RequestControlOfVeh_
  6838. StaticGet2 241
  6839. push_0
  6840. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6841. fPush 5314.23
  6842. fPush -5211.83
  6843. fPush 83.52
  6844. push_1
  6845. push_0
  6846. push_0
  6847. push_1
  6848. CallNative "SET_ENTITY_COORDS" 8 0
  6849. Jump @EndOnlinePlayersA_TeleportToCoords_
  6850. :TeleportToCoords14_
  6851. StaticGet2 241
  6852. getF1 0
  6853. CallNative "GET_PLAYER_PED" 1 1
  6854. StaticGet2 241
  6855. push_0
  6856. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6857. JumpFalse @Network_TeleportOptions_NotInVehicle
  6858. StaticGet2 241
  6859. push_0
  6860. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6861. Call @RequestControlOfVeh_
  6862. StaticGet2 241
  6863. push_0
  6864. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6865. fPush -4.5786
  6866. fPush -742.4279
  6867. fPush 16.5030
  6868. push_1
  6869. push_0
  6870. push_0
  6871. push_1
  6872. CallNative "SET_ENTITY_COORDS" 8 0
  6873. Jump @EndOnlinePlayersA_TeleportToCoords_
  6874. :TeleportToCoords15_
  6875. StaticGet2 241
  6876. getF1 0
  6877. CallNative "GET_PLAYER_PED" 1 1
  6878. StaticGet2 241
  6879. push_0
  6880. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6881. JumpFalse @Network_TeleportOptions_NotInVehicle
  6882. StaticGet2 241
  6883. push_0
  6884. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6885. Call @RequestControlOfVeh_
  6886. StaticGet2 241
  6887. push_0
  6888. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6889. fPush -2450.46
  6890. fPush 3148.99
  6891. fPush 32.82
  6892. push_1
  6893. push_0
  6894. push_0
  6895. push_1
  6896. CallNative "SET_ENTITY_COORDS" 8 0
  6897. Jump @EndOnlinePlayersA_TeleportToCoords_
  6898. :NotInVehicle_
  6899. PushString "~r~Error:~s~ Get in a vehicle first."
  6900. PushS 2500
  6901. Call @PrintStringBottomCentre_
  6902. :EndOnlinePlayersA_TeleportToCoords_
  6903. Return 0 0
  6904.  
  6905. //< Network Vehicle Control Options
  6906. :Network_VehicleSub
  6907. Function 0 2 0
  6908. fPush 14
  6909. StaticSet1 3
  6910. Push 8
  6911. StaticSet1 8
  6912. Call @DrawBackground_
  6913. Call @DrawNormalOptionHighlight_
  6914. PushString "Control Player's Vehicles"
  6915. Call @AddInfoBox_
  6916. PushString "Vehicle Control"
  6917. Call @AddTitle_
  6918. fPush_1.0
  6919. PushString "Paint Chrome"
  6920. Call @AddOption_
  6921. fPush_2.0
  6922. PushString "Paint Pure-Gold"
  6923. Call @AddOption_
  6924. fPush_3.0
  6925. PushString "Paint Brushed Gold"
  6926. Call @AddOption_
  6927. fPush_4.0
  6928. PushString "Paint Secret Gold"
  6929. Call @AddOption_
  6930. fPush_5.0
  6931. PushString "Paint Chrome-Pure Gold"
  6932. Call @AddOption_
  6933. fPush_6.0
  6934. PushString "Paint Pure Gold-Chrome"
  6935. Call @AddOption_
  6936. fPush_7.0
  6937. PushString "Paint Chrome-Brushed Gold"
  6938. Call @AddOption_
  6939. fPush 8
  6940. PushString "Paint Brushed Gold-Chrome"
  6941. Call @AddOption_
  6942. fPush 9
  6943. PushString "Paint Chrome-Secret Gold"
  6944. Call @AddOption_
  6945. fPush 10
  6946. PushString "Paint Secret Gold-Chrome"
  6947. Call @AddOption_
  6948. fPush 11
  6949. PushString "Paint Hot Pink (Troll)"
  6950. Call @AddOption_
  6951. fPush 12
  6952. PushString "Paint Chrome-Candy Red"
  6953. Call @AddOption_
  6954. fPush 13
  6955. PushString "Paint Random"
  6956. Call @AddOption_
  6957. fPush 14
  6958. PushString "--- Page 2 ---"
  6959. Call @AddOption_
  6960. //Highlight
  6961. //The info box is not just limited to a whole submenu. You can display it on an option highlight as well.
  6962. Call @CheckAPressed_
  6963. push_1
  6964. JumpEQ @Network_VehicleSubController_
  6965. Jump @EndNetwork_VehicleSub
  6966. :Network_VehicleSubController_
  6967. PushString "SELECT"
  6968. Call @PlayFrontendSound_
  6969. StaticGet1 2
  6970. FtoI
  6971. Switch [1=@VehicleSubOp1_][2=@VehicleSubOp2_][3=@VehicleSubOp3_][4=@VehicleSubOp4_][5=@VehicleSubOp5_][6=@VehicleSubOp6_][7=@VehicleSubOp7_][8=@VehicleSubOp8_][9=@VehicleSubOp9_][10=@VehicleSubOp10_][11=@VehicleSubOp11_][12=@VehicleSubOp12_][13=@VehicleSubOp13_][14=@VehicleSub2_]
  6972. :VehicleSubOp1_
  6973. StaticGet2 241
  6974. push_0
  6975. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6976. JumpFalse @EndNetwork_VehicleSub
  6977. StaticGet2 241
  6978. push_0
  6979. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6980. Call @RequestControlOfVeh_
  6981. PushString "Painted Players Vehicle Chrome"
  6982. PushS 2500
  6983. Call @MsgStuff_
  6984. StaticGet2 241
  6985. push_0
  6986. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6987. Push 120
  6988. Push 120
  6989. CallNative "SET_VEHICLE_COLOURS" 3 0
  6990. Jump @EndNetwork_VehicleSub
  6991. :VehicleSubOp2_
  6992. StaticGet2 241
  6993. push_0
  6994. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  6995. JumpFalse @EndNetwork_VehicleSub
  6996. StaticGet2 241
  6997. push_0
  6998. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  6999. Call @RequestControlOfVeh_
  7000. PushString "Painted Players Vehicle Pure-Gold"
  7001. PushS 2500
  7002. Call @MsgStuff_
  7003. StaticGet2 241
  7004. push_0
  7005. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7006. Push 158
  7007. Push 158
  7008. CallNative "SET_VEHICLE_COLOURS" 3 0
  7009. Jump @EndNetwork_VehicleSub
  7010. :VehicleSubOp3_
  7011. StaticGet2 241
  7012. push_0
  7013. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7014. JumpFalse @EndNetwork_VehicleSub
  7015. StaticGet2 241
  7016. push_0
  7017. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7018. Call @RequestControlOfVeh_
  7019. PushString "Painted Players Vehicle Brushed-Gold"
  7020. PushS 2500
  7021. Call @MsgStuff_
  7022. StaticGet2 241
  7023. push_0
  7024. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7025. Push 159
  7026. Push 159
  7027. CallNative "SET_VEHICLE_COLOURS" 3 0
  7028. Jump @EndNetwork_VehicleSub
  7029. :VehicleSubOp4_
  7030. StaticGet2 241
  7031. push_0
  7032. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7033. JumpFalse @EndNetwork_VehicleSub
  7034. StaticGet2 241
  7035. push_0
  7036. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7037. Call @RequestControlOfVeh_
  7038. PushString "Changed to Secret Gold"
  7039. PushS 2500
  7040. Call @MsgStuff_
  7041. StaticGet2 241
  7042. push_0
  7043. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7044. Push 160
  7045. Push 160
  7046. CallNative "SET_VEHICLE_COLOURS" 3 0
  7047. Jump @EndNetwork_VehicleSub
  7048. :VehicleSubOp5_
  7049. StaticGet2 241
  7050. push_0
  7051. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7052. JumpFalse @EndNetwork_VehicleSub
  7053. StaticGet2 241
  7054. push_0
  7055. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7056. Call @RequestControlOfVeh_
  7057. PushString "Changed to Chrome-Pure Gold"
  7058. PushS 2500
  7059. Call @MsgStuff_
  7060. StaticGet2 241
  7061. push_0
  7062. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7063. Push 158
  7064. Push 120
  7065. CallNative "SET_VEHICLE_COLOURS" 3 0
  7066. Jump @EndNetwork_VehicleSub
  7067. :VehicleSubOp6_
  7068. StaticGet2 241
  7069. push_0
  7070. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7071. JumpFalse @EndNetwork_VehicleSub
  7072. StaticGet2 241
  7073. push_0
  7074. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7075. Call @RequestControlOfVeh_
  7076. PushString "Changed to Pure Gold-Chrome"
  7077. PushS 2500
  7078. Call @MsgStuff_
  7079. StaticGet2 241
  7080. push_0
  7081. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7082. Push 120
  7083. Push 158
  7084. CallNative "SET_VEHICLE_COLOURS" 3 0
  7085. Jump @EndNetwork_VehicleSub
  7086. :VehicleSubOp7_
  7087. StaticGet2 241
  7088. push_0
  7089. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7090. JumpFalse @EndNetwork_VehicleSub
  7091. StaticGet2 241
  7092. push_0
  7093. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7094. Call @RequestControlOfVeh_
  7095. PushString "Changed to Chrome-Brushed Gold"
  7096. PushS 2500
  7097. Call @MsgStuff_
  7098. StaticGet2 241
  7099. push_0
  7100. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7101. Push 120
  7102. Push 159
  7103. CallNative "SET_VEHICLE_COLOURS" 3 0
  7104. Jump @EndNetwork_VehicleSub
  7105. :VehicleSubOp8_
  7106. StaticGet2 241
  7107. push_0
  7108. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7109. JumpFalse @EndNetwork_VehicleSub
  7110. StaticGet2 241
  7111. push_0
  7112. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7113. Call @RequestControlOfVeh_
  7114. PushString "Changed to Brushed Gold-Chrome"
  7115. PushS 2500
  7116. Call @MsgStuff_
  7117. StaticGet2 241
  7118. push_0
  7119. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7120. Push 159
  7121. Push 120
  7122. CallNative "SET_VEHICLE_COLOURS" 3 0
  7123. Jump @EndNetwork_VehicleSub
  7124. :VehicleSubOp9_
  7125. StaticGet2 241
  7126. push_0
  7127. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7128. JumpFalse @EndNetwork_VehicleSub
  7129. StaticGet2 241
  7130. push_0
  7131. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7132. Call @RequestControlOfVeh_
  7133. PushString "Changed to Chrome-Secret Gold"
  7134. PushS 2500
  7135. Call @MsgStuff_
  7136. StaticGet2 241
  7137. push_0
  7138. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7139. Push 120
  7140. Push 160
  7141. CallNative "SET_VEHICLE_COLOURS" 3 0
  7142. Jump @EndNetwork_VehicleSub
  7143. :VehicleSubOp10_
  7144. StaticGet2 241
  7145. push_0
  7146. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7147. JumpFalse @EndNetwork_VehicleSub
  7148. StaticGet2 241
  7149. push_0
  7150. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7151. Call @RequestControlOfVeh_
  7152. PushString "Changed to Secret Gold-Chrome"
  7153. PushS 2500
  7154. Call @MsgStuff_
  7155. StaticGet2 241
  7156. push_0
  7157. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7158. Push 160
  7159. Push 120
  7160. CallNative "SET_VEHICLE_COLOURS" 3 0
  7161. Jump @EndNetwork_VehicleSub
  7162. :VehicleSubOp11_
  7163. StaticGet2 241
  7164. push_0
  7165. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7166. JumpFalse @EndNetwork_VehicleSub
  7167. StaticGet2 241
  7168. push_0
  7169. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7170. Call @RequestControlOfVeh_
  7171. PushString "Changed to Hot Pink"
  7172. PushS 2500
  7173. Call @MsgStuff_
  7174. StaticGet2 241
  7175. push_0
  7176. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7177. Push 135
  7178. Push 135
  7179. CallNative "SET_VEHICLE_COLOURS" 3 0
  7180. Jump @EndNetwork_VehicleSub
  7181. :VehicleSubOp12_
  7182. StaticGet2 241
  7183. push_0
  7184. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7185. JumpFalse @EndNetwork_VehicleSub
  7186. StaticGet2 241
  7187. push_0
  7188. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7189. Call @RequestControlOfVeh_
  7190. PushString "Changed to Chrome-Candy Red"
  7191. PushS 2500
  7192. Call @MsgStuff_
  7193. StaticGet2 241
  7194. push_0
  7195. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7196. Push 120
  7197. Push 35
  7198. CallNative "SET_VEHICLE_COLOURS" 3 0
  7199. Jump @EndNetwork_VehicleSub
  7200. :VehicleSubOp13_
  7201. StaticGet2 241
  7202. push_0
  7203. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7204. JumpFalse @EndNetwork_VehicleSub
  7205. StaticGet2 241
  7206. push_0
  7207. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7208. Call @RequestControlOfVeh_
  7209. PushString "Painted Players Vehicle Random"
  7210. PushS 2500
  7211. Call @MsgStuff_
  7212. StaticGet2 241
  7213. push_0
  7214. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7215. push_0
  7216. Push 157
  7217. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  7218. push_0
  7219. Push 157
  7220. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  7221. CallNative "SET_VEHICLE_COLOURS" 3 0
  7222. Jump @EndNetwork_VehicleSub
  7223. :VehicleSub2_
  7224. Push 17
  7225. StaticSet1 1
  7226. Call @ChangeSubmenu_
  7227. Jump @EndNetwork_VehicleSub
  7228. :EndNetwork_VehicleSub
  7229. Return 0 0
  7230. //>
  7231. //< Network Control Vehicle Sub 2
  7232. :Network_VehicleSub2
  7233. Function 0 2 0
  7234. fPush 14
  7235. StaticSet1 3
  7236. Push 16
  7237. StaticSet1 8
  7238. Call @DrawBackground_
  7239. Call @DrawNormalOptionHighlight_
  7240. PushString "--- Vehicle Control Page 2 ---"
  7241. Call @AddInfoBox_
  7242. StaticGet2 239
  7243. Call @AddTitle_
  7244. fPush_1.0
  7245. PushString "Sky-Rocket Player!"
  7246. Call @AddOption_
  7247. fPush_2.0
  7248. PushString "Super Sky-Rocket Player!"
  7249. Call @AddOption_
  7250. fPush_3.0
  7251. PushString "Super Launch Forward!"
  7252. Call @AddOption_
  7253. fPush_4.0
  7254. PushString "Super Launch Backwards!"
  7255. Call @AddOption_
  7256. fPush_5.0
  7257. PushString "Delete Player's Vehicle"
  7258. Call @AddOption_
  7259. fPush_6.0
  7260. PushString "Empty"
  7261. Call @AddOption_
  7262. fPush_7.0
  7263. PushString "Empty"
  7264. Call @AddOption_
  7265. fPush 8
  7266. PushString "Empty"
  7267. Call @AddOption_
  7268. fPush 9
  7269. PushString "Empty"
  7270. Call @AddOption_
  7271. fPush 10
  7272. PushString "Empty"
  7273. Call @AddOption_
  7274. fPush 11
  7275. PushString "Empty"
  7276. Call @AddOption_
  7277. fPush 12
  7278. PushString "Empty"
  7279. Call @AddOption_
  7280. fPush 13
  7281. PushString "Empty"
  7282. Call @AddOption_
  7283. fPush 14
  7284. PushString "Empty"
  7285. Call @AddOption_
  7286. // Option's Functions
  7287. Call @CheckAPressed_
  7288. push_1
  7289. JumpEQ @Network_VehicleSub2Controller
  7290. Jump @EndNetwork_VehicleSub2
  7291. :Network_VehicleSub2Controller
  7292. PushString "SELECT"
  7293. Call @PlayFrontendSound_
  7294. StaticGet1 2
  7295. FtoI
  7296. Switch [1=@VehicleSub2Op1_][2=@VehicleSub2Op2_][3=@VehicleSub2Op3_][4=@VehicleSub2Op4_][5=@VehicleSub2Op5_][6=@VehicleSub2Op6_][7=@VehicleSub2Op7_][8=@VehicleSub2Op8_][9=@VehicleSub2Op9_][10=@VehicleSub2Op10_][11=@VehicleSub2Op1_][12=@VehicleSub2Op12_][13=@VehicleSub2Op13_][14=@VehicleSub2Op14_]
  7297. :VehicleSub2Op1_
  7298. StaticGet2 241
  7299. push_0
  7300. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7301. JumpFalse @EndNetwork_VehicleSub
  7302. StaticGet2 241
  7303. push_0
  7304. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7305. Call @RequestControlOfVeh_
  7306. PushString "Sky-rocketed Player!"
  7307. PushS 2500
  7308. Call @MsgStuff_
  7309. StaticGet2 241
  7310. push_0
  7311. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7312. push_0
  7313. fPush_0.0
  7314. fPush_0.0
  7315. fPush 999
  7316. fPush_0.0
  7317. fPush_0.0
  7318. fPush_0.0
  7319. push_0
  7320. push_1
  7321. push_1
  7322. push_1
  7323. push_0
  7324. push_1
  7325. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  7326. Jump @EndNetwork_VehicleSub2
  7327. :VehicleSub2Op2_
  7328. StaticGet2 241
  7329. push_0
  7330. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7331. JumpFalse @EndNetwork_VehicleSub
  7332. StaticGet2 241
  7333. push_0
  7334. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7335. Call @RequestControlOfVeh_
  7336. PushString "Player Super Sky-rocketed!"
  7337. PushS 2500
  7338. Call @MsgStuff_
  7339. StaticGet2 241
  7340. push_0
  7341. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7342. push_0
  7343. fPush_0.0
  7344. fPush_0.0
  7345. fPush 9999
  7346. fPush_0.0
  7347. fPush_0.0
  7348. fPush_0.0
  7349. push_0
  7350. push_1
  7351. push_1
  7352. push_1
  7353. push_0
  7354. push_1
  7355. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  7356. Jump @EndNetwork_VehicleSub2
  7357. :VehicleSub2Op3_
  7358. StaticGet2 241
  7359. push_0
  7360. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7361. JumpFalse @EndNetwork_VehicleSub
  7362. StaticGet2 241
  7363. push_0
  7364. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7365. Call @RequestControlOfVeh_
  7366. PushString "Launched Player Forward!!"
  7367. PushS 2500
  7368. Call @MsgStuff_
  7369. StaticGet2 241
  7370. push_0
  7371. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7372. push_0
  7373. fPush_0.0
  7374. fPush 999
  7375. fPush_0.0
  7376. fPush_0.0
  7377. fPush_0.0
  7378. fPush_0.0
  7379. push_0
  7380. push_1
  7381. push_1
  7382. push_1
  7383. push_0
  7384. push_1
  7385. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  7386. Jump @EndNetwork_VehicleSub2
  7387. :VehicleSub2Op4_
  7388. StaticGet2 241
  7389. push_0
  7390. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7391. JumpFalse @EndNetwork_VehicleSub
  7392. StaticGet2 241
  7393. push_0
  7394. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7395. Call @RequestControlOfVeh_
  7396. PushString "Launched Player Backwards!!"
  7397. PushS 2500
  7398. Call @MsgStuff_
  7399. StaticGet2 241
  7400. push_0
  7401. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7402. push_0
  7403. fPush_0.0
  7404. fPush -1000
  7405. fPush_0.0
  7406. fPush_0.0
  7407. fPush_0.0
  7408. fPush_0.0
  7409. push_0
  7410. push_1
  7411. push_1
  7412. push_1
  7413. push_0
  7414. push_1
  7415. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  7416. Jump @EndNetwork_VehicleSub2
  7417. :VehicleSub2Op5_
  7418. StaticGet2 241
  7419. push_0
  7420. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  7421. JumpFalse @EndNetwork_VehicleSub2
  7422. StaticGet2 241
  7423. push_0
  7424. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7425. Call @RequestControlOfVeh_
  7426. PushString "Deleted Players Vehicle"
  7427. PushS 2500
  7428. Call @MsgStuff_
  7429. StaticGet2 241
  7430. push_0
  7431. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  7432. StaticSet2 65
  7433. StaticGet2 65
  7434. push_1
  7435. push_1
  7436. CallNative "SET_ENTITY_AS_MISSION_ENTITY" 3 0
  7437. pStatic2 65
  7438. CallNative "DELETE_VEHICLE" 1 0
  7439. push_0
  7440. CallNative "WAIT" 1 0
  7441. Jump @EndNetwork_VehicleSub2
  7442. :VehicleSub2Op6_
  7443. Jump @EndNetwork_VehicleSub2
  7444. :VehicleSub2Op7_
  7445. Jump @EndNetwork_VehicleSub2
  7446. :VehicleSub2Op8_
  7447. Jump @EndNetwork_VehicleSub2
  7448. :VehicleSub2Op9_
  7449. Jump @EndNetwork_VehicleSub2
  7450. :VehicleSub2Op10_
  7451. Jump @EndNetwork_VehicleSub2
  7452. :VehicleSub2Op11_
  7453. Jump @EndNetwork_VehicleSub2
  7454. :VehicleSub2Op12_
  7455. Jump @EndNetwork_VehicleSub2
  7456. :VehicleSub2Op13_
  7457. Jump @EndNetwork_VehicleSub2
  7458. :VehicleSub2Op14_
  7459. Jump @EndNetwork_VehicleSub2
  7460. :EndNetwork_VehicleSub2
  7461. Return 0 0
  7462. //< Network Nice Options
  7463. :Network_NiceandNaughty
  7464. Function 0 2 0
  7465. fPush 14
  7466. StaticSet1 3
  7467. Push 8
  7468. StaticSet1 8
  7469. Call @DrawBackground_
  7470. Call @DrawNormalOptionHighlight_
  7471. PushString "--- Nice Options! ---"
  7472. Call @AddInfoBox_
  7473. StaticGet2 239
  7474. Call @AddTitle_
  7475. fPush_1.0
  7476. PushString "Give Health"
  7477. Call @AddOption_
  7478. fPush_2.0
  7479. PushString "Give Armor"
  7480. Call @AddOption_
  7481. fPush_3.0
  7482. PushString "Empty"
  7483. Call @AddOption_
  7484. fPush_4.0
  7485. PushString "Empty"
  7486. Call @AddOption_
  7487. fPush_5.0
  7488. PushString "Empty"
  7489. Call @AddOption_
  7490. fPush_6.0
  7491. PushString "Empty"
  7492. Call @AddOption_
  7493. fPush_7.0
  7494. PushString "Empty"
  7495. Call @AddOption_
  7496. fPush 8
  7497. PushString "Empty"
  7498. Call @AddOption_
  7499. fPush 9
  7500. PushString "Empty"
  7501. Call @AddOption_
  7502. fPush 10
  7503. PushString "Empty"
  7504. Call @AddOption_
  7505. fPush 11
  7506. PushString "Empty"
  7507. Call @AddOption_
  7508. fPush 12
  7509. PushString "Empty"
  7510. Call @AddOption_
  7511. fPush 13
  7512. PushString "Empty"
  7513. Call @AddOption_
  7514. fPush 14
  7515. PushString "--- Naughty Options ---"
  7516. Call @AddOption_
  7517. // Option's Functions
  7518. Call @CheckAPressed_
  7519. push_1
  7520. JumpEQ @Network_NiceandNaughtyController
  7521. Jump @EndNetwork_NiceandNaughty
  7522. :Network_NiceandNaughtyController
  7523. PushString "SELECT"
  7524. Call @PlayFrontendSound_
  7525. StaticGet1 2
  7526. FtoI
  7527. Switch [1=@NiceOp1_][2=@NiceOp2_][3=@ExtremeCashDrop_][4=@NiceOp4_][5=@NiceOp5_][6=@NiceOp6_][7=@NiceOp7_][8=@NiceOp8_][9=@NiceOp9_][10=@NiceOp10_][11=@NiceOp11_][12=@NiceOp12_][13=@NiceOp13_][14=@NaughtySubMenu_]
  7528. :NiceOp1_
  7529. PushString "Restored Player's Health"
  7530. PushS 2500
  7531. Call @MsgStuff_
  7532. Push -1888453608
  7533. StaticGet2 241
  7534. push_1
  7535. CallNative "GET_ENTITY_COORDS" 2 3
  7536. push_0
  7537. Push 100000
  7538. push_1
  7539. push_0
  7540. push_1
  7541. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7542. Drop
  7543. Jump @EndNetwork_NiceandNaughty
  7544. :NiceOp2_
  7545. PushString "Given Armor to Player"
  7546. PushS 2500
  7547. Call @MsgStuff_
  7548. Push 1274757841
  7549. StaticGet2 241
  7550. push_1
  7551. CallNative "GET_ENTITY_COORDS" 2 3
  7552. push_0
  7553. Push 100000
  7554. push_1
  7555. push_0
  7556. push_1
  7557. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7558. Drop
  7559. Jump @EndNetwork_NiceandNaughty
  7560. :ExtremeCashDrop_
  7561. push_0
  7562. CallNative "WAIT" 1 0
  7563. StaticGet2 460
  7564. Add1 1
  7565. StaticSet2 460
  7566. pGlobal3 2407802
  7567. GetImmediate2 4113
  7568. StaticGet2 241
  7569. push_1
  7570. CallNative "GET_ENTITY_COORDS" 2 3
  7571. push_0
  7572. Push 40000
  7573. pGlobal3 2407802
  7574. GetImmediate2 4113
  7575. push_0
  7576. push_1
  7577. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7578. Drop
  7579. pGlobal3 2407802
  7580. GetImmediate2 4113
  7581. StaticGet2 241
  7582. push_1
  7583. CallNative "GET_ENTITY_COORDS" 2 3
  7584. push_0
  7585. Push 40000
  7586. pGlobal3 2407802
  7587. GetImmediate2 4113
  7588. push_0
  7589. push_1
  7590. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7591. Drop
  7592. pGlobal3 2407802
  7593. GetImmediate2 4113
  7594. StaticGet2 241
  7595. push_1
  7596. CallNative "GET_ENTITY_COORDS" 2 3
  7597. push_0
  7598. Push 40000
  7599. pGlobal3 2407802
  7600. GetImmediate2 4113
  7601. push_0
  7602. push_1
  7603. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7604. Drop
  7605. pGlobal3 2407802
  7606. GetImmediate2 4113
  7607. StaticGet2 241
  7608. push_1
  7609. CallNative "GET_ENTITY_COORDS" 2 3
  7610. push_0
  7611. Push 40000
  7612. pGlobal3 2407802
  7613. GetImmediate2 4113
  7614. push_0
  7615. push_1
  7616. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7617. Drop
  7618. pGlobal3 2407802
  7619. GetImmediate2 4113
  7620. StaticGet2 241
  7621. push_1
  7622. CallNative "GET_ENTITY_COORDS" 2 3
  7623. push_0
  7624. Push 40000
  7625. pGlobal3 2407802
  7626. GetImmediate2 4113
  7627. push_0
  7628. push_1
  7629. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7630. Drop
  7631. pGlobal3 2407802
  7632. GetImmediate2 4113
  7633. StaticGet2 241
  7634. push_1
  7635. CallNative "GET_ENTITY_COORDS" 2 3
  7636. push_0
  7637. Push 40000
  7638. pGlobal3 2407802
  7639. GetImmediate2 4113
  7640. push_0
  7641. push_1
  7642. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7643. Drop
  7644. pGlobal3 2407802
  7645. GetImmediate2 4113
  7646. StaticGet2 241
  7647. push_1
  7648. CallNative "GET_ENTITY_COORDS" 2 3
  7649. push_0
  7650. Push 40000
  7651. pGlobal3 2407802
  7652. GetImmediate2 4113
  7653. push_0
  7654. push_1
  7655. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7656. Drop
  7657. pGlobal3 2407802
  7658. GetImmediate2 4113
  7659. StaticGet2 241
  7660. push_1
  7661. CallNative "GET_ENTITY_COORDS" 2 3
  7662. push_0
  7663. Push 40000
  7664. pGlobal3 2407802
  7665. GetImmediate2 4113
  7666. push_0
  7667. push_1
  7668. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7669. Drop
  7670. pGlobal3 2407802
  7671. GetImmediate2 4113
  7672. StaticGet2 241
  7673. push_1
  7674. CallNative "GET_ENTITY_COORDS" 2 3
  7675. push_0
  7676. Push 40000
  7677. pGlobal3 2407802
  7678. GetImmediate2 4113
  7679. push_0
  7680. push_1
  7681. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7682. Drop
  7683. pGlobal3 2407802
  7684. GetImmediate2 4113
  7685. StaticGet2 241
  7686. push_1
  7687. CallNative "GET_ENTITY_COORDS" 2 3
  7688. push_0
  7689. Push 40000
  7690. pGlobal3 2407802
  7691. GetImmediate2 4113
  7692. push_0
  7693. push_1
  7694. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7695. Drop
  7696. pGlobal3 2407802
  7697. GetImmediate2 4113
  7698. StaticGet2 241
  7699. push_1
  7700. CallNative "GET_ENTITY_COORDS" 2 3
  7701. push_0
  7702. Push 40000
  7703. pGlobal3 2407802
  7704. GetImmediate2 4113
  7705. push_0
  7706. push_1
  7707. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7708. Drop
  7709. pGlobal3 2407802
  7710. GetImmediate2 4113
  7711. StaticGet2 241
  7712. push_1
  7713. CallNative "GET_ENTITY_COORDS" 2 3
  7714. push_0
  7715. Push 40000
  7716. pGlobal3 2407802
  7717. GetImmediate2 4113
  7718. push_0
  7719. push_1
  7720. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7721. Drop
  7722. pGlobal3 2407802
  7723. GetImmediate2 4113
  7724. StaticGet2 241
  7725. push_1
  7726. CallNative "GET_ENTITY_COORDS" 2 3
  7727. push_0
  7728. Push 40000
  7729. pGlobal3 2407802
  7730. GetImmediate2 4113
  7731. push_0
  7732. push_1
  7733. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7734. Drop
  7735. pGlobal3 2407802
  7736. GetImmediate2 4113
  7737. StaticGet2 241
  7738. push_1
  7739. CallNative "GET_ENTITY_COORDS" 2 3
  7740. push_0
  7741. Push 40000
  7742. pGlobal3 2407802
  7743. GetImmediate2 4113
  7744. push_0
  7745. push_1
  7746. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7747. Drop
  7748. pGlobal3 2407802
  7749. GetImmediate2 4113
  7750. StaticGet2 241
  7751. push_1
  7752. CallNative "GET_ENTITY_COORDS" 2 3
  7753. push_0
  7754. Push 40000
  7755. pGlobal3 2407802
  7756. GetImmediate2 4113
  7757. push_0
  7758. push_1
  7759. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7760. Drop
  7761. pGlobal3 2407802
  7762. GetImmediate2 4113
  7763. StaticGet2 241
  7764. push_1
  7765. CallNative "GET_ENTITY_COORDS" 2 3
  7766. push_0
  7767. Push 40000
  7768. pGlobal3 2407802
  7769. GetImmediate2 4113
  7770. push_0
  7771. push_1
  7772. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7773. Drop
  7774. pGlobal3 2407802
  7775. GetImmediate2 4113
  7776. StaticGet2 241
  7777. push_1
  7778. CallNative "GET_ENTITY_COORDS" 2 3
  7779. push_0
  7780. Push 40000
  7781. pGlobal3 2407802
  7782. GetImmediate2 4113
  7783. push_0
  7784. push_1
  7785. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7786. Drop
  7787. pGlobal3 2407802
  7788. GetImmediate2 4113
  7789. StaticGet2 241
  7790. push_1
  7791. CallNative "GET_ENTITY_COORDS" 2 3
  7792. push_0
  7793. Push 40000
  7794. pGlobal3 2407802
  7795. GetImmediate2 4113
  7796. push_0
  7797. push_1
  7798. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7799. Drop
  7800. pGlobal3 2407802
  7801. GetImmediate2 4113
  7802. StaticGet2 241
  7803. push_1
  7804. CallNative "GET_ENTITY_COORDS" 2 3
  7805. push_0
  7806. Push 40000
  7807. pGlobal3 2407802
  7808. GetImmediate2 4113
  7809. push_0
  7810. push_1
  7811. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7812. Drop
  7813. pGlobal3 2407802
  7814. GetImmediate2 4113
  7815. StaticGet2 241
  7816. push_1
  7817. CallNative "GET_ENTITY_COORDS" 2 3
  7818. push_0
  7819. Push 40000
  7820. pGlobal3 2407802
  7821. GetImmediate2 4113
  7822. push_0
  7823. push_1
  7824. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7825. Drop
  7826. pGlobal3 2407802
  7827. GetImmediate2 4113
  7828. StaticGet2 241
  7829. push_1
  7830. CallNative "GET_ENTITY_COORDS" 2 3
  7831. push_0
  7832. Push 40000
  7833. pGlobal3 2407802
  7834. GetImmediate2 4113
  7835. push_0
  7836. push_1
  7837. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7838. Drop
  7839. pGlobal3 2407802
  7840. GetImmediate2 4113
  7841. StaticGet2 241
  7842. push_1
  7843. CallNative "GET_ENTITY_COORDS" 2 3
  7844. push_0
  7845. Push 40000
  7846. pGlobal3 2407802
  7847. GetImmediate2 4113
  7848. push_0
  7849. push_1
  7850. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7851. Drop
  7852. pGlobal3 2407802
  7853. GetImmediate2 4113
  7854. StaticGet2 241
  7855. push_1
  7856. CallNative "GET_ENTITY_COORDS" 2 3
  7857. push_0
  7858. Push 40000
  7859. pGlobal3 2407802
  7860. GetImmediate2 4113
  7861. push_0
  7862. push_1
  7863. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7864. Drop
  7865. pGlobal3 2407802
  7866. GetImmediate2 4113
  7867. StaticGet2 241
  7868. push_1
  7869. CallNative "GET_ENTITY_COORDS" 2 3
  7870. push_0
  7871. Push 40000
  7872. pGlobal3 2407802
  7873. GetImmediate2 4113
  7874. push_0
  7875. push_1
  7876. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7877. Drop
  7878. pGlobal3 2407802
  7879. GetImmediate2 4113
  7880. StaticGet2 241
  7881. push_1
  7882. CallNative "GET_ENTITY_COORDS" 2 3
  7883. push_0
  7884. Push 40000
  7885. pGlobal3 2407802
  7886. GetImmediate2 4113
  7887. push_0
  7888. push_1
  7889. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7890. Drop
  7891. pGlobal3 2407802
  7892. GetImmediate2 4113
  7893. StaticGet2 241
  7894. push_1
  7895. CallNative "GET_ENTITY_COORDS" 2 3
  7896. push_0
  7897. Push 40000
  7898. pGlobal3 2407802
  7899. GetImmediate2 4113
  7900. push_0
  7901. push_1
  7902. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7903. Drop
  7904. pGlobal3 2407802
  7905. GetImmediate2 4113
  7906. StaticGet2 241
  7907. push_1
  7908. CallNative "GET_ENTITY_COORDS" 2 3
  7909. push_0
  7910. Push 40000
  7911. pGlobal3 2407802
  7912. GetImmediate2 4113
  7913. push_0
  7914. push_1
  7915. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7916. Drop
  7917. pGlobal3 2407802
  7918. GetImmediate2 4113
  7919. StaticGet2 241
  7920. push_1
  7921. CallNative "GET_ENTITY_COORDS" 2 3
  7922. push_0
  7923. Push 40000
  7924. pGlobal3 2407802
  7925. GetImmediate2 4113
  7926. push_0
  7927. push_1
  7928. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7929. Drop
  7930. pGlobal3 2407802
  7931. GetImmediate2 4113
  7932. StaticGet2 241
  7933. push_1
  7934. CallNative "GET_ENTITY_COORDS" 2 3
  7935. push_0
  7936. Push 40000
  7937. pGlobal3 2407802
  7938. GetImmediate2 4113
  7939. push_0
  7940. push_1
  7941. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7942. Drop
  7943. pGlobal3 2407802
  7944. GetImmediate2 4113
  7945. StaticGet2 241
  7946. push_1
  7947. CallNative "GET_ENTITY_COORDS" 2 3
  7948. push_0
  7949. Push 40000
  7950. pGlobal3 2407802
  7951. GetImmediate2 4113
  7952. push_0
  7953. push_1
  7954. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7955. Drop
  7956. pGlobal3 2407802
  7957. GetImmediate2 4113
  7958. StaticGet2 241
  7959. push_1
  7960. CallNative "GET_ENTITY_COORDS" 2 3
  7961. push_0
  7962. Push 40000
  7963. pGlobal3 2407802
  7964. GetImmediate2 4113
  7965. push_0
  7966. push_1
  7967. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7968. Drop
  7969. pGlobal3 2407802
  7970. GetImmediate2 4113
  7971. StaticGet2 241
  7972. push_1
  7973. CallNative "GET_ENTITY_COORDS" 2 3
  7974. push_0
  7975. Push 40000
  7976. pGlobal3 2407802
  7977. GetImmediate2 4113
  7978. push_0
  7979. push_1
  7980. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7981. Drop
  7982. pGlobal3 2407802
  7983. GetImmediate2 4113
  7984. StaticGet2 241
  7985. push_1
  7986. CallNative "GET_ENTITY_COORDS" 2 3
  7987. push_0
  7988. Push 40000
  7989. pGlobal3 2407802
  7990. GetImmediate2 4113
  7991. push_0
  7992. push_1
  7993. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  7994. Drop
  7995. pGlobal3 2407802
  7996. GetImmediate2 4113
  7997. StaticGet2 241
  7998. push_1
  7999. CallNative "GET_ENTITY_COORDS" 2 3
  8000. push_0
  8001. Push 40000
  8002. pGlobal3 2407802
  8003. GetImmediate2 4113
  8004. push_0
  8005. push_1
  8006. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  8007. Drop
  8008. pGlobal3 2407802
  8009. GetImmediate2 4113
  8010. StaticGet2 241
  8011. push_1
  8012. CallNative "GET_ENTITY_COORDS" 2 3
  8013. push_0
  8014. Push 40000
  8015. pGlobal3 2407802
  8016. GetImmediate2 4113
  8017. push_0
  8018. push_1
  8019. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  8020. Drop
  8021. pGlobal3 2407802
  8022. GetImmediate2 4113
  8023. StaticGet2 241
  8024. push_1
  8025. CallNative "GET_ENTITY_COORDS" 2 3
  8026. push_0
  8027. Push 40000
  8028. pGlobal3 2407802
  8029. GetImmediate2 4113
  8030. push_0
  8031. push_1
  8032. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  8033. Drop
  8034. pGlobal3 2407802
  8035. GetImmediate2 4113
  8036. StaticGet2 241
  8037. push_1
  8038. CallNative "GET_ENTITY_COORDS" 2 3
  8039. push_0
  8040. Push 40000
  8041. pGlobal3 2407802
  8042. GetImmediate2 4113
  8043. push_0
  8044. push_1
  8045. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  8046. Drop
  8047. pGlobal3 2407802
  8048. GetImmediate2 4113
  8049. StaticGet2 241
  8050. push_1
  8051. CallNative "GET_ENTITY_COORDS" 2 3
  8052. push_0
  8053. Push 40000
  8054. pGlobal3 2407802
  8055. GetImmediate2 4113
  8056. push_0
  8057. push_1
  8058. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  8059. Drop
  8060. pGlobal3 2407802
  8061. GetImmediate2 4113
  8062. StaticGet2 241
  8063. push_1
  8064. CallNative "GET_ENTITY_COORDS" 2 3
  8065. push_0
  8066. Push 40000
  8067. pGlobal3 2407802
  8068. GetImmediate2 4113
  8069. push_0
  8070. push_1
  8071. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  8072. Drop
  8073. pGlobal3 2407802
  8074. GetImmediate2 4113
  8075. StaticGet2 241
  8076. push_1
  8077. CallNative "GET_ENTITY_COORDS" 2 3
  8078. push_0
  8079. Push 40000
  8080. pGlobal3 2407802
  8081. GetImmediate2 4113
  8082. push_0
  8083. push_1
  8084. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  8085. Drop
  8086. pGlobal3 2407802
  8087. GetImmediate2 4113
  8088. StaticGet2 241
  8089. push_1
  8090. CallNative "GET_ENTITY_COORDS" 2 3
  8091. push_0
  8092. Push 40000
  8093. pGlobal3 2407802
  8094. GetImmediate2 4113
  8095. push_0
  8096. push_1
  8097. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  8098. Drop
  8099. pGlobal3 2407802
  8100. GetImmediate2 4113
  8101. StaticGet2 241
  8102. push_1
  8103. CallNative "GET_ENTITY_COORDS" 2 3
  8104. push_0
  8105. Push 40000
  8106. pGlobal3 2407802
  8107. GetImmediate2 4113
  8108. push_0
  8109. push_1
  8110. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  8111. Drop
  8112. Jump @EndNetwork_NiceandNaughty
  8113. :NiceOp4_
  8114. StaticGet1 10
  8115. Push1 22
  8116. CallNative "IS_BIT_SET" 2 1
  8117. JumpFalse @NiceOp4On_
  8118. pStatic1 10
  8119. Push1 22
  8120. CallNative "CLEAR_BIT" 2 0
  8121. Jump @EndNetwork_NiceandNaughty
  8122. :NiceOp4On_
  8123. pStatic1 10
  8124. Push1 22
  8125. CallNative "SET_BIT" 2 0
  8126. Jump @EndNetwork_NiceandNaughty
  8127. :NiceOp5_
  8128. Jump @EndNetwork_NiceandNaughty
  8129. :NiceOp6_
  8130. Jump @EndNetwork_NiceandNaughty
  8131. :NiceOp7_
  8132. Jump @EndNetwork_NiceandNaughty
  8133. :NiceOp8_
  8134. Jump @EndNetwork_NiceandNaughty
  8135. :NiceOp9_
  8136. Jump @EndNetwork_NiceandNaughty
  8137. :NiceOp10_
  8138. Jump @EndNetwork_NiceandNaughty
  8139. :NiceOp11_
  8140. Jump @EndNetwork_NiceandNaughty
  8141. :NiceOp12_
  8142. Jump @EndNetwork_NiceandNaughty
  8143. :NiceOp13_
  8144. Jump @EndNetwork_NiceandNaughty
  8145. :NaughtySubMenu_
  8146. Push 19
  8147. StaticSet1 1
  8148. Call @ChangeSubmenu_
  8149. Jump @EndNetwork_NiceandNaughty
  8150. :EndNetwork_NiceandNaughty
  8151. Return 0 0
  8152. //< Network Naughty Options
  8153. :Network_NaughtyOptions
  8154. Function 0 2 0
  8155. fPush 14
  8156. StaticSet1 3
  8157. Push 18
  8158. StaticSet1 8
  8159. Call @DrawBackground_
  8160. Call @DrawNormalOptionHighlight_
  8161. PushString "--- Naughty Options! ---"
  8162. Call @AddInfoBox_
  8163. StaticGet2 239
  8164. Call @AddTitle_
  8165. fPush_1.0
  8166. PushString "Remove + Disable Weapons"
  8167. Call @AddOption_
  8168. fPush_2.0
  8169. PushString "Clear Player's Tasks"
  8170. Call @AddOption_
  8171. fPush_3.0
  8172. PushString "Delete Vehicle (Loop)"
  8173. Call @AddOption_
  8174. fPush_4.0
  8175. PushString "Multi Explosion"
  8176. Call @AddOption_
  8177. fPush_5.0
  8178. PushString "Empty"
  8179. Call @AddOption_
  8180. fPush_6.0
  8181. PushString "Empty"
  8182. Call @AddOption_
  8183. fPush_7.0
  8184. PushString "Empty"
  8185. Call @AddOption_
  8186. fPush 8
  8187. PushString "Empty"
  8188. Call @AddOption_
  8189. fPush 9
  8190. PushString "Empty"
  8191. Call @AddOption_
  8192. fPush 10
  8193. PushString "Empty"
  8194. Call @AddOption_
  8195. fPush 11
  8196. PushString "Empty"
  8197. Call @AddOption_
  8198. fPush 12
  8199. PushString "Empty"
  8200. Call @AddOption_
  8201. fPush 13
  8202. PushString "Empty"
  8203. Call @AddOption_
  8204. fPush 14
  8205. PushString "Empty"
  8206. Call @AddOption_
  8207. // Option's Functions
  8208. Call @CheckAPressed_
  8209. push_1
  8210. JumpEQ @Network_NaughtyOptionsController
  8211. Jump @EndNetwork_NaughtyOptions
  8212. :Network_NaughtyOptionsController
  8213. PushString "SELECT"
  8214. Call @PlayFrontendSound_
  8215. StaticGet1 2
  8216. FtoI
  8217. Switch [1=@NaughtyOp1_][2=@ClearTasks2_][3=@DeleteVehicleLoop_][4=@MultiExplosion_][5=@NaughtyOp5_][6=@NaughtyOp6_][7=@NaughtyOp7_][8=@NaughtyOp8_][9=@NaughtyOp9_][10=@NaughtyOp10_][11=@NaughtyOp11_][12=@NaughtyOp12_][13=@NaughtyOp13_][14=@NaughtyOp14_]
  8218. :NaughtyOp1_
  8219. StaticGet2 241
  8220. push_1
  8221. CallNative "REMOVE_ALL_PED_WEAPONS" 2 0
  8222. StaticGet2 241
  8223. Push 148160082
  8224. Push 9999
  8225. Push 1
  8226. CallNative "GIVE_DELAYED_WEAPON_TO_PED" 4 0
  8227. Jump @EndNetwork_NaughtyOptions
  8228. :ClearTasks2_
  8229. StaticGet1 10
  8230. Push1 23
  8231. CallNative "IS_BIT_SET" 2 1
  8232. JumpFalse @ClearTasks2On_
  8233. pStatic1 10
  8234. Push1 23
  8235. CallNative "CLEAR_BIT" 2 0
  8236. Jump @EndNetwork_NaughtyOptions
  8237. :ClearTasks2On_
  8238. pStatic1 10
  8239. Push1 23
  8240. CallNative "SET_BIT" 2 0
  8241. Jump @EndNetwork_NaughtyOptions
  8242. :DeleteVehicleLoop_
  8243. StaticGet1 10
  8244. Push1 27
  8245. CallNative "IS_BIT_SET" 2 1
  8246. JumpFalse @DeleteVehicleLoopOn_
  8247. pStatic1 10
  8248. Push1 27
  8249. CallNative "CLEAR_BIT" 2 0
  8250. Jump @EndNetwork_NaughtyOptions
  8251. :DeleteVehicleLoopOn_
  8252. pStatic1 10
  8253. Push1 27
  8254. CallNative "SET_BIT" 2 0
  8255. Jump @EndNetwork_NaughtyOptions
  8256. :MultiExplosion_
  8257. StaticGet2 241
  8258. push_1
  8259. CallNative "GET_ENTITY_COORDS" 2 3
  8260. push_1
  8261. fPush_5.0
  8262. push_1
  8263. push_0
  8264. fPush_0.0
  8265. CallNative "ADD_EXPLOSION" 8 0
  8266. :NaughtyOp1_2
  8267. StaticGet2 241
  8268. push_1
  8269. CallNative "GET_ENTITY_COORDS" 2 3
  8270. push_2
  8271. fPush_5.0
  8272. push_1
  8273. push_0
  8274. fPush_0.0
  8275. CallNative "ADD_EXPLOSION" 8 0
  8276. :NaughtyOp1_3
  8277. StaticGet2 241
  8278. push_1
  8279. CallNative "GET_ENTITY_COORDS" 2 3
  8280. Push1 3
  8281. fPush_3.0
  8282. push_1
  8283. push_0
  8284. fPush_0.0
  8285. CallNative "ADD_EXPLOSION" 8 0
  8286. :NaughtyOp1_4
  8287. StaticGet2 241
  8288. push_1
  8289. CallNative "GET_ENTITY_COORDS" 2 3
  8290. push_4
  8291. fPush_5.0
  8292. push_1
  8293. push_0
  8294. fPush_0.0
  8295. CallNative "ADD_EXPLOSION" 8 0
  8296. :NaughtyOp1_5
  8297. StaticGet2 241
  8298. push_1
  8299. CallNative "GET_ENTITY_COORDS" 2 3
  8300. push_5
  8301. fPush_5.0
  8302. push_1
  8303. push_0
  8304. fPush_0.0
  8305. CallNative "ADD_EXPLOSION" 8 0
  8306. :NaughtyOp1_6
  8307. StaticGet2 241
  8308. push_1
  8309. CallNative "GET_ENTITY_COORDS" 2 3
  8310. push_6
  8311. fPush_5.0
  8312. push_1
  8313. push_0
  8314. fPush_0.0
  8315. CallNative "ADD_EXPLOSION" 8 0
  8316. :NaughtyOp1_7
  8317. StaticGet2 241
  8318. push_1
  8319. CallNative "GET_ENTITY_COORDS" 2 3
  8320. Push1 7
  8321. fPush_5.0
  8322. push_1
  8323. push_0
  8324. fPush_0.0
  8325. CallNative "ADD_EXPLOSION" 8 0
  8326. :NaughtyOp1_8
  8327. StaticGet2 241
  8328. push_1
  8329. CallNative "GET_ENTITY_COORDS" 2 3
  8330. Push1 8
  8331. fPush_5.0
  8332. push_1
  8333. push_0
  8334. fPush_0.0
  8335. CallNative "ADD_EXPLOSION" 8 0
  8336. :NaughtyOp1_9
  8337. StaticGet2 241
  8338. push_1
  8339. CallNative "GET_ENTITY_COORDS" 2 3
  8340. Push1 9
  8341. fPush_5.0
  8342. push_1
  8343. push_0
  8344. fPush_0.0
  8345. CallNative "ADD_EXPLOSION" 8 0
  8346. :NaughtyOp1_10
  8347. StaticGet2 241
  8348. push_1
  8349. CallNative "GET_ENTITY_COORDS" 2 3
  8350. Push1 10
  8351. fPush_5.0
  8352. push_1
  8353. push_0
  8354. fPush_0.0
  8355. CallNative "ADD_EXPLOSION" 8 0
  8356. :NaughtyOp1_11
  8357. StaticGet2 241
  8358. push_1
  8359. CallNative "GET_ENTITY_COORDS" 2 3
  8360. Push1 11
  8361. fPush_5.0
  8362. push_1
  8363. push_0
  8364. fPush_0.0
  8365. CallNative "ADD_EXPLOSION" 8 0
  8366. :NaughtyOp1_12
  8367. StaticGet2 241
  8368. push_1
  8369. CallNative "GET_ENTITY_COORDS" 2 3
  8370. Push1 12
  8371. fPush_5.0
  8372. push_1
  8373. push_0
  8374. fPush_0.0
  8375. CallNative "ADD_EXPLOSION" 8 0
  8376. :NaughtyOp1_13
  8377. StaticGet2 241
  8378. push_1
  8379. CallNative "GET_ENTITY_COORDS" 2 3
  8380. Push1 13
  8381. fPush_5.0
  8382. push_1
  8383. push_0
  8384. fPush_0.0
  8385. CallNative "ADD_EXPLOSION" 8 0
  8386. :NaughtyOp1_14
  8387. StaticGet2 241
  8388. push_1
  8389. CallNative "GET_ENTITY_COORDS" 2 3
  8390. Push1 14
  8391. fPush_5.0
  8392. push_1
  8393. push_0
  8394. fPush_0.0
  8395. CallNative "ADD_EXPLOSION" 8 0
  8396. :NaughtyOp1_15
  8397. StaticGet2 241
  8398. push_1
  8399. CallNative "GET_ENTITY_COORDS" 2 3
  8400. Push1 15
  8401. fPush_5.0
  8402. push_1
  8403. push_0
  8404. fPush_0.0
  8405. CallNative "ADD_EXPLOSION" 8 0
  8406. :NaughtyOp1_16
  8407. StaticGet2 241
  8408. push_1
  8409. CallNative "GET_ENTITY_COORDS" 2 3
  8410. Push1 16
  8411. fPush_5.0
  8412. push_1
  8413. push_0
  8414. fPush_0.0
  8415. CallNative "ADD_EXPLOSION" 8 0
  8416. :NaughtyOp1_17
  8417. StaticGet2 241
  8418. push_1
  8419. CallNative "GET_ENTITY_COORDS" 2 3
  8420. Push1 17
  8421. fPush_5.0
  8422. push_1
  8423. push_0
  8424. fPush_0.0
  8425. CallNative "ADD_EXPLOSION" 8 0
  8426. :NaughtyOp1_18
  8427. StaticGet2 241
  8428. push_1
  8429. CallNative "GET_ENTITY_COORDS" 2 3
  8430. Push1 18
  8431. fPush_5.0
  8432. push_1
  8433. push_0
  8434. fPush_0.0
  8435. CallNative "ADD_EXPLOSION" 8 0
  8436. :NaughtyOp1_19
  8437. StaticGet2 241
  8438. push_1
  8439. CallNative "GET_ENTITY_COORDS" 2 3
  8440. Push1 19
  8441. fPush_5.0
  8442. push_1
  8443. push_0
  8444. fPush_0.0
  8445. CallNative "ADD_EXPLOSION" 8 0
  8446. :NaughtyOp1_20
  8447. StaticGet2 241
  8448. push_1
  8449. CallNative "GET_ENTITY_COORDS" 2 3
  8450. Push1 20
  8451. fPush_5.0
  8452. push_1
  8453. push_0
  8454. fPush_0.0
  8455. CallNative "ADD_EXPLOSION" 8 0
  8456. :NaughtyOp1_21
  8457. StaticGet2 241
  8458. push_1
  8459. CallNative "GET_ENTITY_COORDS" 2 3
  8460. Push1 21
  8461. fPush_5.0
  8462. push_1
  8463. push_0
  8464. fPush_0.0
  8465. CallNative "ADD_EXPLOSION" 8 0
  8466. :NaughtyOp1_22
  8467. StaticGet2 241
  8468. push_1
  8469. CallNative "GET_ENTITY_COORDS" 2 3
  8470. Push1 22
  8471. fPush_5.0
  8472. push_1
  8473. push_0
  8474. fPush_0.0
  8475. CallNative "ADD_EXPLOSION" 8 0
  8476. :NaughtyOp1_23
  8477. StaticGet2 241
  8478. push_1
  8479. CallNative "GET_ENTITY_COORDS" 2 3
  8480. Push1 23
  8481. fPush_5.0
  8482. push_1
  8483. push_0
  8484. fPush_0.0
  8485. CallNative "ADD_EXPLOSION" 8 0
  8486. :NaughtyOp1_24
  8487. StaticGet2 241
  8488. push_1
  8489. CallNative "GET_ENTITY_COORDS" 2 3
  8490. Push1 24
  8491. fPush_5.0
  8492. push_1
  8493. push_0
  8494. fPush_0.0
  8495. CallNative "ADD_EXPLOSION" 8 0
  8496. :NaughtyOp1_25
  8497. StaticGet2 241
  8498. push_1
  8499. CallNative "GET_ENTITY_COORDS" 2 3
  8500. Push1 25
  8501. fPush_5.0
  8502. push_1
  8503. push_0
  8504. fPush_0.0
  8505. CallNative "ADD_EXPLOSION" 8 0
  8506. :NaughtyOp1_26
  8507. StaticGet2 241
  8508. push_1
  8509. CallNative "GET_ENTITY_COORDS" 2 3
  8510. Push1 26
  8511. fPush_5.0
  8512. push_1
  8513. push_0
  8514. fPush_0.0
  8515. CallNative "ADD_EXPLOSION" 8 0
  8516. :NaughtyOp1_27
  8517. StaticGet2 241
  8518. push_1
  8519. CallNative "GET_ENTITY_COORDS" 2 3
  8520. Push1 27
  8521. fPush_5.0
  8522. push_1
  8523. push_0
  8524. fPush_0.0
  8525. CallNative "ADD_EXPLOSION" 8 0
  8526. :NaughtyOp1_28
  8527. StaticGet2 241
  8528. push_1
  8529. CallNative "GET_ENTITY_COORDS" 2 3
  8530. Push1 28
  8531. fPush_5.0
  8532. push_1
  8533. push_0
  8534. fPush_0.0
  8535. CallNative "ADD_EXPLOSION" 8 0
  8536. :NaughtyOp1_29
  8537. StaticGet2 241
  8538. push_1
  8539. CallNative "GET_ENTITY_COORDS" 2 3
  8540. Push1 29
  8541. fPush_5.0
  8542. push_1
  8543. push_0
  8544. fPush_0.0
  8545. CallNative "ADD_EXPLOSION" 8 0
  8546. :NaughtyOp1_30
  8547. StaticGet2 241
  8548. push_1
  8549. CallNative "GET_ENTITY_COORDS" 2 3
  8550. Push1 30
  8551. fPush_5.0
  8552. push_1
  8553. push_0
  8554. fPush_0.0
  8555. CallNative "ADD_EXPLOSION" 8 0
  8556. :NaughtyOp1_31
  8557. StaticGet2 241
  8558. push_1
  8559. CallNative "GET_ENTITY_COORDS" 2 3
  8560. Push1 31
  8561. fPush_5.0
  8562. push_1
  8563. push_0
  8564. fPush_0.0
  8565. CallNative "ADD_EXPLOSION" 8 0
  8566. :NaughtyOp1_32
  8567. StaticGet2 241
  8568. push_1
  8569. CallNative "GET_ENTITY_COORDS" 2 3
  8570. Push1 32
  8571. fPush_5.0
  8572. push_1
  8573. push_0
  8574. fPush_0.0
  8575. CallNative "ADD_EXPLOSION" 8 0
  8576. :NaughtyOp1_33
  8577. StaticGet2 241
  8578. push_1
  8579. CallNative "GET_ENTITY_COORDS" 2 3
  8580. Push1 33
  8581. fPush_5.0
  8582. push_1
  8583. push_0
  8584. fPush_0.0
  8585. CallNative "ADD_EXPLOSION" 8 0
  8586. :NaughtyOp1_34
  8587. StaticGet2 241
  8588. push_1
  8589. CallNative "GET_ENTITY_COORDS" 2 3
  8590. Push1 34
  8591. fPush_5.0
  8592. push_1
  8593. push_0
  8594. fPush_0.0
  8595. CallNative "ADD_EXPLOSION" 8 0
  8596. :NaughtyOp1_35
  8597. StaticGet2 241
  8598. push_1
  8599. CallNative "GET_ENTITY_COORDS" 2 3
  8600. Push1 35
  8601. fPush_5.0
  8602. push_1
  8603. push_0
  8604. fPush_0.0
  8605. CallNative "ADD_EXPLOSION" 8 0
  8606. :NaughtyOp1_36
  8607. StaticGet2 241
  8608. push_1
  8609. CallNative "GET_ENTITY_COORDS" 2 3
  8610. Push1 36
  8611. fPush_5.0
  8612. push_1
  8613. push_0
  8614. fPush_0.0
  8615. CallNative "ADD_EXPLOSION" 8 0
  8616. Jump @EndNetwork_NaughtyOptions
  8617. :NaughtyOp5_
  8618. Jump @EndNetwork_NaughtyOptions
  8619. :NaughtyOp6_
  8620. Jump @EndNetwork_NaughtyOptions
  8621. :NaughtyOp7_
  8622. Jump @EndNetwork_NaughtyOptions
  8623. :NaughtyOp8_
  8624. Jump @EndNetwork_NaughtyOptions
  8625. :NaughtyOp9_
  8626. Jump @EndNetwork_NaughtyOptions
  8627. :NaughtyOp10_
  8628. Jump @EndNetwork_NaughtyOptions
  8629. :NaughtyOp11_
  8630. Jump @EndNetwork_NaughtyOptions
  8631. :NaughtyOp12_
  8632. Jump @EndNetwork_NaughtyOptions
  8633. :NaughtyOp13_
  8634. Jump @EndNetwork_NaughtyOptions
  8635. :NaughtyOp14_
  8636. Jump @EndNetwork_NaughtyOptions
  8637. :EndNetwork_NaughtyOptions
  8638. Return 0 0
  8639. //< Network Object Options
  8640. :Network_ObjectsAndAttachments
  8641. Function 0 2 0
  8642. fPush 14
  8643. StaticSet1 3
  8644. Push 8
  8645. StaticSet1 8
  8646. Call @DrawBackground_
  8647. Call @DrawNormalOptionHighlight_
  8648. PushString "Objects!"
  8649. Call @AddInfoBox_
  8650. StaticGet2 239
  8651. Call @AddTitle_
  8652. fPush_1.0
  8653. PushString "Boulder"
  8654. Call @AddOption_
  8655. fPush_2.0
  8656. PushString "Trap In Cage"
  8657. Call @AddOption_
  8658. fPush_3.0
  8659. PushString "Giant Sculpture"
  8660. Call @AddOption_
  8661. fPush_4.0
  8662. PushString "Tv Static"
  8663. Call @AddOption_
  8664. fPush_5.0
  8665. PushString "UFO"
  8666. Call @AddOption_
  8667. fPush_6.0
  8668. PushString "Ferris Wheel"
  8669. Call @AddOption_
  8670. fPush_7.0
  8671. PushString "Tutorial Jet"
  8672. Call @AddOption_
  8673. fPush 8
  8674. PushString "Train Crash"
  8675. Call @AddOption_
  8676. fPush 9
  8677. PushString "Dead Corpse"
  8678. Call @AddOption_
  8679. fPush 10
  8680. PushString "Dog-Crap"
  8681. Call @AddOption_
  8682. fPush 11
  8683. PushString "Fake Cash"
  8684. Call @AddOption_
  8685. fPush 12
  8686. PushString "Ramp"
  8687. Call @AddOption_
  8688. fPush 13
  8689. PushString "Input Object Model"
  8690. Call @AddOption_
  8691. fPush 14
  8692. PushString "Object-Attachments (Page 2)"
  8693. Call @AddOption_
  8694. // Option's Functions
  8695. Call @CheckAPressed_
  8696. push_1
  8697. JumpEQ @Network_ObjectsAndAttachmentsController
  8698. Jump @EndNetwork_ObjectsAndAttachments
  8699. :Network_ObjectsAndAttachmentsController
  8700. PushString "SELECT"
  8701. Call @PlayFrontendSound_
  8702. StaticGet1 2
  8703. FtoI
  8704. Switch [1=@ObjectOp1_][2=@ObjectOp2_][3=@ObjectOp3_][4=@ObjectOp4_][5=@ObjectOp5_][6=@ObjectOp6_][7=@ObjectOp7_][8=@ObjectOp8_][9=@ObjectOp9_][10=@ObjectOp10_][11=@ObjectOp11_][12=@ObjectOp12_][13=@ObjectOp13_][14=@AttachmentsSubMenu_]
  8705. :ObjectOp1_
  8706. PushString "prop_test_boulder_03"
  8707. GetHash
  8708. StaticGet2 241
  8709. push_1
  8710. CallNative "GET_ENTITY_COORDS" 2 3
  8711. push_1
  8712. push_0
  8713. push_0
  8714. CallNative "CREATE_OBJECT" 7 1
  8715. CallNative "OBJ_TO_NET" 1 1
  8716. Drop
  8717. Jump @EndNetwork_ObjectsAndAttachments
  8718. :ObjectOp2_
  8719. PushString "prop_gold_cont_01"
  8720. GetHash
  8721. StaticGet2 241
  8722. push_1
  8723. CallNative "GET_ENTITY_COORDS" 2 3
  8724. push_1
  8725. push_0
  8726. push_0
  8727. CallNative "CREATE_OBJECT" 7 1
  8728. CallNative "OBJ_TO_NET" 1 1
  8729. Drop
  8730. Jump @EndNetwork_ObjectsAndAttachments
  8731. :ObjectOp3_
  8732. PushString "prop_sculpt_fix"
  8733. GetHash
  8734. StaticGet2 241
  8735. push_1
  8736. CallNative "GET_ENTITY_COORDS" 2 3
  8737. push_1
  8738. push_0
  8739. push_0
  8740. CallNative "CREATE_OBJECT" 7 1
  8741. CallNative "OBJ_TO_NET" 1 1
  8742. Drop
  8743. Jump @EndNetwork_ObjectsAndAttachments
  8744. :ObjectOp4_
  8745. PushString "prop_tt_screenstatic"
  8746. GetHash
  8747. StaticGet2 241
  8748. push_1
  8749. CallNative "GET_ENTITY_COORDS" 2 3
  8750. push_1
  8751. push_0
  8752. push_0
  8753. CallNative "CREATE_OBJECT" 7 1
  8754. CallNative "OBJ_TO_NET" 1 1
  8755. Drop
  8756. Jump @EndNetwork_ObjectsAndAttachments
  8757. :ObjectOp5_
  8758. PushString "p_spinning_anus_s"
  8759. GetHash
  8760. StaticGet2 241
  8761. push_1
  8762. CallNative "GET_ENTITY_COORDS" 2 3
  8763. push_1
  8764. push_0
  8765. push_0
  8766. CallNative "CREATE_OBJECT" 7 1
  8767. CallNative "OBJ_TO_NET" 1 1
  8768. Drop
  8769. Jump @EndNetwork_ObjectsAndAttachments
  8770. :ObjectOp6_
  8771. PushString "prop_ld_ferris_wheel"
  8772. GetHash
  8773. StaticGet2 241
  8774. push_1
  8775. CallNative "GET_ENTITY_COORDS" 2 3
  8776. push_1
  8777. push_0
  8778. push_0
  8779. CallNative "CREATE_OBJECT" 7 1
  8780. CallNative "OBJ_TO_NET" 1 1
  8781. Drop
  8782. Jump @EndNetwork_ObjectsAndAttachments
  8783. :ObjectOp7_
  8784. PushString "p_cs_mp_jet_01_s"
  8785. GetHash
  8786. StaticGet2 241
  8787. push_1
  8788. CallNative "GET_ENTITY_COORDS" 2 3
  8789. push_1
  8790. push_0
  8791. push_0
  8792. CallNative "CREATE_OBJECT" 7 1
  8793. CallNative "OBJ_TO_NET" 1 1
  8794. Drop
  8795. Jump @EndNetwork_ObjectsAndAttachments
  8796. :ObjectOp8_
  8797. PushString "p_tram_crash_s"
  8798. GetHash
  8799. StaticGet2 241
  8800. push_1
  8801. CallNative "GET_ENTITY_COORDS" 2 3
  8802. push_1
  8803. push_0
  8804. push_0
  8805. CallNative "CREATE_OBJECT" 7 1
  8806. CallNative "OBJ_TO_NET" 1 1
  8807. Drop
  8808. Jump @EndNetwork_ObjectsAndAttachments
  8809. :ObjectOp9_
  8810. PushString "prop_water_corpse_01"
  8811. GetHash
  8812. StaticGet2 241
  8813. push_1
  8814. CallNative "GET_ENTITY_COORDS" 2 3
  8815. push_1
  8816. push_0
  8817. push_0
  8818. CallNative "CREATE_OBJECT" 7 1
  8819. CallNative "OBJ_TO_NET" 1 1
  8820. Drop
  8821. Jump @EndNetwork_ObjectsAndAttachments
  8822. :ObjectOp10_
  8823. PushString "prop_big_shit_02"
  8824. GetHash
  8825. StaticGet2 241
  8826. push_1
  8827. CallNative "GET_ENTITY_COORDS" 2 3
  8828. push_1
  8829. push_0
  8830. push_0
  8831. CallNative "CREATE_OBJECT" 7 1
  8832. CallNative "OBJ_TO_NET" 1 1
  8833. Drop
  8834. Jump @EndNetwork_ObjectsAndAttachments
  8835. :ObjectOp11_
  8836. PushString "prop_cash_pile_01"
  8837. GetHash
  8838. StaticGet2 241
  8839. push_1
  8840. CallNative "GET_ENTITY_COORDS" 2 3
  8841. push_1
  8842. push_0
  8843. push_0
  8844. CallNative "CREATE_OBJECT" 7 1
  8845. CallNative "OBJ_TO_NET" 1 1
  8846. Drop
  8847. Jump @EndNetwork_ObjectsAndAttachments
  8848. :ObjectOp12_
  8849. PushString "prop_mp_ramp_02"
  8850. GetHash
  8851. CallNative "PLAYER_PED_ID" 0 1
  8852. push_1
  8853. CallNative "GET_ENTITY_COORDS" 2 3
  8854. push_1
  8855. push_0
  8856. push_0
  8857. CallNative "CREATE_OBJECT" 7 1
  8858. CallNative "OBJ_TO_NET" 1 1
  8859. Drop
  8860. Jump @EndNetwork_ObjectsAndAttachments
  8861. :ObjectOp13_
  8862. StaticGet2 241
  8863. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  8864. JumpFalse @Network_ObjectSub_Custom_OnFoot
  8865. StaticGet2 241
  8866. push_0
  8867. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  8868. StaticSet2 481
  8869. Jump @Network_ObjectSub_Custom_Input
  8870. :Network_ObjectSub_Custom_OnFoot
  8871. StaticGet2 241
  8872. StaticSet2 481
  8873. :Network_ObjectSub_Custom_Input
  8874. Push 255
  8875. Call @PromptUser_
  8876. CallNative "GET_HASH_KEY" 1 1
  8877. StaticSet1 12
  8878. :Network_ObjectSub_Custom_DoIt
  8879. StaticGet1 12
  8880. CallNative "REQUEST_MODEL" 1 0
  8881. StaticGet1 12
  8882. CallNative "IS_MODEL_VALID" 1 1
  8883. JumpFalse @Network_ObjectSub_ModelNotValid
  8884. StaticGet1 12
  8885. CallNative "REQUEST_MODEL" 1 0
  8886. StaticGet1 12
  8887. StaticGet2 481
  8888. push_1
  8889. CallNative "GET_ENTITY_COORDS" 2 3
  8890. push_1
  8891. push_1
  8892. push_0
  8893. CallNative "CREATE_OBJECT" 7 1
  8894. StaticSet1 12
  8895. StaticGet1 12
  8896. CallNative "OBJ_TO_NET" 1 1
  8897. Drop
  8898. StaticGet1 12
  8899. StaticGet2 481
  8900. Jump @EndNetwork_ObjectsAndAttachments
  8901. :Network_ObjectSub_ModelNotValid
  8902. PushString "~r~Error:~s~ Incorrect Model."
  8903. PushS 2000
  8904. Call @PrintStringBottomCentre_
  8905. Jump @EndNetwork_ObjectsAndAttachments
  8906. :AttachmentsSubMenu_
  8907. Push 21
  8908. StaticSet1 1
  8909. Call @ChangeSubmenu_
  8910. Jump @EndNetwork_ObjectsAndAttachments
  8911. :EndNetwork_ObjectsAndAttachments
  8912. Return 0 0
  8913. //< Network Attachments Options
  8914. :Network_Attachments
  8915. Function 0 2 0
  8916. fPush 14
  8917. StaticSet1 3
  8918. Push 20
  8919. StaticSet1 8
  8920. Call @DrawBackground_
  8921. Call @DrawNormalOptionHighlight_
  8922. PushString "Object-Attachments!"
  8923. Call @AddInfoBox_
  8924. StaticGet2 239
  8925. Call @AddTitle_
  8926. fPush_1.0
  8927. PushString "Cover In Dog-Crap"
  8928. Call @AddOption_
  8929. fPush_2.0
  8930. PushString "Cover In Fire"
  8931. Call @AddOption_
  8932. fPush_3.0
  8933. PushString "Attach Boulder"
  8934. Call @AddOption_
  8935. fPush_4.0
  8936. PushString "Katana"
  8937. Call @AddOption_
  8938. fPush_5.0
  8939. PushString "Boxing Glove"
  8940. Call @AddOption_
  8941. fPush_6.0
  8942. PushString "Headset"
  8943. Call @AddOption_
  8944. fPush_7.0
  8945. PushString "Corpse"
  8946. Call @AddOption_
  8947. fPush 8
  8948. PushString "Cowboy Hat"
  8949. Call @AddOption_
  8950. fPush 9
  8951. PushString "Clock"
  8952. Call @AddOption_
  8953. fPush 10
  8954. PushString "Road Cone"
  8955. Call @AddOption_
  8956. fPush 11
  8957. PushString "Snowman"
  8958. Call @AddOption_
  8959. fPush 12
  8960. PushString "Screen Static"
  8961. Call @AddOption_
  8962. fPush 13
  8963. PushString "Input Object Model"
  8964. Call @AddOption_
  8965. fPush 14
  8966. PushString "Empty"
  8967. Call @AddOption_
  8968. // Option's Functions
  8969. Call @CheckAPressed_
  8970. push_1
  8971. JumpEQ @Network_AttachmentsController
  8972. Jump @EndNetwork_Attachments
  8973. :Network_AttachmentsController
  8974. PushString "SELECT"
  8975. Call @PlayFrontendSound_
  8976. StaticGet1 2
  8977. FtoI
  8978. Switch [1=@AttachmentsOp1_][2=@AttachmentsOp2_][3=@AttachmentsOp3_][4=@AttachmentsOp4_][5=@AttachmentsOp5_][6=@AttachmentsOp6_][7=@AttachmentsOp7_][8=@AttachmentsOp8_][9=@AttachmentsOp9_][10=@AttachmentsOp10_][11=@AttachmentsOp11_][12=@AttachmentsOp12_][13=@AttachmentsOp13_][14=@AttachmentsOp14_]
  8979. :AttachmentsOp1_
  8980. push_0
  8981. CallNative "WAIT" 1 0
  8982. StaticGet1 23
  8983. Add1 1
  8984. StaticSet1 23
  8985. StaticGet2 241
  8986. PushS 31086
  8987. CallNative "GET_PED_BONE_INDEX" 2 1
  8988. StaticSet1 12
  8989. PushString "prop_big_shit_02"
  8990. GetHash
  8991. StaticGet2 241
  8992. push_1
  8993. CallNative "GET_ENTITY_COORDS" 2 3
  8994. push_1
  8995. push_1
  8996. push_0
  8997. CallNative "CREATE_OBJECT" 7 1
  8998. StaticGet2 241
  8999. StaticGet1 12
  9000. fPush 0.1
  9001. fPush 0.02
  9002. fPush_0.0
  9003. fPush_0.0
  9004. fPush 90.0
  9005. fPush_0.0
  9006. push_1
  9007. push_1
  9008. push_0
  9009. push_0
  9010. push_2
  9011. push_1
  9012. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9013. Jumpfalse @Crap2_
  9014. :Crap2_
  9015. push_0
  9016. CallNative "WAIT" 1 0
  9017. StaticGet1 23
  9018. Add1 1
  9019. StaticSet1 23
  9020. StaticGet2 241
  9021. PushS 28422
  9022. CallNative "GET_PED_BONE_INDEX" 2 1
  9023. StaticSet1 12
  9024. PushString "prop_big_shit_02"
  9025. GetHash
  9026. StaticGet2 241
  9027. push_1
  9028. CallNative "GET_ENTITY_COORDS" 2 3
  9029. push_1
  9030. push_1
  9031. push_0
  9032. CallNative "CREATE_OBJECT" 7 1
  9033. StaticGet2 241
  9034. StaticGet1 12
  9035. fPush 0.056
  9036. fPush 0.05
  9037. fPush -0.01
  9038. fPush -77.0
  9039. fPush 10.6
  9040. fPush 0
  9041. push_1
  9042. push_1
  9043. push_0
  9044. push_0
  9045. push_2
  9046. push_1
  9047. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9048. StaticGet1 23
  9049. Push1 10
  9050. JumpFalse @Crap3_
  9051. :Crap3_
  9052. push_0
  9053. CallNative "WAIT" 1 0
  9054. StaticGet1 23
  9055. Add1 1
  9056. StaticSet1 23
  9057. PushString "prop_big_shit_02"
  9058. GetHash
  9059. StaticGet2 241
  9060. push_1
  9061. CallNative "GET_ENTITY_COORDS" 2 3
  9062. push_1
  9063. push_1
  9064. push_0
  9065. CallNative "CREATE_OBJECT" 7 1
  9066. StaticGet2 241
  9067. push_0
  9068. push_0
  9069. push_0
  9070. push_0
  9071. push_0
  9072. push_0
  9073. push_0
  9074. push_1
  9075. push_1
  9076. push_0
  9077. push_0
  9078. push_2
  9079. push_1
  9080. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9081. StaticGet1 23
  9082. Push 10
  9083. Jump @EndNetwork_Attachments
  9084. :AttachmentsOp2_
  9085. push_0
  9086. CallNative "WAIT" 1 0
  9087. StaticGet1 23
  9088. Add1 1
  9089. StaticSet1 23
  9090. StaticGet2 241
  9091. PushS 31086
  9092. CallNative "GET_PED_BONE_INDEX" 2 1
  9093. StaticSet1 12
  9094. PushString "prop_beach_fire"
  9095. GetHash
  9096. StaticGet2 241
  9097. push_1
  9098. CallNative "GET_ENTITY_COORDS" 2 3
  9099. push_1
  9100. push_1
  9101. push_0
  9102. CallNative "CREATE_OBJECT" 7 1
  9103. StaticGet2 241
  9104. StaticGet1 12
  9105. fPush 0.1
  9106. fPush 0.02
  9107. fPush_0.0
  9108. fPush_0.0
  9109. fPush 90.0
  9110. fPush_0.0
  9111. push_1
  9112. push_1
  9113. push_0
  9114. push_0
  9115. push_2
  9116. push_1
  9117. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9118. Jumpfalse @Fire2_
  9119. :Fire2_
  9120. push_0
  9121. CallNative "WAIT" 1 0
  9122. StaticGet1 23
  9123. Add1 1
  9124. StaticSet1 23
  9125. StaticGet2 241
  9126. PushS 28422
  9127. CallNative "GET_PED_BONE_INDEX" 2 1
  9128. StaticSet1 12
  9129. PushString "prop_beach_fire"
  9130. GetHash
  9131. StaticGet2 241
  9132. push_1
  9133. CallNative "GET_ENTITY_COORDS" 2 3
  9134. push_1
  9135. push_1
  9136. push_0
  9137. CallNative "CREATE_OBJECT" 7 1
  9138. StaticGet2 241
  9139. StaticGet1 12
  9140. fPush 0.056
  9141. fPush 0.05
  9142. fPush -0.01
  9143. fPush -77.0
  9144. fPush 10.6
  9145. fPush 0
  9146. push_1
  9147. push_1
  9148. push_0
  9149. push_0
  9150. push_2
  9151. push_1
  9152. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9153. StaticGet1 23
  9154. Push1 10
  9155. JumpFalse @Fire3_
  9156. :Fire3_
  9157. push_0
  9158. CallNative "WAIT" 1 0
  9159. StaticGet1 23
  9160. Add1 1
  9161. StaticSet1 23
  9162. PushString "prop_beach_fire"
  9163. GetHash
  9164. StaticGet2 241
  9165. push_1
  9166. CallNative "GET_ENTITY_COORDS" 2 3
  9167. push_1
  9168. push_1
  9169. push_0
  9170. CallNative "CREATE_OBJECT" 7 1
  9171. StaticGet2 241
  9172. push_0
  9173. push_0
  9174. push_0
  9175. push_0
  9176. push_0
  9177. push_0
  9178. push_0
  9179. push_1
  9180. push_1
  9181. push_1
  9182. push_0
  9183. push_0
  9184. push_2
  9185. push_1
  9186. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9187. StaticGet1 23
  9188. Push 10
  9189. Jump @EndNetwork_Attachments
  9190. :AttachmentsOp3_
  9191. push_0
  9192. CallNative "WAIT" 1 0
  9193. StaticGet1 23
  9194. Add1 1
  9195. StaticSet1 23
  9196. PushString "prop_test_boulder_03"
  9197. GetHash
  9198. StaticGet2 241
  9199. push_1
  9200. CallNative "GET_ENTITY_COORDS" 2 3
  9201. push_1
  9202. push_1
  9203. push_0
  9204. CallNative "CREATE_OBJECT" 7 1
  9205. StaticGet2 241
  9206. push_0
  9207. push_0
  9208. push_0
  9209. push_0
  9210. push_0
  9211. push_0
  9212. push_0
  9213. push_1
  9214. push_1
  9215. push_0
  9216. push_0
  9217. push_2
  9218. push_1
  9219. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9220. StaticGet1 23
  9221. Push 10
  9222. Jump @EndNetwork_Attachments
  9223. :AttachmentsOp4_
  9224. Push -491126417
  9225. CallNative "REQUEST_MODEL" 1 0
  9226. StaticGet2 241
  9227. PushS 28422
  9228. CallNative "GET_PED_BONE_INDEX" 2 1
  9229. StaticSet1 12
  9230. Push -491126417
  9231. StaticGet2 241
  9232. push_1
  9233. CallNative "GET_ENTITY_COORDS" 2 3
  9234. push_1
  9235. push_1
  9236. push_0
  9237. CallNative "CREATE_OBJECT" 7 1
  9238. StaticGet2 241
  9239. StaticGet1 12
  9240. fPush 0.056
  9241. fPush 0.05
  9242. fPush -0.01
  9243. fPush -77.0
  9244. fPush 10.6
  9245. fPush 0
  9246. push_1
  9247. push_1
  9248. push_0
  9249. push_0
  9250. push_2
  9251. push_1
  9252. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9253. Jump @EndNetwork_Attachments
  9254. :AttachmentsOp5_
  9255. Push 335898267
  9256. CallNative "REQUEST_MODEL" 1 0
  9257. StaticGet2 241
  9258. PushS 28422
  9259. CallNative "GET_PED_BONE_INDEX" 2 1
  9260. StaticSet1 12
  9261. Push 335898267
  9262. StaticGet2 241
  9263. push_1
  9264. CallNative "GET_ENTITY_COORDS" 2 3
  9265. push_1
  9266. push_1
  9267. push_0
  9268. CallNative "CREATE_OBJECT" 7 1
  9269. StaticGet2 241
  9270. StaticGet1 12
  9271. fPush 0.013
  9272. fPush 0
  9273. fPush -0.04
  9274. fPush 90.0
  9275. fPush 180.0
  9276. fPush -90.0
  9277. push_1
  9278. push_1
  9279. push_0
  9280. push_0
  9281. push_2
  9282. push_1
  9283. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9284. Jump @EndNetwork_Attachments
  9285. :AttachmentsOp6_
  9286. Push -409048857
  9287. CallNative "REQUEST_MODEL" 1 0
  9288. StaticGet2 241
  9289. PushS 31086
  9290. CallNative "GET_PED_BONE_INDEX" 2 1
  9291. StaticSet1 12
  9292. Push -409048857
  9293. StaticGet2 241
  9294. push_1
  9295. CallNative "GET_ENTITY_COORDS" 2 3
  9296. push_1
  9297. push_1
  9298. push_0
  9299. CallNative "CREATE_OBJECT" 7 1
  9300. StaticGet2 241
  9301. StaticGet1 12
  9302. fPush 0.1
  9303. fPush 0.02
  9304. fPush_0.0
  9305. fPush_0.0
  9306. fPush 90.0
  9307. fPush 180
  9308. push_1
  9309. push_1
  9310. push_0
  9311. push_0
  9312. push_2
  9313. push_1
  9314. Jump @EndNetwork_Attachments
  9315. :AttachmentsOp7_
  9316. Push -1240857364
  9317. CallNative "REQUEST_MODEL" 1 0
  9318. StaticGet2 241
  9319. PushS 31086
  9320. CallNative "GET_PED_BONE_INDEX" 2 1
  9321. StaticSet1 12
  9322. Push -1240857364
  9323. StaticGet2 241
  9324. push_1
  9325. CallNative "GET_ENTITY_COORDS" 2 3
  9326. push_1
  9327. push_1
  9328. push_0
  9329. CallNative "CREATE_OBJECT" 7 1
  9330. StaticGet2 241
  9331. StaticGet1 12
  9332. fPush 0.1
  9333. fPush 0.02
  9334. fPush_0.0
  9335. fPush_0.0
  9336. fPush 90.0
  9337. fPush 180
  9338. push_1
  9339. push_1
  9340. push_0
  9341. push_0
  9342. push_2
  9343. push_1
  9344. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9345. Jump @EndNetwork_Attachments
  9346. :AttachmentsOp8_
  9347. Push -1929385697
  9348. CallNative "REQUEST_MODEL" 1 0
  9349. StaticGet2 241
  9350. PushS 31086
  9351. CallNative "GET_PED_BONE_INDEX" 2 1
  9352. StaticSet1 12
  9353. Push -1929385697
  9354. StaticGet2 241
  9355. push_1
  9356. CallNative "GET_ENTITY_COORDS" 2 3
  9357. push_1
  9358. push_1
  9359. push_0
  9360. CallNative "CREATE_OBJECT" 7 1
  9361. StaticGet2 241
  9362. StaticGet1 12
  9363. fPush 0.1
  9364. fPush 0.02
  9365. fPush_0.0
  9366. fPush_0.0
  9367. fPush 90.0
  9368. fPush 180
  9369. push_1
  9370. push_1
  9371. push_0
  9372. push_0
  9373. push_2
  9374. push_1
  9375. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9376. Jump @EndNetwork_Attachments
  9377. :AttachmentsOp9_
  9378. Push -346427197
  9379. CallNative "REQUEST_MODEL" 1 0
  9380. StaticGet2 241
  9381. PushS 31086
  9382. CallNative "GET_PED_BONE_INDEX" 2 1
  9383. StaticSet1 12
  9384. Push -346427197
  9385. StaticGet2 241
  9386. push_1
  9387. CallNative "GET_ENTITY_COORDS" 2 3
  9388. push_1
  9389. push_1
  9390. push_0
  9391. CallNative "CREATE_OBJECT" 7 1
  9392. StaticGet2 241
  9393. StaticGet1 12
  9394. fPush 0.1
  9395. fPush 0.02
  9396. fPush_0.0
  9397. fPush_0.0
  9398. fPush 90.0
  9399. fPush_0.0
  9400. push_1
  9401. push_1
  9402. push_0
  9403. push_0
  9404. push_2
  9405. push_1
  9406. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9407. Jump @EndNetwork_Attachments
  9408. :AttachmentsOp10_
  9409. Push -1059647297
  9410. CallNative "REQUEST_MODEL" 1 0
  9411. StaticGet2 241
  9412. PushS 31086
  9413. CallNative "GET_PED_BONE_INDEX" 2 1
  9414. StaticSet1 12
  9415. Push -1059647297
  9416. StaticGet2 241
  9417. push_1
  9418. CallNative "GET_ENTITY_COORDS" 2 3
  9419. push_1
  9420. push_1
  9421. push_0
  9422. CallNative "CREATE_OBJECT" 7 1
  9423. StaticGet2 241
  9424. StaticGet1 12
  9425. fPush 0.1
  9426. fPush 0.02
  9427. fPush_0.0
  9428. fPush_0.0
  9429. fPush 90.0
  9430. fPush_0.0
  9431. push_1
  9432. push_1
  9433. push_0
  9434. push_0
  9435. push_2
  9436. push_1
  9437. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9438. Jump @EndNetwork_Attachments
  9439. :AttachmentsOp11_
  9440. Push -1617412079
  9441. CallNative "REQUEST_MODEL" 1 0
  9442. Push -1617412079
  9443. StaticGet2 241
  9444. push_1
  9445. CallNative "GET_ENTITY_COORDS" 2 3
  9446. push_1
  9447. push_1
  9448. push_0
  9449. CallNative "CREATE_OBJECT" 7 1
  9450. StaticGet2 241
  9451. fPush -1
  9452. fPush_0.0
  9453. fPush_0.0
  9454. fPush_0.0
  9455. fPush_0.0
  9456. fPush_0.0
  9457. fPush_0.0
  9458. push_1
  9459. push_1
  9460. push_0
  9461. push_0
  9462. push_2
  9463. push_1
  9464. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9465. Jump @EndNetwork_Attachments
  9466. :AttachmentsOp12_
  9467. push_0
  9468. CallNative "WAIT" 1 0
  9469. StaticGet1 23
  9470. Add1 1
  9471. StaticSet1 23
  9472. PushString "prop_tt_screenstatic"
  9473. GetHash
  9474. StaticGet2 241
  9475. push_1
  9476. CallNative "GET_ENTITY_COORDS" 2 3
  9477. push_1
  9478. push_1
  9479. push_0
  9480. CallNative "CREATE_OBJECT" 7 1
  9481. StaticGet2 241
  9482. push_0
  9483. push_0
  9484. push_0
  9485. push_0
  9486. push_0
  9487. push_0
  9488. push_0
  9489. push_1
  9490. push_1
  9491. push_0
  9492. push_0
  9493. push_2
  9494. push_1
  9495. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9496. Jump @EndNetwork_Attachments
  9497. :AttachmentsOp13_
  9498. StaticGet2 241
  9499. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  9500. JumpFalse @Network_ObjectSub_Custom_OnFoot2
  9501. StaticGet2 241
  9502. push_0
  9503. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  9504. StaticSet2 481
  9505. Jump @Network_ObjectSub_Custom_Input2
  9506. :Network_ObjectSub_Custom_OnFoot2
  9507. StaticGet2 241
  9508. StaticSet2 481
  9509. :Network_ObjectSub_Custom_Input2
  9510. Push 255
  9511. Call @PromptUser_
  9512. CallNative "GET_HASH_KEY" 1 1
  9513. StaticSet1 12
  9514. :Network_ObjectSub_Custom_DoIt2
  9515. StaticGet1 12
  9516. CallNative "REQUEST_MODEL" 1 0
  9517. StaticGet1 12
  9518. CallNative "IS_MODEL_VALID" 1 1
  9519. JumpFalse @Network_ObjectSub_ModelNotValid2
  9520. StaticGet1 12
  9521. CallNative "REQUEST_MODEL" 1 0
  9522. StaticGet1 12
  9523. StaticGet2 481
  9524. push_1
  9525. CallNative "GET_ENTITY_COORDS" 2 3
  9526. push_1
  9527. push_1
  9528. push_0
  9529. CallNative "CREATE_OBJECT" 7 1
  9530. StaticSet1 12
  9531. StaticGet1 12
  9532. CallNative "OBJ_TO_NET" 1 1
  9533. Drop
  9534. StaticGet1 12
  9535. StaticGet2 481
  9536. push_0
  9537. push_0
  9538. push_0
  9539. push_0
  9540. push_0
  9541. push_0
  9542. push_0
  9543. push_1
  9544. push_1
  9545. push_0
  9546. push_0
  9547. push_2
  9548. push_1
  9549. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  9550. Jump @EndNetwork_Attachments
  9551. :Network_ObjectSub_ModelNotValid2
  9552. PushString "~r~Error:~s~ Incorrect Model."
  9553. PushS 2000
  9554. Call @PrintStringBottomCentrHere's a low level (assembly) script that I coded in my freetime. It's low level c++. It does unique things when injected into a companies video game with a file based method.
  9555.  
  9556. Function 0 2 0
  9557. CallNative "NETWORK_SET_SCRIPT_IS_SAFE_FOR_NETWORK_GAME" 0 0
  9558. Call @Main_
  9559. Return 0 0
  9560.  
  9561. :Main_
  9562. Function 0 2 0
  9563. //< Statics
  9564. //< Table 1
  9565. //Static: Current sub-menu (Integer)
  9566. push_0
  9567. StaticSet1 1
  9568. //Static: Current option (Integer)
  9569. fPush_1.0
  9570. StaticSet1 2
  9571. //Static: Number of options in sub-menu (Float)
  9572. fPush_1.0
  9573. StaticSet1 3
  9574. //Static: Y coordinate of option highlight (Float)
  9575. fPush 0.179
  9576. StaticSet1 4
  9577. //Static: Y coordinate of background (Float)
  9578. fPush 0
  9579. StaticSet1 5
  9580. //Static: Length of background (Float)
  9581. fPush 0
  9582. StaticSet1 6
  9583. //Static: Y coordinate of options (Float)
  9584. fPush 0
  9585. StaticSet1 7
  9586. //Static: Last sub-menu (Integer)
  9587. push_1
  9588. StaticSet1 8
  9589. //Static: Temporary Storage (Integer)
  9590. push_0
  9591. StaticSet1 12
  9592. //Do not add any more to static1. There is a strange bug that will mess up any statics you add past 8. Use static2
  9593. //>
  9594. //< Table 2
  9595. //Static 432: Y coordinate of info box (Float)
  9596. //Static 433: Y coordinate of info text (Float)
  9597. //Static: Red level for background color (RBG)
  9598. push 434
  9599. StaticSet2 434
  9600. //Static: Green level for background color (RGB)
  9601. push 0
  9602. StaticSet2 435
  9603. //Static: Blue level for background color (RGB)
  9604. push 0
  9605. StaticSet2 436
  9606. //Static: Secondary text centered status (Boolean)
  9607. push_1
  9608. StaticSet2 437
  9609. //Static: X coordinate of secondary text (Float)
  9610. fPush 0.145
  9611. StaticSet2 438
  9612. //Static: Heat vision status (Boolean)
  9613. push_0
  9614. StaticSet2 439
  9615. //Static: Night vision status (Boolean)
  9616. push_0
  9617. StaticSet2 440
  9618. //Vehicle Godmode
  9619. push_0
  9620. StaticSet2 442
  9621. //Slow Motion
  9622. push_0
  9623. StaticSet2 800
  9624. //Static 463: all 8 bits are used as flags for looped functions (super jump, explosive melee, explosive bullets, etc)
  9625. //Static 464: bits used as flags for toggles
  9626.  
  9627. //Static 465: Teleport X Coord
  9628. //Static 466: Teleport Y Coord
  9629. //Static 467: Teleport Z Coord
  9630.  
  9631. //Static 468: Used in Request Control of Entity
  9632. // Player Dev Tees Static
  9633. push_1
  9634. StaticSet2 484
  9635. // Vehicle Invincibility Static
  9636. push_0
  9637. StaticSet2 472
  9638. // ModShop Doors Remove All Status Static
  9639. push_0
  9640. StaticSet2 488
  9641. // Vehicle Invisibility Static
  9642. push_0
  9643. StaticSet2 470
  9644. // Vehicle Engine Static
  9645. push_0
  9646. StaticSet2 469
  9647. // Vehicle Interior Light Static
  9648. push_0
  9649. StaticSet2 473
  9650. // Vehicle Slidy Tyres Static
  9651. push_0
  9652. StaticSet2 477
  9653. // Vehicle Freeze Static
  9654. push_0
  9655. StaticSet2 487
  9656. // Vehicle Gravity Static
  9657. push_0
  9658. StaticSet2 480
  9659. //Static: Super Swim Status
  9660. push_0
  9661. StaticSet2 493
  9662. // Vehicle Neon colour Statics
  9663. // R
  9664. push_0
  9665. StaticSet2 489
  9666. // G
  9667. push_0
  9668. StaticSet2 490
  9669. // B
  9670. push_0
  9671. StaticSet2 491
  9672. //Static: Tunables Christmas Snow Status
  9673. push_0
  9674. StaticSet2 492
  9675. //Static: Player Invisibility Status
  9676. push_0
  9677. StaticSet2 494
  9678. //Static: Current Vehicle Speed for SuprKar
  9679. push_0
  9680. StaticSet2 495
  9681. // WAYPOINT TELEPORT TEST Statics
  9682. push_0
  9683. StaticSet2 497
  9684. push_0
  9685. StaticSet2 498
  9686. push_0
  9687. StaticSet2 499
  9688. push_0
  9689. StaticSet2 485
  9690. //Static: Current Character Selected for Stat Manager Custom
  9691. push_0
  9692. StaticSet2 500
  9693. // LOOP VEHICLE ROCKETS Statics
  9694. //Vehicle
  9695. push_0
  9696. StaticSet2 501
  9697. //Others>> Static2 508 to Static2 525
  9698. //Static: Kaboom Gun Statics
  9699. push_0
  9700. StaticSet2 504
  9701. push_0
  9702. StaticSet2 505
  9703. push_0
  9704. StaticSet2 506
  9705. push_0
  9706. StaticSet2 507
  9707. //Static: AddTitle Font
  9708. push_7
  9709. StaticSet2 400
  9710. //Static: AddOption Font
  9711. push_4
  9712. StaticSet2 401
  9713. //Static: AddInfobox Font
  9714. push_7
  9715. StaticSet2 402
  9716. //Static: XYZH Coords Font
  9717. push_4
  9718. StaticSet2 403
  9719.  
  9720. //Static2 404, 406, 407, 408, 409: Water Wheel Object
  9721. //>
  9722. //>
  9723. //Static 443: Last highlighted option (Float)
  9724. //Static 444: Last Y coordinate of option highlight (Float)
  9725. //>
  9726. //>
  9727. //< Main Loop
  9728. //Static 443: Last highlighted option (Float)
  9729. //Static 444: Last Y coordinate of option highlight (Float)
  9730. //>
  9731. //>
  9732. //< Bit Stuff
  9733. //Super Run
  9734. pStatic1 10
  9735. Push1 11
  9736. CallNative "CLEAR_BIT" 2 0
  9737. //Super Jump
  9738. pStatic1 10
  9739. Push1 12
  9740. CallNative "CLEAR_BIT" 2 0
  9741. //Car Super Speed
  9742. pStatic1 10
  9743. Push1 13
  9744. CallNative "CLEAR_BIT" 2 0
  9745. //Wash Player
  9746. pStatic1 10
  9747. Push1 14
  9748. CallNative "CLEAR_BIT" 2 0
  9749. //Car Jump
  9750. pStatic1 10
  9751. Push1 15
  9752. CallNative "CLEAR_BIT" 2 0
  9753. //Fix Car Loop
  9754. pStatic1 10
  9755. Push1 16
  9756. CallNative "CLEAR_BIT" 2 0
  9757. //Forcefeild
  9758. pStatic1 10
  9759. Push1 17
  9760. CallNative "CLEAR_BIT" 2 0
  9761. //Rainbow Vehicle
  9762. pStatic1 10
  9763. Push1 18
  9764. CallNative "CLEAR_BIT" 2 0
  9765. //Explosion On Player Loop
  9766. pStatic1 10
  9767. Push1 19
  9768. CallNative "CLEAR_BIT" 2 0
  9769. //Water On Player Loop
  9770. pStatic1 10
  9771. Push1 20
  9772. CallNative "CLEAR_BIT" 2 0
  9773. //Flame on Player Loop
  9774. pStatic1 10
  9775. Push1 21
  9776. CallNative "CLEAR_BIT" 2 0
  9777. //40K Drop
  9778. pStatic1 10
  9779. Push1 22
  9780. CallNative "CLEAR_BIT" 2 0
  9781. //Clear Tasks Loop
  9782. pStatic1 10
  9783. Push1 23
  9784. CallNative "CLEAR_BIT" 2 0
  9785. //Attach Beach Fire Loop
  9786. pStatic1 10
  9787. Push1 25
  9788. CallNative "CLEAR_BIT" 2 0
  9789. //Attach Crap Loop
  9790. pStatic1 10
  9791. Push1 26
  9792. CallNative "CLEAR_BIT" 2 0
  9793. //Clone Loop
  9794. pStatic1 10
  9795. Push1 24
  9796. CallNative "CLEAR_BIT" 2 0
  9797. //Delete Vehicle Loop
  9798. pStatic1 10
  9799. Push1 27
  9800. CallNative "CLEAR_BIT" 2 0
  9801. //God Mode Loop
  9802. pStatic1 10
  9803. Push1 28
  9804. CallNative "CLEAR_BIT" 2 0
  9805. //Vehicle Invincibility Loop
  9806. pStatic1 10
  9807. Push1 29
  9808. CallNative "CLEAR_BIT" 2 0
  9809. //Invisibility Loop
  9810. pStatic1 10
  9811. Push1 30
  9812. CallNative "CLEAR_BIT" 2 0
  9813. //Flicker Mode Loop
  9814. pStatic1 10
  9815. Push1 31
  9816. CallNative "CLEAR_BIT" 2 0
  9817. //Vehicle Instant Brake
  9818. pStatic1 10
  9819. Push1 45
  9820. CallNative "CLEAR_BIT" 2 0
  9821. //Slow-mo
  9822. pStatic1 10
  9823. Push1 33
  9824. CallNative "CLEAR_BIT" 2 0
  9825. //FlyMod Test
  9826. pStatic1 10
  9827. Push1 50
  9828. //>
  9829. //< Main Loop
  9830. :MainLoop_
  9831. push_0
  9832. CallNative "WAIT" 1 0
  9833. Call @OtherLoops_
  9834. Call @CheckPauseMenu_
  9835. StaticGet1 1
  9836. //To add a submenu, add another option to the main loop and add a call to your submenu.
  9837. //If you want it to be a normal submenu, make it jump to @NormalMenuActions_ after calling it. If you want it to be a console jump to @ConsoleActions_.
  9838. Switch [0=@CallClosedMenuStuff_][1=@CallMainMenu_][2=@CallSettingsSecondaryColor_][3=@CallSubmenu1_][4=@CallSubmenu2_][5=@CallSubmenu3_][6=@CallSubmenu4_][7=@CallPlayersSub_][8=@CallPlayersSubAMenu_][9=@CallNetwork_PlayerSub_][10=@CallNetwork_ExplosionSub][11=@CallNetwork_TeleportOptions_][12=@CallOnlinePlayersA_TeleportToCoords_][13=@CallNetwork_Explosion2Sub][14=@CallNetwork_Explosion3Sub][15=@CallPersonalVehicle_][16=@CallNetwork_VehicleSub][17=@CallNetwork_VehicleSub2][18=@CallNetwork_NiceandNaughty][19=@CallNetwork_NaughtyOptions][20=@CallNetwork_ObjectsAndAttachments][21=@CallNetwork_Attachments][22=@CallStats_][23=@CallRankP2_][24=@CallCashOptions_][25=@CallUnlockOptions_][26=@CallCheaterOptions_]
  9839. :CallClosedMenuStuff_
  9840. Call @ClosedMenuStuff_
  9841. Jump @MainLoop_
  9842. :CallMainMenu_
  9843. Call @MainMenu_
  9844. Jump @NormalMenuActions_
  9845. :CallSettingsSecondaryColor_
  9846. Call @SettingsSecondaryColor_
  9847. Jump @NormalMenuActions_
  9848. :CallSubmenu1_
  9849. Call @Submenu1_
  9850. Jump @NormalMenuActions_
  9851. :CallSubmenu2_
  9852. Call @Submenu2_
  9853. Jump @NormalMenuActions_
  9854. :CallSubmenu3_
  9855. Call @Submenu3_
  9856. Jump @NormalMenuActions_
  9857. :CallSubmenu4_
  9858. Call @Submenu4_
  9859. Jump @NormalMenuActions_
  9860. :CallPlayersSub_
  9861. Call @PlayersSub_
  9862. Jump @NormalMenuActions_
  9863. :CallPlayersSubAMenu_
  9864. Call @PlayersSubAMenu_
  9865. Jump @NormalMenuActions_
  9866. :CallNetwork_PlayerSub_
  9867. Call @Network_PlayerSub_
  9868. Jump @NormalMenuActions_
  9869. :CallNetwork_ExplosionSub
  9870. Call @Network_ExplosionSub
  9871. Jump @NormalMenuActions_
  9872. :CallNetwork_TeleportOptions_
  9873. Call @Network_TeleportOptions_
  9874. Jump @NormalMenuActions_
  9875. :CallOnlinePlayersA_TeleportToCoords_
  9876. Call @OnlinePlayersA_TeleportToCoords_
  9877. Jump @NormalMenuActions_
  9878. :CallNetwork_Explosion2Sub
  9879. Call @Network_Explosion2Sub
  9880. Jump @NormalMenuActions_
  9881. :CallNetwork_Explosion3Sub
  9882. Call @Network_Explosion3Sub
  9883. Jump @NormalMenuActions_
  9884. :CallPersonalVehicle_
  9885. Call @PersonalVehicle_
  9886. Jump @NormalMenuActions_
  9887. :CallNetwork_VehicleSub
  9888. Call @Network_VehicleSub
  9889. Jump @NormalMenuActions_
  9890. :CallNetwork_VehicleSub2
  9891. Call @Network_VehicleSub2
  9892. Jump @NormalMenuActions_
  9893. :CallNetwork_NiceandNaughty
  9894. Call @Network_NiceandNaughty
  9895. Jump @NormalMenuActions_
  9896. :CallNetwork_NaughtyOptions
  9897. Call @Network_NaughtyOptions
  9898. Jump @NormalMenuActions_
  9899. :CallNetwork_ObjectsAndAttachments
  9900. Call @Network_ObjectsAndAttachments
  9901. Jump @NormalMenuActions_
  9902. :CallNetwork_Attachments
  9903. Call @Network_Attachments
  9904. Jump @NormalMenuActions_
  9905. :CallStats_
  9906. Call @Stats_
  9907. Jump @NormalMenuActions_
  9908. :CallRankP2_
  9909. Call @RankP2_
  9910. Jump @NormalMenuActions_
  9911. :CallCashOptions_
  9912. Call @CashOptions_
  9913. Jump @NormalMenuActions_
  9914. :CallUnlockOptions_
  9915. Call @UnlockOptions_
  9916. Jump @NormalMenuActions_
  9917. :CallCheaterOptions_
  9918. Call @CheaterOptions_
  9919. Jump @NormalMenuActions_
  9920. :NormalMenuActions_
  9921. Call @OpenMenuStuff_
  9922. Jump @MainLoop_
  9923. :ConsoleActions_
  9924. Call @ConsoleStuff_
  9925. Jump @MainLoop_
  9926. Return 0 0
  9927. //>
  9928.  
  9929. //> Other Loops
  9930. :OtherLoops_
  9931. Function 0 2 0
  9932. StaticGet1 10
  9933. Push1 11
  9934. CallNative "IS_BIT_SET" 2 1
  9935. JumpFalse @GodModeLoop_
  9936. CallNative "PLAYER_PED_ID" 0 1
  9937. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  9938. Not
  9939. JumpFalse @GodModeLoop_
  9940. push_2
  9941. Push1 177
  9942. CallNative "IS_CONTROL_PRESSED" 2 1
  9943. JumpFalse @GodModeLoop_
  9944. CallNative "PLAYER_PED_ID" 0 1
  9945. push_1
  9946. fPush_0.0
  9947. fPush 34028230000000
  9948. fPush_0.0
  9949. fPush_0.0
  9950. fPush_0.0
  9951. fPush_0.0
  9952. push_1
  9953. push_1
  9954. push_1
  9955. push_1
  9956. push_0
  9957. push_1
  9958. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  9959. push_2
  9960. Push1 174
  9961. CallNative "IS_DISABLED_CONTROL_JUST_RELEASED" 2 1
  9962. JumpFalse @GodModeLoop_
  9963. CallNative "PLAYER_PED_ID" 0 1
  9964. push_1
  9965. CallNative "FREEZE_ENTITY_POSITION" 2 0
  9966. CallNative "PLAYER_PED_ID" 0 1
  9967. push_0
  9968. CallNative "FREEZE_ENTITY_POSITION" 2 0
  9969. :GodModeLoop_
  9970. StaticGet1 10
  9971. Push1 28
  9972. CallNative "IS_BIT_SET" 2 1
  9973. JumpFalse @GhostModeLoop_
  9974. CallNative "PLAYER_ID" 0 1
  9975. push_1
  9976. CallNative "SET_PLAYER_INVINCIBLE" 2 0
  9977. CallNative "PLAYER_PED_ID" 0 1
  9978. Dup
  9979. Dup
  9980. push_0
  9981. CallNative "SET_PED_CAN_RAGDOLL" 2 0
  9982. push_0
  9983. CallNative "SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT" 2 0
  9984. push_0
  9985. CallNative "SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE" 2 0
  9986. :GhostModeLoop_
  9987. StaticGet1 10
  9988. Push1 31
  9989. CallNative "IS_BIT_SET" 2 1
  9990. JumpFalse @OtherLoops_VehicleBrake
  9991. CallNative "PLAYER_PED_ID" 0 1
  9992. Dup
  9993. CallNative "IS_ENTITY_VISIBLE" 1 1
  9994. Not
  9995. CallNative "SET_ENTITY_VISIBLE" 2 0
  9996. :OtherLoops_VehicleBrake
  9997. StaticGet1 10
  9998. Push1 45
  9999. CallNative "IS_BIT_SET" 2 1
  10000. JumpFalse @OtherLoopsFlickerVehicle_
  10001. push_2
  10002. Push1 177
  10003. CallNative "IS_CONTROL_PRESSED" 2 1
  10004. JumpFalse @OtherLoopsFlickerVehicle_
  10005. CallNative "PLAYER_PED_ID" 0 1
  10006. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  10007. JumpFalse @OtherLoopsFlickerVehicle_
  10008. CallNative "PLAYER_PED_ID" 0 1
  10009. push_0
  10010. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  10011. Call @RequestControlOfVeh_
  10012. CallNative "PLAYER_PED_ID" 0 1
  10013. push_0
  10014. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  10015. fPush_0.0
  10016. CallNative "SET_VEHICLE_FORWARD_SPEED" 2 0
  10017. :OtherLoopsFlickerVehicle_
  10018. StaticGet1 10
  10019. Push1 32
  10020. CallNative "IS_BIT_SET" 2 1
  10021. JumpFalse @OtherLoopsSuperJump_
  10022. CallNative "PLAYER_PED_ID" 0 1
  10023. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  10024. JumpFalse @OtherLoopsSuperJump_
  10025. CallNative "PLAYER_PED_ID" 0 1
  10026. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  10027. Dup
  10028. CallNative "IS_ENTITY_VISIBLE" 1 1
  10029. JumpFalse @OtherLoopsSuperJump_
  10030. CallNative "PLAYER_PED_ID" 0 1
  10031. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  10032. Not
  10033. CallNative "SET_ENTITY_VISIBLE" 2 0
  10034. Jump @EndOtherLoops_
  10035. :OtherLoopsSuperJump_
  10036. StaticGet1 10
  10037. Push1 12
  10038. CallNative "IS_BIT_SET" 2 1
  10039. JumpFalse @OtherLoopsWashPlayer_
  10040. CallNative "PLAYER_PED_ID" 0 1
  10041. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  10042. Not
  10043. JumpFalse @OtherLoopsWashPlayer_
  10044. push_2
  10045. Push1 183
  10046. CallNative "IS_DISABLED_CONTROL_PRESSED" 2 1
  10047. JumpFalse @OtherLoopsWashPlayer_
  10048. push_2
  10049. Push1 179
  10050. CallNative "IS_DISABLED_CONTROL_PRESSED" 2 1
  10051. JumpFalse @OtherLoopsWashPlayer_
  10052. CallNative "PLAYER_PED_ID" 0 1
  10053. push_1
  10054. fPush_0.0
  10055. fPush_0.0
  10056. fPush_2.0
  10057. fPush_0.0
  10058. fPush_0.0
  10059. fPush_0.0
  10060. push_1
  10061. push_1
  10062. push_1
  10063. push_1
  10064. push_0
  10065. push_1
  10066. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  10067. :OtherLoopsWashPlayer_
  10068. StaticGet1 10
  10069. Push1 14
  10070. CallNative "IS_BIT_SET" 2 1
  10071. JumpFalse @OtherLoopsCarSuperSpeed_
  10072. CallNative "PLAYER_PED_ID" 0 1
  10073. CallNative "PLAYER_PED_ID" 0 1
  10074. CallNative "PLAYER_PED_ID" 0 1
  10075. CallNative "GET_PED_MAX_HEALTH" 1 1
  10076. CallNative "SET_ENTITY_HEALTH" 2 0
  10077. CallNative "PLAYER_PED_ID" 0 1
  10078. CallNative "PLAYER_ID" 0 1
  10079. CallNative "GET_PLAYER_MAX_ARMOUR" 1 1
  10080. CallNative "SET_PED_ARMOUR" 2 0
  10081. CallNative "PLAYER_PED_ID" 0 1
  10082. CallNative "CLEAR_PED_BLOOD_DAMAGE" 1 0
  10083. CallNative "PLAYER_PED_ID" 0 1
  10084. CallNative "RESET_PED_VISIBLE_DAMAGE" 1 0‏
  10085. :OtherLoopsCarSuperSpeed_
  10086. StaticGet1 10
  10087. Push1 13
  10088. CallNative "IS_BIT_SET" 2 1
  10089. JumpFalse @VehicleInvincibility_
  10090. CallNative "IS_PAUSE_MENU_ACTIVE" 0 1
  10091. Not
  10092. JumpFalse @VehicleInvincibility_
  10093. CallNative "PLAYER_PED_ID" 0 1
  10094. push_0
  10095. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  10096. JumpFalse @VehicleInvincibility_
  10097. push_2
  10098. Push1 184
  10099. CallNative "IS_CONTROL_PRESSED" 2 1
  10100. JumpFalse @VehicleInvincibility_
  10101. push_2
  10102. Push1 179
  10103. CallNative "IS_CONTROL_PRESSED‏" 2 1
  10104. JumpFalse @VehicleInvincibility_
  10105. CallNative "PLAYER_PED_ID" 0 1
  10106. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  10107. push_0
  10108. fPush_0.0
  10109. fPush 200
  10110. fPush_0.0
  10111. fPush_0.0
  10112. fPush_0.0
  10113. fPush_0.0
  10114. push_0
  10115. push_1
  10116. push_1
  10117. push_1
  10118. push_0
  10119. push_1
  10120. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  10121. :VehicleInvincibility_
  10122. StaticGet1 10
  10123. Push1 29
  10124. CallNative "IS_BIT_SET" 2 1
  10125. JumpFalse @OtherLoopsCarSuperJump_
  10126. CallNative "PLAYER_PED_ID" 0 1
  10127. push_0
  10128. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  10129. Call @RequestControlOfVeh_
  10130. CallNative "PLAYER_PED_ID" 0 1
  10131. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  10132. push_0
  10133. CallNative "SET_VEHICLE_CAN_BE_VISIBLY_DAMAGED" 2 0
  10134. CallNative "PLAYER_PED_ID" 0 1
  10135. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  10136. push_0
  10137. CallNative "SET_VEHICLE_TYRES_CAN_BURST" 2 0
  10138. CallNative "PLAYER_PED_ID" 0 1
  10139. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  10140. push_0
  10141. CallNative "SET_ENTITY_CAN_BE_DAMAGED" 2 0
  10142. CallNative "PLAYER_PED_ID" 0 1
  10143. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  10144. push_1
  10145. push_1
  10146. CallNative "SET_ENTITY_INVINCIBLE" 3 0
  10147. :OtherLoopsCarSuperJump_
  10148. StaticGet1 10
  10149. Push1 15
  10150. CallNative "IS_BIT_SET" 2 1
  10151. JumpFalse @OtherLoopsVehicleFixed_
  10152. CallNative "IS_PAUSE_MENU_ACTIVE" 0 1
  10153. Not
  10154. JumpFalse @OtherLoopsVehicleFixed_
  10155. CallNative "PLAYER_PED_ID" 0 1
  10156. push_0
  10157. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  10158. JumpFalse @OtherLoopsVehicleFixed_
  10159. push_2
  10160. Push1 184
  10161. CallNative "IS_CONTROL_PRESSED‏" 2 1
  10162. JumpFalse @OtherLoopsVehicleFixed_
  10163. push_2
  10164. Push1 205
  10165. CallNative "IS_CONTROL_PRESSED" 2 1
  10166. JumpFalse @OtherLoopsVehicleFixed_
  10167. CallNative "PLAYER_PED_ID" 0 1
  10168. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  10169. push_0
  10170. fPush_0.0
  10171. fPush_0.0
  10172. fPush 433
  10173. fPush_0.0
  10174. fPush_0.0
  10175. fPush_0.0
  10176. push_0
  10177. push_1
  10178. push_1
  10179. push_1
  10180. push_0
  10181. push_1
  10182. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  10183. :OtherLoopsVehicleFixed_
  10184. StaticGet1 10
  10185. Push1 16
  10186. CallNative "IS_BIT_SET" 2 1
  10187. JumpFalse @OtherLoopsForcefeild_
  10188. CallNative "PLAYER_PED_ID" 0 1
  10189. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  10190. JumpFalse @OtherLoopsForcefeild_
  10191. CallNative "PLAYER_PED_ID" 0 1
  10192. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  10193. CallNative "SET_VEHICLE_FIXED" 1 0
  10194. :OtherLoopsForcefeild_
  10195. StaticGet1 10
  10196. Push1 17
  10197. CallNative "IS_BIT_SET" 2 1
  10198. JumpFalse @OtherLoopsRainbowCar_
  10199. StaticGet2 241
  10200. push_1
  10201. CallNative "GET_ENTITY_COORDS" 2 3
  10202. Push 29
  10203. fPush 20
  10204. push_0
  10205. push_1
  10206. fPush_0.0
  10207. CallNative "ADD_EXPLOSION" 8 0
  10208. :OtherLoopsRainbowCar_
  10209. StaticGet1 10
  10210. Push1 18
  10211. CallNative "IS_BIT_SET" 2 1
  10212. JumpFalse @OtherLoopsExplosionOnPlayerLoop_
  10213. CallNative "PLAYER_PED_ID" 0 1
  10214. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  10215. push_0
  10216. Push 157
  10217. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  10218. push_0
  10219. Push 157
  10220. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  10221. CallNative "SET_VEHICLE_COLOURS" 3 0
  10222. CallNative "PLAYER_PED_ID" 0 1
  10223. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  10224. push_0
  10225. Push 157
  10226. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  10227. push_0
  10228. Push 157
  10229. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  10230. CallNative "SET_VEHICLE_EXTRA_COLOURS" 3 0
  10231. :OtherLoopsExplosionOnPlayerLoop_
  10232. StaticGet1 10
  10233. Push1 19
  10234. CallNative "IS_BIT_SET" 2 1
  10235. JumpFalse @OtherLoopsWaterOnPlayerLoop_
  10236. StaticGet2 241
  10237. push_1
  10238. CallNative "GET_ENTITY_COORDS" 2 3
  10239. Push 29
  10240. fPush 400
  10241. fPush_1.0
  10242. fPush_0.0
  10243. fPush 340282300000000000
  10244. CallNative "ADD_EXPLOSION" 8 0
  10245. :OtherLoopsWaterOnPlayerLoop_
  10246. StaticGet1 10
  10247. Push1 20
  10248. CallNative "IS_BIT_SET" 2 1
  10249. JumpFalse @OtherLoopsFlameOnPlayerLoop_
  10250. StaticGet2 241
  10251. push_1
  10252. CallNative "GET_ENTITY_COORDS" 2 3
  10253. Push 13
  10254. fPush 50
  10255. fPush_1.0
  10256. fPush_0.0
  10257. fPush 5
  10258. CallNative "ADD_EXPLOSION" 8 0
  10259. :OtherLoopsFlameOnPlayerLoop_
  10260. StaticGet1 10
  10261. Push1 21
  10262. CallNative "IS_BIT_SET" 2 1
  10263. JumpFalse @ClearTasksImmedietelyLoop_
  10264. StaticGet2 241
  10265. push_1
  10266. CallNative "GET_ENTITY_COORDS" 2 3
  10267. Push 30
  10268. fPush 50
  10269. fPush_1.0
  10270. fPush_0.0
  10271. fPush 5
  10272. CallNative "ADD_EXPLOSION" 8 0
  10273. :ClearTasksImmedietelyLoop_
  10274. StaticGet1 10
  10275. Push1 23
  10276. CallNative "IS_BIT_SET" 2 1
  10277. JumpFalse @DeleteVehicleOtherLoop_
  10278. StaticGet2 241
  10279. CallNative "CLEAR_PED_TASKS_IMMEDIATELY" 1
  10280. :DeleteVehicleOtherLoop_
  10281. StaticGet1 10
  10282. Push1 27
  10283. CallNative "IS_BIT_SET" 2 1
  10284. JumpFalse @84kDropLoop_
  10285. StaticGet2 241
  10286. push_0
  10287. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  10288. JumpFalse @84kDropLoop_
  10289. StaticGet2 241
  10290. push_0
  10291. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  10292. Call @RequestControlOfVeh_
  10293. StaticGet2 241
  10294. push_0
  10295. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  10296. StaticSet2 65
  10297. StaticGet2 65
  10298. push_1
  10299. push_1
  10300. CallNative "SET_ENTITY_AS_MISSION_ENTITY" 3 0
  10301. pStatic2 65
  10302. CallNative "DELETE_VEHICLE" 1 0
  10303. push_0
  10304. CallNative "WAIT" 1 0
  10305. :84kDropLoop_
  10306. StaticGet1 10
  10307. Push1 22
  10308. CallNative "IS_BIT_SET" 2 1
  10309. JumpFalse @EndOtherLoops_
  10310. push_0
  10311. CallNative "WAIT" 1 0
  10312. StaticGet2 460
  10313. Add1 1
  10314. StaticSet2 460
  10315. pGlobal3 2407802
  10316. GetImmediate2 4113
  10317. StaticGet2 241
  10318. push_1
  10319. CallNative "GET_ENTITY_COORDS" 2 3
  10320. push_0
  10321. Push 4000000
  10322. pGlobal3 2407802
  10323. GetImmediate2 4113
  10324. push_0
  10325. push_1
  10326. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10327. Drop
  10328. pGlobal3 2407802
  10329. GetImmediate2 4113
  10330. StaticGet2 241
  10331. push_1
  10332. CallNative "GET_ENTITY_COORDS" 2 3
  10333. push_0
  10334. Push 40000
  10335. pGlobal3 2407802
  10336. GetImmediate2 4113
  10337. push_0
  10338. push_1
  10339. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10340. Drop
  10341. pGlobal3 2407802
  10342. GetImmediate2 4113
  10343. StaticGet2 241
  10344. push_1
  10345. CallNative "GET_ENTITY_COORDS" 2 3
  10346. push_0
  10347. Push 40000
  10348. pGlobal3 2407802
  10349. GetImmediate2 4113
  10350. push_0
  10351. push_1
  10352. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10353. Drop
  10354. pGlobal3 2407802
  10355. GetImmediate2 4113
  10356. StaticGet2 241
  10357. push_1
  10358. CallNative "GET_ENTITY_COORDS" 2 3
  10359. push_0
  10360. Push 40000
  10361. pGlobal3 2407802
  10362. GetImmediate2 4113
  10363. push_0
  10364. push_1
  10365. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10366. Drop
  10367. pGlobal3 2407802
  10368. GetImmediate2 4113
  10369. StaticGet2 241
  10370. push_1
  10371. CallNative "GET_ENTITY_COORDS" 2 3
  10372. push_0
  10373. Push 40000
  10374. pGlobal3 2407802
  10375. GetImmediate2 4113
  10376. push_0
  10377. push_1
  10378. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10379. Drop
  10380. pGlobal3 2407802
  10381. GetImmediate2 4113
  10382. StaticGet2 241
  10383. push_1
  10384. CallNative "GET_ENTITY_COORDS" 2 3
  10385. push_0
  10386. Push 40000
  10387. pGlobal3 2407802
  10388. GetImmediate2 4113
  10389. push_0
  10390. push_1
  10391. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10392. Drop
  10393. pGlobal3 2407802
  10394. GetImmediate2 4113
  10395. StaticGet2 241
  10396. push_1
  10397. CallNative "GET_ENTITY_COORDS" 2 3
  10398. push_0
  10399. Push 40000
  10400. pGlobal3 2407802
  10401. GetImmediate2 4113
  10402. push_0
  10403. push_1
  10404. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10405. Drop
  10406. pGlobal3 2407802
  10407. GetImmediate2 4113
  10408. StaticGet2 241
  10409. push_1
  10410. CallNative "GET_ENTITY_COORDS" 2 3
  10411. push_0
  10412. Push 40000
  10413. pGlobal3 2407802
  10414. GetImmediate2 4113
  10415. push_0
  10416. push_1
  10417. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10418. Drop
  10419. pGlobal3 2407802
  10420. GetImmediate2 4113
  10421. StaticGet2 241
  10422. push_1
  10423. CallNative "GET_ENTITY_COORDS" 2 3
  10424. push_0
  10425. Push 40000
  10426. pGlobal3 2407802
  10427. GetImmediate2 4113
  10428. push_0
  10429. push_1
  10430. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10431. Drop
  10432. pGlobal3 2407802
  10433. GetImmediate2 4113
  10434. StaticGet2 241
  10435. push_1
  10436. CallNative "GET_ENTITY_COORDS" 2 3
  10437. push_0
  10438. Push 40000
  10439. pGlobal3 2407802
  10440. GetImmediate2 4113
  10441. push_0
  10442. push_1
  10443. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10444. Drop
  10445. pGlobal3 2407802
  10446. GetImmediate2 4113
  10447. StaticGet2 241
  10448. push_1
  10449. CallNative "GET_ENTITY_COORDS" 2 3
  10450. push_0
  10451. Push 40000
  10452. pGlobal3 2407802
  10453. GetImmediate2 4113
  10454. push_0
  10455. push_1
  10456. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10457. Drop
  10458. pGlobal3 2407802
  10459. GetImmediate2 4113
  10460. StaticGet2 241
  10461. push_1
  10462. CallNative "GET_ENTITY_COORDS" 2 3
  10463. push_0
  10464. Push 40000
  10465. pGlobal3 2407802
  10466. GetImmediate2 4113
  10467. push_0
  10468. push_1
  10469. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10470. Drop
  10471. pGlobal3 2407802
  10472. GetImmediate2 4113
  10473. StaticGet2 241
  10474. push_1
  10475. CallNative "GET_ENTITY_COORDS" 2 3
  10476. push_0
  10477. Push 40000
  10478. pGlobal3 2407802
  10479. GetImmediate2 4113
  10480. push_0
  10481. push_1
  10482. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10483. Drop
  10484. pGlobal3 2407802
  10485. GetImmediate2 4113
  10486. StaticGet2 241
  10487. push_1
  10488. CallNative "GET_ENTITY_COORDS" 2 3
  10489. push_0
  10490. Push 40000
  10491. pGlobal3 2407802
  10492. GetImmediate2 4113
  10493. push_0
  10494. push_1
  10495. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10496. Drop
  10497. pGlobal3 2407802
  10498. GetImmediate2 4113
  10499. StaticGet2 241
  10500. push_1
  10501. CallNative "GET_ENTITY_COORDS" 2 3
  10502. push_0
  10503. Push 40000
  10504. pGlobal3 2407802
  10505. GetImmediate2 4113
  10506. push_0
  10507. push_1
  10508. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10509. Drop
  10510. pGlobal3 2407802
  10511. GetImmediate2 4113
  10512. StaticGet2 241
  10513. push_1
  10514. CallNative "GET_ENTITY_COORDS" 2 3
  10515. push_0
  10516. Push 40000
  10517. pGlobal3 2407802
  10518. GetImmediate2 4113
  10519. push_0
  10520. push_1
  10521. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10522. Drop
  10523. pGlobal3 2407802
  10524. GetImmediate2 4113
  10525. StaticGet2 241
  10526. push_1
  10527. CallNative "GET_ENTITY_COORDS" 2 3
  10528. push_0
  10529. Push 40000
  10530. pGlobal3 2407802
  10531. GetImmediate2 4113
  10532. push_0
  10533. push_1
  10534. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10535. Drop
  10536. pGlobal3 2407802
  10537. GetImmediate2 4113
  10538. StaticGet2 241
  10539. push_1
  10540. CallNative "GET_ENTITY_COORDS" 2 3
  10541. push_0
  10542. Push 40000
  10543. pGlobal3 2407802
  10544. GetImmediate2 4113
  10545. push_0
  10546. push_1
  10547. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10548. Drop
  10549. pGlobal3 2407802
  10550. GetImmediate2 4113
  10551. StaticGet2 241
  10552. push_1
  10553. CallNative "GET_ENTITY_COORDS" 2 3
  10554. push_0
  10555. Push 40000
  10556. pGlobal3 2407802
  10557. GetImmediate2 4113
  10558. push_0
  10559. push_1
  10560. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10561. Drop
  10562. pGlobal3 2407802
  10563. GetImmediate2 4113
  10564. StaticGet2 241
  10565. push_1
  10566. CallNative "GET_ENTITY_COORDS" 2 3
  10567. push_0
  10568. Push 40000
  10569. pGlobal3 2407802
  10570. GetImmediate2 4113
  10571. push_0
  10572. push_1
  10573. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10574. Drop
  10575. pGlobal3 2407802
  10576. GetImmediate2 4113
  10577. StaticGet2 241
  10578. push_1
  10579. CallNative "GET_ENTITY_COORDS" 2 3
  10580. push_0
  10581. Push 40000
  10582. pGlobal3 2407802
  10583. GetImmediate2 4113
  10584. push_0
  10585. push_1
  10586. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10587. Drop
  10588. pGlobal3 2407802
  10589. GetImmediate2 4113
  10590. StaticGet2 241
  10591. push_1
  10592. CallNative "GET_ENTITY_COORDS" 2 3
  10593. push_0
  10594. Push 40000
  10595. pGlobal3 2407802
  10596. GetImmediate2 4113
  10597. push_0
  10598. push_1
  10599. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10600. Drop
  10601. pGlobal3 2407802
  10602. GetImmediate2 4113
  10603. StaticGet2 241
  10604. push_1
  10605. CallNative "GET_ENTITY_COORDS" 2 3
  10606. push_0
  10607. Push 40000
  10608. pGlobal3 2407802
  10609. GetImmediate2 4113
  10610. push_0
  10611. push_1
  10612. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10613. Drop
  10614. pGlobal3 2407802
  10615. GetImmediate2 4113
  10616. StaticGet2 241
  10617. push_1
  10618. CallNative "GET_ENTITY_COORDS" 2 3
  10619. push_0
  10620. Push 40000
  10621. pGlobal3 2407802
  10622. GetImmediate2 4113
  10623. push_0
  10624. push_1
  10625. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10626. Drop
  10627. pGlobal3 2407802
  10628. GetImmediate2 4113
  10629. StaticGet2 241
  10630. push_1
  10631. CallNative "GET_ENTITY_COORDS" 2 3
  10632. push_0
  10633. Push 40000
  10634. pGlobal3 2407802
  10635. GetImmediate2 4113
  10636. push_0
  10637. push_1
  10638. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10639. Drop
  10640. pGlobal3 2407802
  10641. GetImmediate2 4113
  10642. StaticGet2 241
  10643. push_1
  10644. CallNative "GET_ENTITY_COORDS" 2 3
  10645. push_0
  10646. Push 40000
  10647. pGlobal3 2407802
  10648. GetImmediate2 4113
  10649. push_0
  10650. push_1
  10651. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10652. Drop
  10653. pGlobal3 2407802
  10654. GetImmediate2 4113
  10655. StaticGet2 241
  10656. push_1
  10657. CallNative "GET_ENTITY_COORDS" 2 3
  10658. push_0
  10659. Push 40000
  10660. pGlobal3 2407802
  10661. GetImmediate2 4113
  10662. push_0
  10663. push_1
  10664. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10665. Drop
  10666. pGlobal3 2407802
  10667. GetImmediate2 4113
  10668. StaticGet2 241
  10669. push_1
  10670. CallNative "GET_ENTITY_COORDS" 2 3
  10671. push_0
  10672. Push 40000
  10673. pGlobal3 2407802
  10674. GetImmediate2 4113
  10675. push_0
  10676. push_1
  10677. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10678. Drop
  10679. pGlobal3 2407802
  10680. GetImmediate2 4113
  10681. StaticGet2 241
  10682. push_1
  10683. CallNative "GET_ENTITY_COORDS" 2 3
  10684. push_0
  10685. Push 40000
  10686. pGlobal3 2407802
  10687. GetImmediate2 4113
  10688. push_0
  10689. push_1
  10690. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10691. Drop
  10692. pGlobal3 2407802
  10693. GetImmediate2 4113
  10694. StaticGet2 241
  10695. push_1
  10696. CallNative "GET_ENTITY_COORDS" 2 3
  10697. push_0
  10698. Push 40000
  10699. pGlobal3 2407802
  10700. GetImmediate2 4113
  10701. push_0
  10702. push_1
  10703. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10704. Drop
  10705. pGlobal3 2407802
  10706. GetImmediate2 4113
  10707. StaticGet2 241
  10708. push_1
  10709. CallNative "GET_ENTITY_COORDS" 2 3
  10710. push_0
  10711. Push 40000
  10712. pGlobal3 2407802
  10713. GetImmediate2 4113
  10714. push_0
  10715. push_1
  10716. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10717. Drop
  10718. pGlobal3 2407802
  10719. GetImmediate2 4113
  10720. StaticGet2 241
  10721. push_1
  10722. CallNative "GET_ENTITY_COORDS" 2 3
  10723. push_0
  10724. Push 40000
  10725. pGlobal3 2407802
  10726. GetImmediate2 4113
  10727. push_0
  10728. push_1
  10729. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10730. Drop
  10731. pGlobal3 2407802
  10732. GetImmediate2 4113
  10733. StaticGet2 241
  10734. push_1
  10735. CallNative "GET_ENTITY_COORDS" 2 3
  10736. push_0
  10737. Push 40000
  10738. pGlobal3 2407802
  10739. GetImmediate2 4113
  10740. push_0
  10741. push_1
  10742. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10743. Drop
  10744. pGlobal3 2407802
  10745. GetImmediate2 4113
  10746. StaticGet2 241
  10747. push_1
  10748. CallNative "GET_ENTITY_COORDS" 2 3
  10749. push_0
  10750. Push 40000
  10751. pGlobal3 2407802
  10752. GetImmediate2 4113
  10753. push_0
  10754. push_1
  10755. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10756. Drop
  10757. pGlobal3 2407802
  10758. GetImmediate2 4113
  10759. StaticGet2 241
  10760. push_1
  10761. CallNative "GET_ENTITY_COORDS" 2 3
  10762. push_0
  10763. Push 40000
  10764. pGlobal3 2407802
  10765. GetImmediate2 4113
  10766. push_0
  10767. push_1
  10768. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10769. Drop
  10770. pGlobal3 2407802
  10771. GetImmediate2 4113
  10772. StaticGet2 241
  10773. push_1
  10774. CallNative "GET_ENTITY_COORDS" 2 3
  10775. push_0
  10776. Push 40000
  10777. pGlobal3 2407802
  10778. GetImmediate2 4113
  10779. push_0
  10780. push_1
  10781. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10782. Drop
  10783. pGlobal3 2407802
  10784. GetImmediate2 4113
  10785. StaticGet2 241
  10786. push_1
  10787. CallNative "GET_ENTITY_COORDS" 2 3
  10788. push_0
  10789. Push 40000
  10790. pGlobal3 2407802
  10791. GetImmediate2 4113
  10792. push_0
  10793. push_1
  10794. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10795. Drop
  10796. pGlobal3 2407802
  10797. GetImmediate2 4113
  10798. StaticGet2 241
  10799. push_1
  10800. CallNative "GET_ENTITY_COORDS" 2 3
  10801. push_0
  10802. Push 40000
  10803. pGlobal3 2407802
  10804. GetImmediate2 4113
  10805. push_0
  10806. push_1
  10807. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10808. Drop
  10809. pGlobal3 2407802
  10810. GetImmediate2 4113
  10811. StaticGet2 241
  10812. push_1
  10813. CallNative "GET_ENTITY_COORDS" 2 3
  10814. push_0
  10815. Push 40000
  10816. pGlobal3 2407802
  10817. GetImmediate2 4113
  10818. push_0
  10819. push_1
  10820. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10821. Drop
  10822. pGlobal3 2407802
  10823. GetImmediate2 4113
  10824. StaticGet2 241
  10825. push_1
  10826. CallNative "GET_ENTITY_COORDS" 2 3
  10827. push_0
  10828. Push 40000
  10829. pGlobal3 2407802
  10830. GetImmediate2 4113
  10831. push_0
  10832. push_1
  10833. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10834. Drop
  10835. pGlobal3 2407802
  10836. GetImmediate2 4113
  10837. StaticGet2 241
  10838. push_1
  10839. CallNative "GET_ENTITY_COORDS" 2 3
  10840. push_0
  10841. Push 40000
  10842. pGlobal3 2407802
  10843. GetImmediate2 4113
  10844. push_0
  10845. push_1
  10846. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10847. Drop
  10848. pGlobal3 2407802
  10849. GetImmediate2 4113
  10850. StaticGet2 241
  10851. push_1
  10852. CallNative "GET_ENTITY_COORDS" 2 3
  10853. push_0
  10854. Push 40000
  10855. pGlobal3 2407802
  10856. GetImmediate2 4113
  10857. push_0
  10858. push_1
  10859. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  10860. Drop
  10861. Jump @EndOtherLoops_
  10862. :EndOtherLoops_
  10863. Return 0 0
  10864.  
  10865. //>
  10866. //< Open Menu Stuff
  10867. // No reason to mess with this stuff
  10868. :OpenMenuStuff_
  10869. Function 0 2 0
  10870. Call @DrawBar_
  10871. Call @DisableControls_
  10872. //Button: Up
  10873. push_2
  10874. Push 202
  10875. CallNative "IS_DISABLED_CONTROL_JUST_PRESSED" 2 1
  10876. push_1
  10877. JumpEQ @MenuUp_
  10878. //Button: Down
  10879. push_2
  10880. Push 203
  10881. CallNative "IS_DISABLED_CONTROL_JUST_PRESSED" 2 1
  10882. push_1
  10883. JumpEQ @MenuDown_
  10884. //Button: B
  10885. push_2
  10886. Push 195
  10887. CallNative "IS_DISABLED_CONTROL_JUST_PRESSED" 2 1
  10888. push_1
  10889. JumpEQ @GoBackSubmenu_
  10890. Jump @EndOpenMenuStuff_
  10891. :GoBackSubmenu_
  10892. PushString "BACK"
  10893. Call @PlayFrontendSound_
  10894. StaticGet1 1
  10895. push_1
  10896. JumpEQ @CloseDownMenu_
  10897. StaticGet1 8
  10898. StaticSet1 1
  10899. StaticGet2 443
  10900. StaticSet1 2
  10901. StaticGet2 444
  10902. StaticSet1 4
  10903. Jump @EndOpenMenuStuff_
  10904. :MenuUp_
  10905. StaticGet1 2
  10906. fPush_1.0
  10907. JumpEQ @SwapToBottom_
  10908. StaticGet1 2
  10909. fPush_1.0
  10910. fSub
  10911. StaticSet1 2
  10912. StaticGet1 4
  10913. fPush 0.04
  10914. fSub
  10915. StaticSet1 4
  10916. PushString "NAV_UP_DOWN"
  10917. Call @PlayFrontendSound_
  10918. Jump @EndOpenMenuStuff_
  10919. :SwapToBottom_
  10920. //Calculate Y position
  10921. StaticGet1 3
  10922. fPush 0.04
  10923. fMul
  10924. fPush 0.139
  10925. fAdd
  10926. StaticSet1 4
  10927. StaticGet1 3
  10928. StaticSet1 2
  10929. PushString "NAV_UP_DOWN"
  10930. Call @PlayFrontendSound_
  10931. Jump @EndOpenMenuStuff_
  10932. :MenuDown_
  10933. StaticGet1 2
  10934. StaticGet1 3
  10935. JumpEQ @SwapToTop_
  10936. StaticGet1 2
  10937. fPush_1.0
  10938. fAdd
  10939. StaticSet1 2
  10940. StaticGet1 4
  10941. fPush 0.04
  10942. fAdd
  10943. StaticSet1 4
  10944. PushString "NAV_UP_DOWN"
  10945. Call @PlayFrontendSound_
  10946. Jump @EndOpenMenuStuff_
  10947. :SwapToTop_
  10948. fPush 0.179
  10949. StaticSet1 4
  10950. fPush_1.0
  10951. StaticSet1 2
  10952. PushString "NAV_UP_DOWN"
  10953. Call @PlayFrontendSound_
  10954. Jump @EndOpenMenuStuff_
  10955. :CloseDownMenu_
  10956. push_2
  10957. CallNative "ENABLE_ALL_CONTROL_ACTIONS" 1 0
  10958. PushString "BACK"
  10959. Call @PlayFrontendSound_
  10960. push_0
  10961. StaticSet1 1
  10962. :EndOpenMenuStuff_
  10963. Return 0 0
  10964. //>
  10965.  
  10966. //< Close Menu Stuff
  10967. // No reason to mess with this stuff
  10968. :ClosedMenuStuff_
  10969. Function 0 2 0
  10970. //Button: LB
  10971. push_2
  10972. Push 181
  10973. CallNative "IS_CONTROL_PRESSED" 2 1
  10974. push_1
  10975. JumpEQ @MonitorButtonX_
  10976. Jump @EndCloseMenuStuff_
  10977. :MonitorButtonX_
  10978. //DPAD:Right
  10979. push_2
  10980. Push 205
  10981. CallNative "IS_CONTROL_PRESSED" 2 1
  10982. push_1
  10983. JumpEQ @OpenUpMenu_
  10984. Jump @EndCloseMenuStuff_
  10985. :OpenUpMenu_
  10986. PushString "SELECT"
  10987. Call @PlayFrontendSound_
  10988. push_1
  10989. StaticSet1 1
  10990. push_1
  10991. StaticSet1 8
  10992. fPush_1.0
  10993. StaticSet1 2
  10994. fPush 0.179
  10995. StaticSet1 4
  10996. :EndCloseMenuStuff_
  10997. Return 0 0
  10998.  
  10999. :ChangeSubmenu_
  11000. Function 0 2 0
  11001. StaticGet1 2
  11002. StaticSet2 443
  11003. StaticGet1 4
  11004. StaticSet2 444
  11005. fPush_1.0
  11006. StaticSet1 2
  11007. fPush 0.179
  11008. StaticSet1 4
  11009. Return 0 0
  11010. //>
  11011.  
  11012. //< Console
  11013. // No reason to mess with this stuff
  11014. //< Console Actions
  11015.  
  11016. :ConsoleStuff_
  11017. Function 0 2 0
  11018. fPush 15
  11019. StaticSet1 3
  11020. Call @DrawBackground_
  11021. Call @DisableControls_
  11022. //Button B
  11023. push_2
  11024. Push 195
  11025. CallNative "IS_DISABLED_CONTROL_JUST_PRESSED" 2 1
  11026. push_1
  11027. JumpEQ @ConsoleGoBackSubmenu_
  11028. Jump @EndConsoleStuff_
  11029. :ConsoleGoBackSubmenu_
  11030. PushString "BACK"
  11031. Call @PlayFrontendSound_
  11032. StaticGet1 8
  11033. StaticSet1 1
  11034. StaticGet2 443
  11035. StaticSet1 2
  11036. StaticGet2 444
  11037. StaticSet1 4
  11038. :EndConsoleStuff_
  11039. Return 0 0
  11040. //>
  11041.  
  11042. //< StatSet
  11043. :StatSetInt_
  11044. Function 2 2 0
  11045. getF1 0
  11046. CallNative "GET_HASH_KEY" 1 1
  11047. getF1 1
  11048. push_1
  11049. CallNative "STAT_SET_INT" 3 1
  11050. Drop
  11051. Return 2 0
  11052. :StatSetBool_
  11053. Function 2 2 0
  11054. getF1 0
  11055. CallNative "GET_HASH_KEY" 1 1
  11056. getF1 1
  11057. push_1
  11058. CallNative "STAT_SET_BOOL" 3 1
  11059. Drop
  11060. Return 2 0
  11061. :StatSetFloat_
  11062. Function 2 2 0
  11063. getF1 0
  11064. CallNative "GET_HASH_KEY" 1 1
  11065. getF1 1
  11066. push_1
  11067. CallNative "STAT_SET_FLOAT" 3 1
  11068. Drop
  11069. Return 2 0
  11070. //>
  11071. //>
  11072. :StatSetIntStatic23_
  11073. Function 2 2 0
  11074. StaticGet1 23
  11075. getF1 0
  11076. Call @AddStrings_
  11077. CallNative "GET_HASH_KEY" 1 1
  11078. getF1 1
  11079. push_1
  11080. CallNative "STAT_SET_INT" 3 1
  11081. Drop
  11082. Return 2 0
  11083.  
  11084. //< String Stuff
  11085. :AddConsoleEntry_
  11086. Function 2 2 0
  11087. getF1 0
  11088. fPush 0.03
  11089. fMul
  11090. fPush 0.13
  11091. fAdd
  11092. StaticSet1 7
  11093. Call @StringBase_
  11094. PushString "STRING"
  11095. CallNative "UNK_3E35563E" 1 0
  11096. getF1 1
  11097. CallNative "UNK_27A244D8" 1 0
  11098. fPush 0.06
  11099. StaticGet1 7
  11100. CallNative "UNK_6F8350CE" 2 0
  11101. Return 2 0
  11102. //>
  11103. //>
  11104.  
  11105. //< Utilities
  11106. :CheckAPressed_
  11107. Function 0 2 0
  11108. push_2
  11109. Push 193
  11110. CallNative "IS_DISABLED_CONTROL_JUST_PRESSED" 2 1
  11111. Return 0 1
  11112.  
  11113. //< Check Pause Menu
  11114. :CheckPauseMenu_
  11115. Function 0 3 0
  11116. CallNative "IS_PAUSE_MENU_ACTIVE" 0 1
  11117. JumpFalse @CheckPauseMenu_NoProb
  11118. push_0
  11119. StaticSet1 1
  11120. Call @ChangeSubmenu_
  11121. :CheckPauseMenu_NoProb
  11122. Return 0 0
  11123. //>
  11124. :Label_61
  11125. Function 1 4 0
  11126. PushString "STRING"
  11127. CallNative "UNK_574EE85C" 1 0
  11128. getF1 0
  11129. CallNative "UNK_27A244D8" 1 0
  11130. push_0
  11131. push_1
  11132. CallNative "UNK_08F7AF78" 2 1
  11133. Drop
  11134. Return 1 0
  11135.  
  11136.  
  11137. Function 2 6 0
  11138. PushString "TWOSTRINGS"
  11139. CallNative "UNK_574EE85C" 1 0
  11140. getF1 0
  11141. CallNative "UNK_27A244D8" 1 0
  11142. getF1 1
  11143. CallNative "UNK_27A244D8" 1 0
  11144. push_0
  11145. push_1
  11146. CallNative "UNK_08F7AF78" 2 1
  11147. Drop
  11148. Return 2 0
  11149.  
  11150. :PlayFrontendSound_
  11151. Function 1 2 0
  11152. push_-1
  11153. getF1 0
  11154. PushString "HUD_FRONTEND_DEFAULT_SOUNDSET"
  11155. CallNative "PLAY_SOUND_FRONTEND" 3 0
  11156. Return 1 0
  11157.  
  11158. //< Disable Controls
  11159. // No reason to mess with this stuff
  11160. :DisableControls_
  11161. Function 0 2 0
  11162. //Function by XBLToothpik
  11163. CallNative "HIDE_HELP_TEXT_THIS_FRAME" 0 0
  11164. push_0
  11165. CallNative "SET_CINEMATIC_BUTTON_ACTIVE" 1 0
  11166. push_0
  11167. push_0
  11168. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11169. push_0
  11170. Push 93
  11171. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11172. push_0
  11173. Push 72
  11174. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11175. push_0
  11176. Push 76
  11177. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11178. push_2
  11179. Push 179
  11180. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  11181. push_2
  11182. Push 177
  11183. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  11184. push_2
  11185. Push 178
  11186. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  11187. push_0
  11188. Push 49
  11189. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11190. push_2
  11191. Push 164
  11192. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  11193. push_2
  11194. Push 165
  11195. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  11196. push_2
  11197. Push 177
  11198. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11199. push_2
  11200. Push 178
  11201. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11202. push_2
  11203. Push 166
  11204. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11205. push_2
  11206. Push 167
  11207. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11208. push_2
  11209. Push 164
  11210. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11211. push_2
  11212. Push 165
  11213. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11214. Push 10
  11215. CallNative "HIDE_HUD_COMPONENT_THIS_FRAME" 1 0
  11216. push_6
  11217. CallNative "HIDE_HUD_COMPONENT_THIS_FRAME" 1 0
  11218. push_7
  11219. CallNative "HIDE_HUD_COMPONENT_THIS_FRAME" 1 0
  11220. Push 9
  11221. CallNative "HIDE_HUD_COMPONENT_THIS_FRAME" 1 0
  11222. Push 8
  11223. CallNative "HIDE_HUD_COMPONENT_THIS_FRAME" 1 0
  11224. push_2
  11225. Push 166
  11226. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  11227. push_2
  11228. Push 167
  11229. CallNative "SET_INPUT_EXCLUSIVE" 2 0
  11230. push_0
  11231. Push 40
  11232. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11233. push_0
  11234. Push 139
  11235. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11236. push_0
  11237. Push 140
  11238. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11239. push_0
  11240. Push 141
  11241. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11242. push_0
  11243. Push 142
  11244. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11245. push_0
  11246. Push 143
  11247. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11248. push_0
  11249. Push 144
  11250. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11251. push_0
  11252. Push 145
  11253. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11254. push_0
  11255. Push 146
  11256. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11257. push_0
  11258. Push 147
  11259. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11260. push_0
  11261. Push 17
  11262. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11263. push_0
  11264. Push 18
  11265. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11266. push_0
  11267. Push 53
  11268. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11269. push_0
  11270. Push 54
  11271. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11272. push_0
  11273. Push 123
  11274. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11275. push_0
  11276. Push 124
  11277. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11278. push_0
  11279. Push 126
  11280. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11281. push_0
  11282. Push 48
  11283. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11284. push_0
  11285. Push 70
  11286. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11287. push_0
  11288. Push 79
  11289. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11290. push_0
  11291. Push 52
  11292. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11293. push_0
  11294. Push 46
  11295. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11296. push_0
  11297. Push 55
  11298. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11299. push_0
  11300. Push 76
  11301. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11302. push_0
  11303. Push 25
  11304. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11305. push_0
  11306. Push 93
  11307. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11308. push_0
  11309. Push 106
  11310. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11311. push_0
  11312. Push 149
  11313. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11314. push_0
  11315. Push 148
  11316. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11317. push_0
  11318. Push 150
  11319. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11320. push_0
  11321. Push 151
  11322. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11323. push_0
  11324. Push 22
  11325. CallNative "DISABLE_CONTROL_ACTION" 2 0
  11326. Return 0 0
  11327. //>
  11328. //< OnScreenKeyboard
  11329. :PromptUser_
  11330. Function 0 2 0
  11331. push_0
  11332. PushString "PM_NAME_CHALL"
  11333. PushString ""
  11334. PushString ""
  11335. PushString ""
  11336. PushString ""
  11337. PushString ""
  11338. Push 225
  11339. CallNative "DISPLAY_ONSCREEN_KEYBOARD" 8 0
  11340. Push 100
  11341. CallNative "WAIT" 1 0
  11342. :CheckResponse_
  11343. push_0
  11344. CallNative "WAIT" 1 0
  11345. CallNative "IS_SYSTEM_UI_BEING_DISPLAYED" 0 1
  11346. JumpFalse @ReturnResponse_
  11347. Jump @CheckResponse_
  11348. :ReturnResponse_
  11349. CallNative "GET_ONSCREEN_KEYBOARD_RESULT" 0 1
  11350. Return 0 1
  11351. //>
  11352. //>
  11353. //< Get Player Name
  11354. :GetPlayerName_
  11355. Function 1 2 0
  11356. getF1 0
  11357. CallNative "NETWORK_IS_PLAYER_ACTIVE" 1 1
  11358. JumpFalse @GetPlayerNameFalse_
  11359. getF1 0
  11360. CallNative "GET_PLAYER_NAME" 1 1
  11361. Return 1 1
  11362. :GetPlayerNameFalse_
  11363. PushString "**Invalid**"
  11364. Return 1 1
  11365. :GetPlayerNameSctv_
  11366. Function 1 2 0
  11367. getF1 0
  11368. CallNative "NETWORK_IS_PLAYER_ACTIVE" 1 1
  11369. JumpFalse @GetPlayerNameFalseSctv_
  11370. getF1 0
  11371. CallNative "GET_PLAYER_NAME" 1 1
  11372. Return 1 1
  11373. :GetPlayerNameFalseSctv_
  11374. PushString "~r~SCTV SLOT------------------"
  11375. Return 1 1
  11376.  
  11377. :MsgStuff_
  11378. Function 2 3 0
  11379. PushString "STRING"
  11380. CallNative "UNK_F42C43C7" 1 0
  11381. getF1 0
  11382. CallNative "UNK_27A244D8" 1 0
  11383. getF1 1
  11384. push_1
  11385. CallNative "UNK_38F82261" 2 0
  11386. Return 2 0
  11387.  
  11388. //< Print String Bottom Centre
  11389. :PrintStringBottomCentre_
  11390. Function 2 3 0
  11391. PushString "STRING"
  11392. CallNative "UNK_F42C43C7" 1 0
  11393. getF1 0
  11394. CallNative "UNK_27A244D8" 1 0
  11395. getF1 1
  11396. push_1
  11397. CallNative "UNK_38F82261" 2 0
  11398. Return 2 0
  11399. //>
  11400. //< Print bottom left
  11401. :PrintBottomLeft_
  11402. Function 1 4 0
  11403. PushString "STRING"
  11404. CallNative "UNK_574EE85C" 1 0
  11405. getF1 0
  11406. CallNative "UNK_27A244D8" 1 0
  11407. push_0
  11408. push_1
  11409. CallNative "UNK_08F7AF78" 2 1
  11410. Drop
  11411. Return 1 0
  11412. //>
  11413. //< Find free car seat for teleporting into player vehicle
  11414. :FindFreeCarSeat_
  11415. Function 1 4 0
  11416. getF1 0
  11417. CallNative "GET_VEHICLE_MAX_NUMBER_OF_PASSENGERS" 1 1
  11418. setF1 4
  11419. push_-1
  11420. setF1 3
  11421. :FindFreeCarSeat_loop
  11422. getF1 3
  11423. getF1 4
  11424. JumpGE @FindFreeCarSeat_end
  11425. getF1 0
  11426. getF1 3
  11427. CallNative "IS_VEHICLE_SEAT_FREE" 2 1
  11428. JumpFalse @FindFreeCarSeat_iter
  11429. getF1 3
  11430. Return 1 1
  11431. :FindFreeCarSeat_iter
  11432. getF1 3
  11433. Add1 1
  11434. setF1 3
  11435. Jump @FindFreeCarSeat_loop
  11436. :FindFreeCarSeat_end
  11437. Push 368641790
  11438. Return 0 0
  11439. //>
  11440. //< Request Control of Vehicle
  11441. :RequestControlOfVeh_
  11442. Function 1 2 0
  11443. push_0
  11444. StaticSet2 468
  11445. getF1 0
  11446. CallNative "NETWORK_REQUEST_CONTROL_OF_ENTITY" 1 1
  11447. Not
  11448. JumpFalse @RequestControlOfVehRet_
  11449. :RequestControlOfVehHas_
  11450. getF1 0
  11451. CallNative "NETWORK_HAS_CONTROL_OF_ENTITY" 1 1
  11452. push_0
  11453. CallNative "WAIT" 1 0
  11454. getF1 0
  11455. CallNative "NETWORK_REQUEST_CONTROL_OF_ENTITY" 1 1
  11456. Not
  11457. JumpFalse @RequestControlOfVehRet_
  11458. StaticGet2 468
  11459. Add1 1
  11460. StaticSet2 468
  11461. StaticGet2 468
  11462. Push 50
  11463. Jump @RequestControlOfVehHas_
  11464. :RequestControlOfVehRet_
  11465. Return 1 0
  11466. //>
  11467. //>
  11468. //>
  11469. //< Print XYZH Coords
  11470. :LoopMiscOpsXYZHCoords_DrawCoords
  11471. Function 5 4 3
  11472. getF1 0
  11473. fPush 0.05000000
  11474. fPush 0.10000000
  11475. Call @LoopMiscOpsXYZHCoords_DrawFloat
  11476. getF1 1
  11477. fPush 0.05000000
  11478. fPush 0.13000000
  11479. Call @LoopMiscOpsXYZHCoords_DrawFloat
  11480. getF1 2
  11481. fPush 0.05000000
  11482. fPush 0.16000000
  11483. Call @LoopMiscOpsXYZHCoords_DrawFloat
  11484. getF1 3
  11485. fPush 0.05000000
  11486. fPush 0.19000000
  11487. Call @LoopMiscOpsXYZHCoords_DrawFloat
  11488. Return 4 0
  11489.  
  11490. :LoopMiscOpsXYZHCoords_DrawFloat
  11491. Function 4 3 3
  11492. Call @MiscOpsXYZHCoordsSetUpDraw_
  11493. PushString "NUMBER"
  11494. CallNative "UNK_3E35563E" 1 0
  11495. getF1 0
  11496. push_4
  11497. CallNative "IS_PED_HIDING_NEAR_INDICATORLIGHTS" 2 0
  11498. getF1 1
  11499. getF1 2
  11500. CallNative "UNK_6F8350CE" 2 0
  11501. Return 3 0
  11502.  
  11503. :LoopMiscOpsXYZHCoords_GetCoords
  11504. Function 3 1 3
  11505. getF1 0
  11506. CallNative "GET_PLAYER_PED" 1 1
  11507. push_0
  11508. CallNative "GET_ENTITY_COORDS" 2 3
  11509. Return 1 3
  11510.  
  11511. :MiscOpsXYZHCoordsSetUpDraw_
  11512. Function 1 0 2
  11513. StaticGet2 403
  11514. CallNative "SET_TEXT_FONT" 1 0
  11515. fPush 0.35
  11516. fPush 0.35
  11517. CallNative "SET_TEXT_SCALE" 2 0
  11518. Push1 255
  11519. Push1 255
  11520. Push1 255
  11521. Push1 255
  11522. CallNative "SET_TEXT_COLOUR" 4 0
  11523. fPush_0.0
  11524. fPush_1.0
  11525. CallNative "SET_TEXT_WRAP" 2 0
  11526. push_0
  11527. CallNative "SET_TEXT_CENTRE" 1 0
  11528. push_0
  11529. push_0
  11530. push_0
  11531. push_0
  11532. push_0
  11533. CallNative "SET_TEXT_DROPSHADOW" 5 0
  11534. push_0
  11535. push_0
  11536. push_0
  11537. push_0
  11538. push_0
  11539. CallNative "SET_TEXT_EDGE" 5 0
  11540. Return 0 0
  11541. //>
  11542. //< Request Model
  11543. :ChangeModel_
  11544. Function 1 2 0
  11545. getF1 0
  11546. CallNative "REQUEST_MODEL" 1 0
  11547. CallNative "PLAYER_ID" 0 1
  11548. getF1 0
  11549. CallNative "SET_PLAYER_MODEL" 2 0
  11550. Return 1 0
  11551. //:RequestModel_
  11552. //Function 1 2 0
  11553. //getF1 0
  11554. //CallNative "REQUEST_MODEL" 1 0
  11555. //:RequestModelStatus_
  11556. //getF1 0
  11557. //CallNative "HAS_MODEL_LOADED" 1 1
  11558. //Not
  11559. //JumpFalse @RequestModelRet_
  11560. //:RequestModelUnableTo_
  11561. //PushString "Unable to load model."
  11562. //Call @PrintBottomLeft_
  11563. //:RequestModelRet_
  11564. //Return 1 0
  11565. //>
  11566. //< AddStrings_
  11567. //Used in GetCurrentCharacter_
  11568. :AddStrings_
  11569. Function 2 2 0
  11570. getF1 0
  11571. pStatic2 100
  11572. StrCopy 64
  11573. getF1 1
  11574. pStatic2 100
  11575. StrAdd 64
  11576. pStatic2 100
  11577. Return 2 1
  11578. //>
  11579. //< String Stuff
  11580. :StringBase_
  11581. Function 0 2 0
  11582. push_0
  11583. CallNative "SET_TEXT_FONT" 1 0
  11584. fPush 0.4
  11585. fPush 0.4
  11586. CallNative "SET_TEXT_SCALE" 2 0
  11587. Push 255
  11588. Push 255
  11589. Push 255
  11590. Push 255
  11591. CallNative "SET_TEXT_COLOUR" 4 0
  11592. fPush_0.0
  11593. fPush_1.0
  11594. CallNative "SET_TEXT_WRAP" 2 0
  11595. push_0
  11596. CallNative "SET_TEXT_CENTRE" 1 0
  11597. push_0
  11598. push_0
  11599. push_0
  11600. push_0
  11601. push_0
  11602. CallNative "SET_TEXT_DROPSHADOW" 5 0
  11603. push_0
  11604. push_0
  11605. push_0
  11606. push_0
  11607. push_0
  11608. CallNative "SET_TEXT_EDGE" 5 0
  11609. CallNative "SET_TEXT_OUTLINE" 0 0
  11610. Return 0 0
  11611.  
  11612. :AddOption_
  11613. Function 2 2 0
  11614. getF1 0
  11615. fPush 0.04
  11616. fMul
  11617. fPush 0.125
  11618. fAdd
  11619. StaticSet1 7
  11620. Call @StringBase_
  11621. PushString "STRING"
  11622. CallNative "UNK_3E35563E" 1 0
  11623. getF1 1
  11624. CallNative "UNK_27A244D8" 1 0
  11625. fPush 0.07
  11626. StaticGet1 7
  11627. CallNative "UNK_6F8350CE" 2 0
  11628. Return 2 0
  11629.  
  11630. :AddTitle_
  11631. Function 1 2 0
  11632. Call @StringBase_
  11633. push_1
  11634. CallNative "SET_TEXT_FONT" 1 0
  11635. fPush 0.8
  11636. fPush 0.8
  11637. CallNative "SET_TEXT_SCALE" 2 0
  11638. StaticGet2 437
  11639. CallNative "SET_TEXT_CENTRE" 1 0
  11640. PushString "STRING"
  11641. CallNative "UNK_3E35563E" 1 0
  11642. getF1 0
  11643. CallNative "UNK_27A244D8" 1 0
  11644. StaticGet2 438
  11645. fPush 0.1
  11646. CallNative "UNK_6F8350CE" 2 0
  11647. Return 1 0
  11648. //>
  11649.  
  11650. //< Shader Stuff
  11651. // No reason to mess with this stuff
  11652. :DrawBackground_
  11653. Function 0 2 0
  11654. //< Options Background
  11655. //Calculate Y coordinate
  11656. StaticGet1 3
  11657. fPush 0.04
  11658. fMul
  11659. fPush_2.0
  11660. fDiv
  11661. fPush 0.159
  11662. fAdd
  11663. StaticSet1 5
  11664. //Calculate length
  11665. StaticGet1 3
  11666. fPush 0.04
  11667. fMul
  11668. StaticSet1 6
  11669. fPush 0.145
  11670. StaticGet1 5
  11671. fPush 0.19
  11672. StaticGet1 6
  11673. Push3 0 0 205
  11674. Push 35
  11675. CallNative "DRAW_RECT" 8 0
  11676. //>
  11677. //< TitleBox
  11678. fPush 0.145
  11679. fPush 0.1175
  11680. fPush 0.19
  11681. fPush 0.083
  11682. StaticGet2 434
  11683. StaticGet2 435
  11684. StaticGet2 436
  11685. Push 35
  11686. CallNative "DRAW_RECT" 8 0
  11687. //>
  11688. Return 0 0
  11689.  
  11690. :AddInfoBox_
  11691. Function 1 2 0
  11692. //Calculate Y coordinate
  11693. StaticGet1 3
  11694. fPush 0.04
  11695. fMul
  11696. fPush 0.179
  11697. fAdd
  11698. StaticSet2 432
  11699. fPush 0.145
  11700. StaticGet2 432
  11701. fPush 0.19
  11702. fPush 0.04
  11703. StaticGet2 434
  11704. StaticGet2 435
  11705. StaticGet2 436
  11706. Push 35
  11707. CallNative "DRAW_RECT" 8 0
  11708. //Draw credits text
  11709. StaticGet1 3
  11710. fPush_1.0
  11711. fAdd
  11712. fPush 0.04
  11713. fMul
  11714. fPush 0.125
  11715. fAdd
  11716. StaticSet2 433
  11717. Call @StringBase_
  11718. fPush 0.35
  11719. fPush 0.35
  11720. CallNative "SET_TEXT_SCALE" 2 0
  11721. StaticGet2 437
  11722. CallNative "SET_TEXT_CENTRE" 1 0
  11723. PushString "STRING"
  11724. CallNative "UNK_3E35563E" 1 0
  11725. getF1 0
  11726. CallNative "UNK_27A244D8" 1 0
  11727. StaticGet2 438
  11728. StaticGet2 433
  11729. CallNative "UNK_6F8350CE" 2 0
  11730. Return 1 0
  11731.  
  11732. :DrawNormalOptionHighlight_
  11733. Function 0 2 0
  11734. fPush 0.145
  11735. StaticGet1 4
  11736. fPush 0.19
  11737. fPush 0.04
  11738. Push3 255 0 0
  11739. Push 55
  11740. CallNative "DRAW_RECT" 8 0
  11741. Return 0 0
  11742.  
  11743. :DrawColorfulOptionHighlight_
  11744. Function 1 2 0
  11745. getF1 0
  11746. Switch [0=@RedHighlight_][1=@GreenHighlight_][2=@YellowHighlight_]
  11747. :RedHighlight_
  11748. fPush 0.145
  11749. StaticGet1 4
  11750. fPush 0.19
  11751. fPush 0.04
  11752. Push3 255 0 0
  11753. Push 100
  11754. CallNative "DRAW_RECT" 8 0
  11755. Jump @EndColorHighlight_
  11756. :GreenHighlight_
  11757. fPush 0.145
  11758. StaticGet1 4
  11759. fPush 0.19
  11760. fPush 0.04
  11761. Push3 0 255 0
  11762. Push 100
  11763. CallNative "DRAW_RECT" 8 0
  11764. Jump @EndColorHighlight_
  11765. :YellowHighlight_
  11766. fPush 0.145
  11767. StaticGet1 4
  11768. fPush 0.19
  11769. fPush 0.04
  11770. Push3 255 255 0
  11771. Push 255
  11772. CallNative "DRAW_RECT" 8 0
  11773. Jump @EndColorHighlight_
  11774. :EndColorHighlight_
  11775. Return 1 0
  11776.  
  11777. :DrawBar_
  11778. Function 0 2 0
  11779. fPush 0.06
  11780. StaticGet1 4
  11781. fPush -0.005
  11782. fPush 0.04
  11783. Push3 0 0 0
  11784. Push 0
  11785. CallNative "DRAW_RECT" 8 0
  11786. Return 0 0
  11787. //>
  11788.  
  11789. //< Main Menu
  11790. :MainMenu_
  11791. Function 0 2 0
  11792. //Set this to the amount of options in your submenu
  11793. fPush_6.0
  11794. StaticSet2 3
  11795. //Always have this is normal submenus
  11796. Call @DrawBackground_
  11797. //Only include this at the top of your submenu if there will be no colored highlights
  11798. Call @DrawNormalOptionHighlight_
  11799. //No reason to set this more than once in a submenu
  11800. PushString " Private Menu"
  11801. Call @AddInfoBox_
  11802. PushString "RaYRoD's Menu! (v4)"
  11803. Call @AddTitle_
  11804. //This is pretty self explanatory. Just the display names and numbers for the options.
  11805. fPush_1.0
  11806. PushString "Self Mods"
  11807. Call @AddOption_
  11808. fPush_2.0
  11809. PushString "RaYRoD's Locations"
  11810. Call @AddOption_
  11811. fPush_3.0
  11812. PushString "Tunables Options"
  11813. Call @AddOption_
  11814. fPush_4.0
  11815. PushString "Vehicle Options"
  11816. Call @AddOption_
  11817. fPush_5.0
  11818. PushString "Online Players"
  11819. Call @AddOption_
  11820. fPush_6.0
  11821. PushString "Stat Editor"
  11822. Call @AddOption_
  11823. // Menu startup message
  11824. StaticGet1 29
  11825. push_3
  11826. JumpEQ @MainMenuOptions_
  11827. //< Set font right
  11828. push_7
  11829. StaticSet2 400
  11830. push_4
  11831. StaticSet2 401
  11832. push_7
  11833. StaticSet2 402
  11834. push_4
  11835. StaticSet2 403
  11836. //>
  11837. PushString "RaYRoD's - Mod Menu"
  11838. PushString ""
  11839. Call @AddStrings_
  11840. Call @PrintBottomLeft_
  11841. push_3
  11842. StaticSet1 29
  11843. // Set current network player ped as your own
  11844. CallNative "PLAYER_PED_ID" 0 1
  11845. StaticSet2 241
  11846. //Option's functions
  11847. :MainMenuOptions_
  11848. Call @CheckAPressed_
  11849. push_1
  11850. JumpEQ @MainMenuOptionsController_
  11851. Jump @EndMainMenu_
  11852. :MainMenuOptionsController_
  11853. PushString "SELECT"
  11854. Call @PlayFrontendSound_
  11855. StaticGet1 2
  11856. FtoI
  11857. //To add an option to a submenu, add one to the value of static1 3, add a display, and add to this loop.
  11858. //This code is what actually happens when you press on an option.
  11859. Switch [1=@MainMenuSubmenu1_][2=@MainMenuSubmenu2_][3=@MainMenuSubmenu3_][4=@MainMenuSubmenu4_][5=@MainMenuOnlinePlayers_][6=@MainMenuStats_]
  11860. :MainMenuSubmenu1_
  11861. //When making an option go to a different submenu use this example code.
  11862. //Set the push value to the value of the submenu in the switch in the main loop.
  11863. push_3
  11864. StaticSet1 1
  11865. Call @ChangeSubmenu_
  11866. Jump @EndMainMenu_
  11867. :MainMenuSubmenu2_
  11868. push_4
  11869. StaticSet1 1
  11870. Call @ChangeSubmenu_
  11871. Jump @EndMainMenu_
  11872. :MainMenuSubmenu3_
  11873. push_5
  11874. StaticSet1 1
  11875. Call @ChangeSubmenu_
  11876. Jump @EndMainMenu_
  11877. :MainMenuSubmenu4_
  11878. push_6
  11879. StaticSet1 1
  11880. Call @ChangeSubmenu_
  11881. Jump @EndMainMenu_
  11882. :MainMenuOnlinePlayers_
  11883. push_7
  11884. StaticSet1 1
  11885. Call @ChangeSubmenu_
  11886. Jump @EndMainMenu_
  11887. :MainMenuStats_
  11888. Push 22
  11889. StaticSet1 1
  11890. Call @ChangeSubmenu_
  11891. Jump @EndMainMenu_
  11892. :EndMainMenu_
  11893. Return 0 0
  11894. //>
  11895. //>
  11896. //< Secondary Color Picker
  11897. :SettingsSecondaryColor_
  11898. Function 0 2 0
  11899. fPush_1.0
  11900. StaticSet1 3
  11901. push_2
  11902. StaticSet1 8
  11903. Call @DrawBackground_
  11904. Call @DrawNormalOptionHighlight_
  11905. PushString "Color Picker"
  11906. Call @AddInfoBox_
  11907. PushString "Color Picker"
  11908. Call @AddTitle_
  11909. fPush_1.0
  11910. PushString "Blue"
  11911. Call @AddOption_
  11912. //Option's functions
  11913. Call @CheckAPressed_
  11914. push_1
  11915. JumpEQ @SettingsSecondaryColorController_
  11916. Jump @EndSettingsSecondaryColor_
  11917. :SettingsSecondaryColorController_
  11918. PushString "SELECT"
  11919. Call @PlayFrontendSound_
  11920. StaticGet1 2
  11921. FtoI
  11922. Switch [1=@SettingsSecondaryColorBlue_]
  11923. :SettingsSecondaryColorBlue_
  11924. Push 205
  11925. StaticSet2 434
  11926. push_0
  11927. StaticSet2 435
  11928. push_0
  11929. StaticSet2 436
  11930. Jump @EndSettingsSecondaryColor_
  11931. :EndSettingsSecondaryColor_
  11932. Return 0 0
  11933. //>
  11934. //< Center Secondary Text Highlighter
  11935. :SettingsCenterSecondaryTextHighlightChecker_
  11936. Function 0 2 0
  11937. StaticGet2 435
  11938. push_0
  11939. JumpEQ @CenterSecondaryHighlightRed_
  11940. push_1
  11941. Call @DrawColorfulOptionHighlight_
  11942. Jump @EndCenterSecondaryHighlighter_
  11943. :CenterSecondaryHighlightRed_
  11944. push_0
  11945. Call @DrawColorfulOptionHighlight_
  11946. :EndCenterSecondaryHighlighter_
  11947. Return 0 0
  11948. //>
  11949. //< Toggle Center Secondary
  11950. :ToggleCenterSecondary_
  11951. Function 0 2 0
  11952. StaticGet2 437
  11953. push_0
  11954. JumpEQ @CenterSecondary_
  11955. push_0
  11956. StaticSet2 437
  11957. fPush 0.07
  11958. StaticSet2 438
  11959. Jump @EndToggleCenterSecondary_
  11960. :CenterSecondary_
  11961. push_1
  11962. StaticSet2 437
  11963. fPush 0.145
  11964. StaticSet2 438
  11965. :EndToggleCenterSecondary_
  11966. Return 0 0
  11967. //>
  11968. //>
  11969. //< Submenu 1
  11970. :Submenu1_
  11971. Function 0 2 0
  11972. fPush 15
  11973. StaticSet1 3
  11974. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  11975. //It was not included in the main menu because that is handled elsewhere and is not needed.
  11976. push_1
  11977. StaticSet1 8
  11978. Call @DrawBackground_
  11979. Call @DrawNormalOptionHighlight_
  11980. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  11981. PushString "Self Mods"
  11982. Call @AddInfoBox_
  11983. PushString "Self Options"
  11984. Call @AddTitle_
  11985. fPush_1.0
  11986. PushString "God-Mode"
  11987. Call @AddOption_
  11988. fPush_2.0
  11989. PushString "Invisible"
  11990. Call @AddOption_
  11991. fPush_3.0
  11992. PushString "Flicker Mode"
  11993. Call @AddOption_
  11994. fPush_4.0
  11995. PushString "Remove Wanted"
  11996. Call @AddOption_
  11997. fPush_5.0
  11998. PushString "Clone Self"
  11999. Call @AddOption_
  12000. fPush_6.0
  12001. PushString "Heat-Vision"
  12002. Call @AddOption_
  12003. fPush_7.0
  12004. PushString "Night-Vision"
  12005. Call @AddOption_
  12006. fPush 8
  12007. PushString "Give Snowball"
  12008. Call @AddOption_
  12009. fPush 9
  12010. PushString "Fly Away (For Superman Mod)"
  12011. Call @AddOption_
  12012. fPush 10
  12013. PushString "Super-Jump (L2 + Square)"
  12014. Call @AddOption_
  12015. fPush 11
  12016. PushString "Super-Run"
  12017. Call @AddOption_
  12018. fPush 12
  12019. PushString "Wash Player Loop"
  12020. Call @AddOption_
  12021. fPush 13
  12022. PushString "Rockstar Logo on shirt"
  12023. Call @AddOption_
  12024. fPush 14
  12025. PushString "Slow Motion (On)"
  12026. Call @AddOption_
  12027. fPush 15
  12028. PushString "Slow Motion (Off)"
  12029. Call @AddOption_
  12030. //Option's functions
  12031. Call @CheckAPressed_
  12032. push_1
  12033. JumpEQ @Submenu1Controller_
  12034. Jump @EndSubmenu1_
  12035. :Submenu1Controller_
  12036. PushString "SELECT"
  12037. Call @PlayFrontendSound_
  12038. StaticGet1 2
  12039. FtoI
  12040. Switch [1=@Godmode_][2=@Invisible_][3=@GhostMode_][4=@Sub1Op4_][5=@Sub1Op5_][6=@HeatVision_][7=@NightVision_][8=@Sub1Op8_][9=@Sub1Op9_][10=@PlayerSuperJump_][11=@PlayerSuperRun_][12=@PlayerWashPlayer_][13=@RockstarLogo_][14=@Slowmo_][15=@SlowMoOFF_]
  12041. :Godmode_
  12042. StaticGet1 10
  12043. Push1 28
  12044. CallNative "IS_BIT_SET" 2 1
  12045. JumpFalse @GodModeOn_
  12046. PushString "God Mode: ~r~Off"
  12047. PushS 2500
  12048. Call @MsgStuff_
  12049. pStatic1 10
  12050. Push1 28
  12051. CallNative "CLEAR_BIT" 2 0
  12052. Jump @EndSubmenu1_
  12053. :GodModeOn_
  12054. PushString "God Mode: ~g~On"
  12055. PushS 2500
  12056. Call @MsgStuff_
  12057. pStatic1 10
  12058. Push1 28
  12059. CallNative "SET_BIT" 2 0
  12060. Jump @EndSubmenu1_
  12061. :Invisible_
  12062. CallNative "PLAYER_PED_ID" 0 1
  12063. CallNative "IS_ENTITY_VISIBLE" 1 1
  12064. Not
  12065. JumpFalse @InvisibleOn_
  12066. PushString "Invisible: ~r~Off"
  12067. PushS 2500
  12068. Call @MsgStuff_
  12069. CallNative "PLAYER_PED_ID" 0 1
  12070. push_1
  12071. CallNative "SET_ENTITY_VISIBLE" 2 0
  12072. push_0
  12073. StaticSet2 494
  12074. Jump @EndSubmenu1_
  12075. :InvisibleOn_
  12076. PushString "Invisible: ~g~On"
  12077. PushS 2500
  12078. Call @MsgStuff_
  12079. CallNative "PLAYER_PED_ID" 0 1
  12080. push_0
  12081. CallNative "SET_ENTITY_VISIBLE" 2 0
  12082. push_1
  12083. StaticSet2 494
  12084. Jump @EndSubmenu1_
  12085. :GhostMode_
  12086. StaticGet1 10
  12087. Push1 31
  12088. CallNative "IS_BIT_SET" 2 1
  12089. JumpFalse @GhostModeOn_
  12090. pStatic1 10
  12091. Push1 31
  12092. CallNative "CLEAR_BIT" 2 0
  12093. Jump @EndSubmenu1_
  12094. :GhostModeOn_
  12095. pStatic1 10
  12096. Push1 31
  12097. CallNative "SET_BIT" 2 0
  12098. Jump @EndSubmenu1_
  12099. :Sub1Op4_
  12100. CallNative "PLAYER_ID" 0 1
  12101. push_0
  12102. push_0
  12103. CallNative "SET_PLAYER_WANTED_LEVEL" 3 0
  12104. CallNative "PLAYER_ID" 0 1
  12105. push_0
  12106. CallNative "SET_PLAYER_WANTED_LEVEL_NOW" 2 0
  12107. Jump @EndSubmenu1_
  12108. :Sub1Op5_
  12109. CallNative "PLAYER_PED_ID" 1 1
  12110. push_1
  12111. push_1
  12112. push_1
  12113. CallNative "CLONE_PED" 4 1
  12114. Drop
  12115. Jump @EndSubmenu1_
  12116. :HeatVision_
  12117. StaticGet2 439
  12118. push_0
  12119. JumpEQ @HeatVisionOn_
  12120. push_0
  12121. CallNative "SET_SEETHROUGH" 1 0
  12122. push_0
  12123. StaticSet2 439
  12124. Jump @EndSubmenu1_
  12125. :HeatVisionOn_
  12126. push_1
  12127. CallNative "SET_SEETHROUGH" 1 0
  12128. push_1
  12129. StaticSet2 439
  12130. Jump @EndSubmenu1_
  12131. :NightVision_
  12132. StaticGet2 440
  12133. push_0
  12134. JumpEQ @NightVisionOn_
  12135. push_0
  12136. CallNative "SET_NIGHTVISION" 1 0
  12137. push_0
  12138. StaticSet2 440
  12139. Jump @EndSubmenu1_
  12140. :NightVisionOn_
  12141. push_1
  12142. CallNative "SET_NIGHTVISION" 1 0
  12143. push_1
  12144. StaticSet2 440
  12145. Jump @EndSubmenu1_
  12146. :Sub1Op8_
  12147. CallNative "PLAYER_PED_ID" 0 1
  12148. Push 126349499
  12149. Push -1
  12150. Push 1
  12151. CallNative "GIVE_DELAYED_WEAPON_TO_PED" 4 0
  12152. Jump @EndSubmenu1_
  12153. :Sub1Op9_
  12154. CallNative "PLAYER_PED_ID" 0 1
  12155. push_1
  12156. CallNative "TASK_PARACHUTE" 2 0
  12157. Jump @EndSubmenu1_
  12158. :PlayerSuperJump_
  12159. StaticGet1 10
  12160. Push1 12
  12161. CallNative "IS_BIT_SET" 2 1
  12162. JumpFalse @PlayerSuperJumpOn_
  12163. pStatic1 10
  12164. Push1 12
  12165. CallNative "CLEAR_BIT" 2 0
  12166. Jump @EndSubmenu1_
  12167. :PlayerSuperJumpOn_
  12168. pStatic1 10
  12169. Push1 12
  12170. CallNative "SET_BIT" 2 0
  12171. Jump @EndSubmenu1_
  12172. :PlayerSuperRun_
  12173. StaticGet1 10
  12174. Push1 11
  12175. CallNative "IS_BIT_SET" 2 1
  12176. JumpFalse @PlayerSuperRunOn_
  12177. pStatic1 10
  12178. Push1 11
  12179. CallNative "CLEAR_BIT" 2 0
  12180. Jump @EndSubmenu1_
  12181. :PlayerSuperRunOn_
  12182. pStatic1 10
  12183. Push1 11
  12184. CallNative "SET_BIT" 2 0
  12185. Jump @EndSubmenu1_
  12186. :PlayerWashPlayer_
  12187. StaticGet1 10
  12188. Push1 14
  12189. CallNative "IS_BIT_SET" 2 1
  12190. JumpFalse @PlayerWashPlayerOn_
  12191. pStatic1 10
  12192. Push1 14
  12193. CallNative "CLEAR_BIT" 2 0
  12194. Jump @EndSubmenu1_
  12195. :PlayerWashPlayerOn_
  12196. pStatic1 10
  12197. Push1 14
  12198. CallNative "SET_BIT" 2 0
  12199. Jump @EndSubmenu1_
  12200. :RockstarLogo_
  12201. PushString "R* Logo Applied"
  12202. PushS 2500
  12203. Call @MsgStuff_
  12204. CallNative "PLAYER_PED_ID" 0 1
  12205. Push 1398869298
  12206. Neg
  12207. Push 1730534702
  12208. Neg
  12209. CallNative "UNK_70559AC7" 3 0
  12210. Jump @EndSubmenu1_
  12211. :Slowmo_
  12212. PushString "Slow Motion: ~g~On"
  12213. PushS 2500
  12214. Call @MsgStuff_
  12215. fPush 0.3000
  12216. CallNative "SET_TIME_SCALE" 1 0
  12217. Jump @EndSubmenu1_
  12218. :SlowMoOFF_
  12219. PushString "Slow Motion: ~r~Off"
  12220. PushS 2500
  12221. fPush 1
  12222. CallNative "SET_TIME_SCALE" 1 0
  12223. push_0
  12224. Jump @EndSubmenu1_
  12225. :EndSubmenu1_
  12226. Return 0 0
  12227. //>
  12228. //< Submenu 2
  12229. :Submenu2_
  12230. Function 0 2 0
  12231. fPush 15
  12232. StaticSet1 3
  12233. push_1
  12234. StaticSet1 8
  12235. Call @DrawBackground_
  12236. Call @DrawNormalOptionHighlight_
  12237. PushString "RaYRoD's Locations"
  12238. Call @AddInfoBox_
  12239. PushString "Teleport Options"
  12240. Call @AddTitle_
  12241. fPush_1.0
  12242. PushString "Ocean Coast's Cave"
  12243. Call @AddOption_
  12244. fPush_2.0
  12245. PushString "Crane (Scenic-View)"
  12246. Call @AddOption_
  12247. fPush_3.0
  12248. PushString "Far Island With Flowers"
  12249. Call @AddOption_
  12250. fPush_4.0
  12251. PushString "Maze Bank - City Helipad"
  12252. Call @AddOption_
  12253. fPush_5.0
  12254. PushString "Waterfall Watching"
  12255. Call @AddOption_
  12256. fPush_6.0
  12257. PushString "Canyon - Train Tracks"
  12258. Call @AddOption_
  12259. fPush_7.0
  12260. PushString "Mount. Chiliad"
  12261. Call @AddOption_
  12262. fPush 8
  12263. PushString "Mount. Chiliad (Scenic-View)"
  12264. Call @AddOption_
  12265. fPush 9
  12266. PushString "Ammunation (City)"
  12267. Call @AddOption_
  12268. fPush 10
  12269. PushString "Jet Spawn Point (1)"
  12270. Call @AddOption_
  12271. fPush 11
  12272. PushString "Jet Spawn Point (2)"
  12273. Call @AddOption_
  12274. fPush 12
  12275. PushString "500k Apartment (Outside)"
  12276. Call @AddOption_
  12277. fPush 13
  12278. PushString "10 Car Garage"
  12279. Call @AddOption_
  12280. fPush 14
  12281. PushString "Ponsonboy's Clothing"
  12282. Call @AddOption_
  12283. fPush 15
  12284. PushString "Private Mountain's Pool"
  12285. Call @AddOption_
  12286. //Highlight
  12287. //You can do this if you want code executed when the option is highlighted.
  12288. //Its a a lot like the code for when you select an option except it is not monitoring for a button press.
  12289. Call @CheckAPressed_
  12290. push_1
  12291. JumpEQ @Submenu2Controller_
  12292. Jump @EndSubmenu2_
  12293. :Submenu2Controller_
  12294. PushString "SELECT"
  12295. Call @PlayFrontendSound_
  12296. StaticGet1 2
  12297. FtoI
  12298. Switch [1=@Sub2Op1_][2=@Sub2Op2_][3=@Sub2Op3_][4=@Sub2Op4_][5=@Sub2Op5_][6=@Sub2Op6_][7=@Sub2Op7_][8=@Sub2Op8_][9=@Sub2Op9_][10=@Sub2Op10_][11=@Sub2Op11_][12=@Sub2Op12_][13=@Sub2Op13_][14=@Sub2Op14_][15=@Sub2Op15_]
  12299. :Sub2Op1_
  12300. CallNative "PLAYER_PED_ID" 0 1
  12301. fPush 3062.855
  12302. fPush 2214.975
  12303. fPush 3.381231
  12304. push_1
  12305. push_0
  12306. push_0
  12307. push_1
  12308. CallNative "SET_ENTITY_COORDS" 8 0
  12309. Jump @EndSubmenu2_
  12310. :Sub2Op2_
  12311. CallNative "PLAYER_PED_ID" 0 1
  12312. fPush -119.859985
  12313. fPush -976.43866
  12314. fPush 306.3385
  12315. push_1
  12316. push_0
  12317. push_0
  12318. push_1
  12319. CallNative "SET_ENTITY_COORDS" 8 0
  12320. Jump @EndSubmenu2_
  12321. :Sub2Op3_
  12322. CallNative "PLAYER_PED_ID" 0 1
  12323. fPush -125.6544
  12324. fPush 7271.8940
  12325. fPush 16.7366
  12326. push_1
  12327. push_0
  12328. push_0
  12329. push_1
  12330. CallNative "SET_ENTITY_COORDS" 8 0
  12331. Jump @EndSubmenu2_
  12332. :Sub2Op4_
  12333. CallNative "PLAYER_PED_ID" 0 1
  12334. fPush -74.94243
  12335. fPush -818.63446
  12336. fPush 326.174347
  12337. push_1
  12338. push_0
  12339. push_0
  12340. push_1
  12341. CallNative "SET_ENTITY_COORDS" 8 0
  12342. Jump @EndSubmenu2_
  12343. :Sub2Op5_
  12344. CallNative "PLAYER_PED_ID" 0 1
  12345. fPush -540.4822
  12346. fPush 4402.3590
  12347. fPush 34.3786
  12348. push_1
  12349. push_0
  12350. push_0
  12351. push_1
  12352. CallNative "SET_ENTITY_COORDS" 8 0
  12353. Jump @EndSubmenu2_
  12354. :Sub2Op6_
  12355. CallNative "PLAYER_PED_ID" 0 1
  12356. fPush -530.6747
  12357. fPush 4534.9960
  12358. fPush 89.0457
  12359. push_1
  12360. push_0
  12361. push_0
  12362. push_1
  12363. CallNative "SET_ENTITY_COORDS" 8 0
  12364. Jump @EndSubmenu2_
  12365. :Sub2Op7_
  12366. CallNative "PLAYER_PED_ID" 0 1
  12367. fPush 489.3171
  12368. fPush 5580.8870
  12369. fPush 792.8515
  12370. push_1
  12371. push_0
  12372. push_0
  12373. push_1
  12374. CallNative "SET_ENTITY_COORDS" 8 0
  12375. Jump @EndSubmenu2_
  12376. :Sub2Op8_
  12377. CallNative "PLAYER_PED_ID" 0 1
  12378. fPush 413.4706
  12379. fPush 5572.8210
  12380. fPush 779.6819
  12381. push_1
  12382. push_0
  12383. push_0
  12384. push_1
  12385. CallNative "SET_ENTITY_COORDS" 8 0
  12386. Jump @EndSubmenu2_
  12387. :Sub2Op9_
  12388. CallNative "PLAYER_PED_ID" 0 1
  12389. fPush 247.3652
  12390. fPush -45.8777
  12391. fPush 69.9411
  12392. push_1
  12393. push_0
  12394. push_0
  12395. push_1
  12396. CallNative "SET_ENTITY_COORDS" 8 0
  12397. Jump @EndSubmenu2_
  12398. :Sub2Op10_
  12399. CallNative "PLAYER_PED_ID" 0 1
  12400. fPush -2019.0620
  12401. fPush 2956.4530
  12402. fPush 32.8101
  12403. push_1
  12404. push_0
  12405. push_0
  12406. push_1
  12407. CallNative "SET_ENTITY_COORDS" 8 0
  12408. Jump @EndSubmenu2_
  12409. :Sub2Op11_
  12410. CallNative "PLAYER_PED_ID" 0 1
  12411. fPush -2148.3510
  12412. fPush 3031.7620
  12413. fPush 32.8099
  12414. push_1
  12415. push_0
  12416. push_0
  12417. push_1
  12418. CallNative "SET_ENTITY_COORDS" 8 0
  12419. Jump @EndSubmenu2_
  12420. :Sub2Op12_
  12421. CallNative "PLAYER_PED_ID" 0 1
  12422. fPush -775.0500
  12423. fPush 312.3200
  12424. fPush 85.7000
  12425. push_1
  12426. push_0
  12427. push_0
  12428. push_1
  12429. CallNative "SET_ENTITY_COORDS" 8 0
  12430. Jump @EndSubmenu2_
  12431. :Sub2Op13_
  12432. CallNative "PLAYER_PED_ID" 0 1
  12433. fPush 229.3570
  12434. fPush -992.9106
  12435. fPush -98.9999
  12436. push_1
  12437. push_0
  12438. push_0
  12439. push_1
  12440. CallNative "SET_ENTITY_COORDS" 8 0
  12441. Jump @EndSubmenu2_
  12442. :Sub2Op14_
  12443. CallNative "PLAYER_PED_ID" 0 1
  12444. fPush -159.2996
  12445. fPush -304.3292
  12446. fPush 39.7333
  12447. push_1
  12448. push_0
  12449. push_0
  12450. push_1
  12451. CallNative "SET_ENTITY_COORDS" 8 0
  12452. Jump @EndSubmenu2_
  12453. :Sub2Op15_
  12454. CallNative "PLAYER_PED_ID" 0 1
  12455. fPush 2559.2640
  12456. fPush 6184.1520
  12457. fPush 162.7809
  12458. push_1
  12459. push_0
  12460. push_0
  12461. push_1
  12462. CallNative "SET_ENTITY_COORDS" 8 0
  12463. Jump @EndSubmenu2_
  12464. :EndSubmenu2_
  12465. Return 0 0
  12466. //>
  12467.  
  12468. //< Submenu 3
  12469. :Submenu3_
  12470. Function 0 2 0
  12471. fPush 10
  12472. StaticSet1 3
  12473. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  12474. //It was not included in the main menu because that is handled elsewhere and is not needed.
  12475. push_1
  12476. StaticSet1 8
  12477. Call @DrawBackground_
  12478. Call @DrawNormalOptionHighlight_
  12479. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  12480. PushString "Tunables Mods"
  12481. Call @AddInfoBox_
  12482. PushString "Tunables"
  12483. Call @AddTitle_
  12484. fPush_1.0
  12485. PushString "Xmas Snow (On)"
  12486. Call @AddOption_
  12487. fPush_2.0
  12488. PushString "Deleted Cars (Not Updated)"
  12489. Call @AddOption_
  12490. fPush_3.0
  12491. PushString "Purchase Firework Launcher"
  12492. Call @AddOption_
  12493. fPush_4.0
  12494. PushString "Valentines Content (Not Updated)"
  12495. Call @AddOption_
  12496. fPush_5.0
  12497. PushString "Independence Content (Not Updated)"
  12498. Call @AddOption_
  12499. fPush_6.0
  12500. PushString "Xmas Content (Not Updated)"
  12501. Call @AddOption_
  12502. fPush_7.0
  12503. PushString "CTF Content"
  12504. Call @AddOption_
  12505. fPush 8
  12506. PushString "LTS Content"
  12507. Call @AddOption_
  12508. fPush 9
  12509. PushString "Enable Snowballs"
  12510. Call @AddOption_
  12511. fPush 10
  12512. PushString "Xmas Snow (Off)"
  12513. Call @AddOption_
  12514. //Option's functions
  12515. Call @CheckAPressed_
  12516. push_1
  12517. JumpEQ @Submenu3Controller_
  12518. Jump @EndSubmenu3_
  12519. :Submenu3Controller_
  12520. PushString "SELECT"
  12521. Call @PlayFrontendSound_
  12522. StaticGet1 2
  12523. FtoI
  12524. Switch [1=@SnowOn_][2=@DeletedCars_][3=@Fireworks_][4=@ValentinesDay_][5=@Independence_][6=@XmasContent_][7=@CTFContent_][8=@LTSContent_][9=@EnableSnowballs_][10=@SnowOff_]
  12525. :SnowOn_
  12526. push_1
  12527. pGlobal3 262145
  12528. SetImmediate2 4710
  12529. Jump @EndSubmenu3_
  12530. :DeletedCars_
  12531. push_1
  12532. pGlobal3 262145
  12533. SetImmediate2 5988
  12534. push_1
  12535. pGlobal3 262145
  12536. SetImmediate2 5987
  12537. Jump @EndSubmenu3_
  12538. :Fireworks2_
  12539. push_0
  12540. pGlobal3 262145
  12541. SetImmediate2 6005
  12542. Jump @EndSubmenu3_
  12543. :ValentinesDay_
  12544. push_1
  12545. pGlobal3 262145
  12546. SetImmediate2 4805
  12547. Jump @EndSubmenu3_
  12548. :Independence_
  12549. push_1
  12550. pGlobal3 262145
  12551. SetImmediate2 5974
  12552. Jump @EndSubmenu3_
  12553. :XmasContent_
  12554. push_1
  12555. pGlobal3 262145
  12556. SetImmediate2 4719
  12557. Jump @EndSubmenu3_
  12558. :CTFContent_
  12559. push_1
  12560. pGlobal3 262145
  12561. SetImmediate2 4853
  12562. Jump @EndSubmenu3_
  12563. :LTSContent_
  12564. push_1
  12565. pGlobal3 262145
  12566. SetImmediate2 4854
  12567. Jump @EndSubmenu3_
  12568. :EnableSnowballs_
  12569. push_0
  12570. pGlobal3 262145
  12571. SetImmediate2 6867
  12572. Jump @EndSubmenu3_
  12573. :SnowOff_
  12574. push_0
  12575. pGlobal3 262145
  12576. SetImmediate2 4710
  12577. Jump @EndSubmenu3_
  12578. :EndSubmenu3_
  12579. Return 0 0
  12580. //< Submenu 4
  12581. :Submenu4_
  12582. Function 0 2 0
  12583. fPush 13
  12584. StaticSet1 3
  12585. push_1
  12586. StaticSet1 8
  12587. Call @DrawBackground_
  12588. Call @DrawNormalOptionHighlight_
  12589. PushString "Vehicle Modifications"
  12590. Call @AddInfoBox_
  12591. PushString "Vehicle Options"
  12592. Call @AddTitle_
  12593. fPush_1.0
  12594. PushString "Paint Vehicle Random"
  12595. Call @AddOption_
  12596. fPush_2.0
  12597. PushString "Invisible (Toggle)"
  12598. Call @AddOption_
  12599. fPush_3.0
  12600. PushString "Fix vehicle"
  12601. Call @AddOption_
  12602. fPush_4.0
  12603. PushString "Super Vehicle-Boost"
  12604. Call @AddOption_
  12605. fPush_5.0
  12606. PushString "Super Speed (R2 + Square)"
  12607. Call @AddOption_
  12608. fPush_6.0
  12609. PushString "Super Jump (R2 + Right)"
  12610. Call @AddOption_
  12611. fPush_7.0
  12612. PushString "Vehicle Fix (Loop)"
  12613. Call @AddOption_
  12614. fPush 8
  12615. PushString "Rainbow Vehicle"
  12616. Call @AddOption_
  12617. fPush 9
  12618. PushString "Vehicle God-Mode (Toggle)"
  12619. Call @AddOption_
  12620. fPush 10
  12621. PushString "Vehicle God-Mode (Loop)"
  12622. Call @AddOption_
  12623. fPush 11
  12624. PushString "Teleport in Closest Vehicle"
  12625. Call @AddOption_
  12626. fPush 12
  12627. PushString "Personal Vehicle Options---"
  12628. Call @AddOption_
  12629. //Highlight
  12630. //The info box is not just limited to a whole submenu. You can display it on an option highlight as well.
  12631. Call @CheckAPressed_
  12632. push_1
  12633. JumpEQ @Submenu4Controller_
  12634. Jump @EndSubmenu4_
  12635. :Submenu4Controller_
  12636. PushString "SELECT"
  12637. Call @PlayFrontendSound_
  12638. StaticGet1 2
  12639. FtoI
  12640. Switch [1=@Sub4Op1_][2=@Sub4Op2_][3=@Sub4Op3_][4=@Sub4Op4_][5=@PlayerSuperCarSpeed_][6=@PlayerCarJump_][7=@PlayerCarFixLoop_][8=@PlayerCarRainbow_][9=@VehicleGodMode_][10=@VehicleGodModeLoop_][11=@TeleportToClosestVehicle_][12=@PersonalVehicleOps_]
  12641. :Sub4Op1_
  12642. CallNative "PLAYER_PED_ID" 0 1
  12643. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  12644. JumpFalse @EndSubmenu4_
  12645. CallNative "PLAYER_PED_ID" 0 1
  12646. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  12647. push_0
  12648. Push 157
  12649. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  12650. push_0
  12651. Push 157
  12652. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  12653. CallNative "SET_VEHICLE_COLOURS" 3 0
  12654. Jump @EndSubmenu4_
  12655. :Sub4Op2_
  12656. CallNative "PLAYER_PED_ID" 0 1
  12657. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  12658. JumpFalse @EndSubmenu4_
  12659. CallNative "PLAYER_PED_ID" 0 1
  12660. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  12661. CallNative "IS_ENTITY_VISIBLE" 1 1
  12662. JumpFalse @Sub4Op3_
  12663. CallNative "PLAYER_PED_ID" 0 1
  12664. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  12665. push_0
  12666. CallNative "SET_ENTITY_VISIBLE" 2 0
  12667. Jump @EndSubmenu4_
  12668. :Sub4Op3_
  12669. CallNative "PLAYER_PED_ID" 0 1
  12670. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  12671. push_1
  12672. CallNative "SET_ENTITY_VISIBLE" 2 0
  12673. Jump @EndSubmenu4_
  12674. :Sub4Op4_
  12675. CallNative "PLAYER_PED_ID" 0 1
  12676. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  12677. JumpFalse @EndSubmenu4_
  12678. CallNative "PLAYER_PED_ID" 0 1
  12679. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  12680. CallNative "SET_VEHICLE_FIXED" 1 0
  12681. Jump @EndSubmenu4_
  12682. :Sub4Op5_
  12683. CallNative "PLAYER_PED_ID" 0 1
  12684. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  12685. JumpFalse @EndSubmenu4_
  12686. CallNative "PLAYER_PED_ID" 0 1
  12687. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  12688. fPush 100
  12689. CallNative "SET_VEHICLE_FORWARD_SPEED" 2 0
  12690. Jump @EndSubmenu4_
  12691. :PlayerSuperCarSpeed_
  12692. StaticGet1 10
  12693. Push1 13
  12694. CallNative "IS_BIT_SET" 2 1
  12695. JumpFalse @PlayerSuperCarSpeedOn_
  12696. pStatic1 10
  12697. Push1 13
  12698. CallNative "CLEAR_BIT" 2 0
  12699. Jump @EndSubmenu4_
  12700. :PlayerSuperCarSpeedOn_
  12701. pStatic1 10
  12702. Push1 13
  12703. CallNative "SET_BIT" 2 0
  12704. Jump @EndSubmenu4_
  12705. :PlayerCarJump_
  12706. StaticGet1 10
  12707. Push1 15
  12708. CallNative "IS_BIT_SET" 2 1
  12709. JumpFalse @PlayerCarJumpOn_
  12710. pStatic1 10
  12711. Push1 15
  12712. CallNative "CLEAR_BIT" 2 0
  12713. Jump @EndSubmenu4_
  12714. :PlayerCarJumpOn_
  12715. pStatic1 10
  12716. Push1 15
  12717. CallNative "SET_BIT" 2 0
  12718. Jump @EndSubmenu4_
  12719. :PlayerCarFixLoop_
  12720. StaticGet1 10
  12721. Push1 16
  12722. CallNative "IS_BIT_SET" 2 1
  12723. JumpFalse @PlayerCarFixLoopOn_
  12724. pStatic1 10
  12725. Push1 16
  12726. CallNative "CLEAR_BIT" 2 0
  12727. Jump @EndSubmenu4_
  12728. :PlayerCarFixLoopOn_
  12729. pStatic1 10
  12730. Push1 16
  12731. CallNative "SET_BIT" 2 0
  12732. Jump @EndSubmenu4_
  12733. :PlayerCarRainbow_
  12734. StaticGet1 10
  12735. Push1 18
  12736. CallNative "IS_BIT_SET" 2 1
  12737. JumpFalse @PlayerCarRainbowOn_
  12738. pStatic1 10
  12739. Push1 18
  12740. CallNative "CLEAR_BIT" 2 0
  12741. Jump @EndSubmenu4_
  12742. :PlayerCarRainbowOn_
  12743. pStatic1 10
  12744. Push1 18
  12745. CallNative "SET_BIT" 2 0
  12746. :VehicleGodMode_
  12747. StaticGet2 442
  12748. push_0
  12749. JumpEQ @VehicleGodmodeOn_
  12750. CallNative "PLAYER_PED_ID" 0 1
  12751. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  12752. JumpFalse @EndSubmenu4_
  12753. CallNative "PLAYER_PED_ID" 0 1
  12754. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  12755. push_0
  12756. push_1
  12757. CallNative "SET_ENTITY_INVINCIBLE" 3 0
  12758. push_0
  12759. StaticSet2 442
  12760. Jump @EndSubmenu4_
  12761. :VehicleGodmodeOn_
  12762. CallNative "PLAYER_PED_ID" 0 1
  12763. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  12764. JumpFalse @EndSubmenu4_
  12765. CallNative "PLAYER_PED_ID" 0 1
  12766. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  12767. push_1
  12768. push_1
  12769. CallNative "SET_ENTITY_INVINCIBLE" 3 0
  12770. push_1
  12771. StaticSet2 442
  12772. Jump @EndSubmenu4_
  12773. :VehicleGodModeLoop_
  12774. StaticGet1 10
  12775. Push1 29
  12776. CallNative "IS_BIT_SET" 2 1
  12777. JumpFalse @VehicleGodModeLoopOn_
  12778. pStatic1 10
  12779. Push1 29
  12780. CallNative "CLEAR_BIT" 2 0
  12781. Jump @EndSubmenu4_
  12782. :VehicleGodModeLoopOn_
  12783. pStatic1 10
  12784. Push1 29
  12785. CallNative "SET_BIT" 2 0
  12786. Jump @EndSubmenu4_
  12787. :TeleportToClosestVehicle_
  12788. CallNative "PLAYER_PED_ID" 0 1
  12789. push_0
  12790. CallNative "GET_ENTITY_COORDS" 2 3
  12791. fPush 100
  12792. push_0
  12793. push_4
  12794. CallNative "GET_CLOSEST_VEHICLE" 6 1
  12795. setF1 3
  12796. getF1 3
  12797. CallNative "DOES_ENTITY_EXIST" 1 1
  12798. JumpFalse @EndSubmenu4_
  12799. CallNative "PLAYER_PED_ID" 0 1
  12800. getF1 3
  12801. push_-1
  12802. CallNative "SET_PED_INTO_VEHICLE" 3 0
  12803. Jump @EndSubmenu4_
  12804. :PersonalVehicleOps_
  12805. Push 15
  12806. StaticSet1 1
  12807. Call @ChangeSubmenu_
  12808. Jump @EndSubmenu4_
  12809. :EndSubmenu4_
  12810. Return 0 0
  12811.  
  12812. //< Stats
  12813. :Stats_
  12814. Function 0 2 0
  12815. fPush 11
  12816. StaticSet1 3
  12817. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  12818. //It was not included in the main menu because that is handled elsewhere and is not needed.
  12819. push_1
  12820. StaticSet1 8
  12821. Call @DrawBackground_
  12822. Call @DrawNormalOptionHighlight_
  12823. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  12824. PushString "Stat Editor"
  12825. Call @AddInfoBox_
  12826. PushString "Rank Editor"
  12827. Call @AddTitle_
  12828. fPush_1.0
  12829. PushString "Rank 120"
  12830. Call @AddOption_
  12831. fPush_2.0
  12832. PushString "Rank 200"
  12833. Call @AddOption_
  12834. fPush_3.0
  12835. PushString "Rank 350"
  12836. Call @AddOption_
  12837. fPush_4.0
  12838. PushString "Rank 450"
  12839. Call @AddOption_
  12840. fPush_5.0
  12841. PushString "Rank 500"
  12842. Call @AddOption_
  12843. fPush_6.0
  12844. PushString "Rank 1337"
  12845. Call @AddOption_
  12846. fPush_7.0
  12847. PushString "Rank 8000"
  12848. Call @AddOption_
  12849. fPush 8
  12850. PushString "Rank 10"
  12851. Call @AddOption_
  12852. fPush 9
  12853. PushString "Rank 1"
  12854. Call @AddOption_
  12855. fPush 10
  12856. PushString "Custom Input"
  12857. Call @AddOption_
  12858. fPush 11
  12859. PushString "Character 2"
  12860. Call @AddOption_
  12861. //Option's functions
  12862. Call @CheckAPressed_
  12863. push_1
  12864. JumpEQ @StatsController_
  12865. Jump @EndStats_
  12866. :StatsController_
  12867. PushString "SELECT"
  12868. Call @PlayFrontendSound_
  12869. StaticGet1 2
  12870. FtoI
  12871. Switch [1=@Rank120_][2=@Rank200_][3=@Rank350_][4=@Rank450_][5=@Rank500_][6=@Rank1337_][7=@Rank8000_][8=@Rank10_][9=@Rank1_][10=@CustomRankPoints_][11=@RankCharacter2_]
  12872. :Rank120_
  12873. PushString "mp0_char_xp_fm"
  12874. CallNative "GET_HASH_KEY" 1 1
  12875. Push 2165850
  12876. push_1
  12877. CallNative "STAT_SET_INT" 3 1
  12878. Jump @EndStats_
  12879. :Rank200_
  12880. PushString "mp0_char_xp_fm"
  12881. CallNative "GET_HASH_KEY" 1 1
  12882. Push 4691850
  12883. push_1
  12884. CallNative "STAT_SET_INT" 3 1
  12885. Jump @EndStats_
  12886. :Rank350_
  12887. PushString "mp0_char_xp_fm"
  12888. CallNative "GET_HASH_KEY" 1 1
  12889. Push 10290600
  12890. push_1
  12891. CallNative "STAT_SET_INT" 3 1
  12892. Jump @EndStats_
  12893. :Rank450_
  12894. PushString "mp0_char_xp_fm"
  12895. CallNative "GET_HASH_KEY" 1 1
  12896. Push 14648100
  12897. push_1
  12898. CallNative "STAT_SET_INT" 3 1
  12899. Jump @EndStats_
  12900. :Rank500_
  12901. PushString "mp0_char_xp_fm"
  12902. CallNative "GET_HASH_KEY" 1 1
  12903. Push 17014350
  12904. push_1
  12905. CallNative "STAT_SET_INT" 3 1
  12906. Jump @EndStats_
  12907. :Rank1337_
  12908. PushString "mp0_char_xp_fm"
  12909. CallNative "GET_HASH_KEY" 1 1
  12910. Push 75185850
  12911. push_1
  12912. CallNative "STAT_SET_INT" 3 1
  12913. Jump @EndStats_
  12914. :Rank8000_
  12915. PushString "mp0_char_xp_fm"
  12916. CallNative "GET_HASH_KEY" 1 1
  12917. Push 1787576850
  12918. push_1
  12919. CallNative "STAT_SET_INT" 3 1
  12920. Jump @EndStats_
  12921. :Rank10_
  12922. PushString "mp0_char_xp_fm"
  12923. CallNative "GET_HASH_KEY" 1 1
  12924. Push 24000
  12925. push_1
  12926. CallNative "STAT_SET_INT" 3 1
  12927. Jump @EndStats_
  12928. :Rank1_
  12929. PushString "mp0_char_xp_fm"
  12930. CallNative "GET_HASH_KEY" 1 1
  12931. Push 0
  12932. push_1
  12933. CallNative "STAT_SET_INT" 3 1
  12934. Jump @EndStats_
  12935. :CustomRankPoints_
  12936. push_0
  12937. StaticSet1 12
  12938. Call @PromptUser_
  12939. pStatic1 12
  12940. CallNative "STRING_TO_INT" 2 1
  12941. Drop
  12942. PushString "mp0_char_xp_fm"
  12943. StaticGet1 12
  12944. Call @StatSetInt_
  12945. Jump @EndStats_
  12946. :RankCharacter2_
  12947. Push 23
  12948. StaticSet1 1
  12949. Call @ChangeSubmenu_
  12950. Jump @EndStats_
  12951. :EndStats_
  12952. Return 0 0
  12953.  
  12954. //< Stats
  12955. :RankP2_
  12956. Function 0 2 0
  12957. fPush 11
  12958. StaticSet1 3
  12959. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  12960. //It was not included in the main menu because that is handled elsewhere and is not needed.
  12961. Push 22
  12962. StaticSet1 8
  12963. Call @DrawBackground_
  12964. Call @DrawNormalOptionHighlight_
  12965. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  12966. PushString "Character 2"
  12967. Call @AddInfoBox_
  12968. PushString "Rank Editor"
  12969. Call @AddTitle_
  12970. fPush_1.0
  12971. PushString "Rank 120"
  12972. Call @AddOption_
  12973. fPush_2.0
  12974. PushString "Rank 200"
  12975. Call @AddOption_
  12976. fPush_3.0
  12977. PushString "Rank 350"
  12978. Call @AddOption_
  12979. fPush_4.0
  12980. PushString "Rank 450"
  12981. Call @AddOption_
  12982. fPush_5.0
  12983. PushString "Rank 500"
  12984. Call @AddOption_
  12985. fPush_6.0
  12986. PushString "Rank 1337"
  12987. Call @AddOption_
  12988. fPush_7.0
  12989. PushString "Rank 8000"
  12990. Call @AddOption_
  12991. fPush 8
  12992. PushString "Rank 10"
  12993. Call @AddOption_
  12994. fPush 9
  12995. PushString "Rank 1"
  12996. Call @AddOption_
  12997. fPush 10
  12998. PushString "Custom Input"
  12999. Call @AddOption_
  13000. fPush 11
  13001. PushString "Cash Options"
  13002. Call @AddOption_
  13003. //Option's functions
  13004. Call @CheckAPressed_
  13005. push_1
  13006. JumpEQ @RankP2Controller_
  13007. Jump @EndRankP2_
  13008. :RankP2Controller_
  13009. PushString "SELECT"
  13010. Call @PlayFrontendSound_
  13011. StaticGet1 2
  13012. FtoI
  13013. Switch [1=@Rank120p2_][2=@Rank200p2_][3=@Rank350p2_][4=@Rank450p2_][5=@Rank500p2_][6=@Rank1337p2_][7=@Rank8000p2_][8=@Rank10p2_][9=@Rank1p2_][10=@CustomRankPointsp2_][11=@CashEditor_]
  13014. :Rank120p2_
  13015. PushString "mp1_char_xp_fm"
  13016. CallNative "GET_HASH_KEY" 1 1
  13017. Push 2165850
  13018. push_1
  13019. CallNative "STAT_SET_INT" 3 1
  13020. Jump @EndRankP2_
  13021. :Rank200p2_
  13022. PushString "mp1_char_xp_fm"
  13023. CallNative "GET_HASH_KEY" 1 1
  13024. Push 4691850
  13025. push_1
  13026. CallNative "STAT_SET_INT" 3 1
  13027. Jump @EndRankP2_
  13028. :Rank350p2_
  13029. PushString "mp1_char_xp_fm"
  13030. CallNative "GET_HASH_KEY" 1 1
  13031. Push 10290600
  13032. push_1
  13033. CallNative "STAT_SET_INT" 3 1
  13034. Jump @EndRankP2_
  13035. :Rank450p2_
  13036. PushString "mp1_char_xp_fm"
  13037. CallNative "GET_HASH_KEY" 1 1
  13038. Push 14648100
  13039. push_1
  13040. CallNative "STAT_SET_INT" 3 1
  13041. Jump @EndRankP2_
  13042. :Rank500p2_
  13043. PushString "mp1_char_xp_fm"
  13044. CallNative "GET_HASH_KEY" 1 1
  13045. Push 17014350
  13046. push_1
  13047. CallNative "STAT_SET_INT" 3 1
  13048. Jump @EndRankP2_
  13049. :Rank1337p2_
  13050. PushString "mp1_char_xp_fm"
  13051. CallNative "GET_HASH_KEY" 1 1
  13052. Push 75185850
  13053. push_1
  13054. CallNative "STAT_SET_INT" 3 1
  13055. Jump @EndRankP2_
  13056. :Rank8000p2_
  13057. PushString "mp1_char_xp_fm"
  13058. CallNative "GET_HASH_KEY" 1 1
  13059. Push 1787576850
  13060. push_1
  13061. CallNative "STAT_SET_INT" 3 1
  13062. Jump @EndRankP2_
  13063. :Rank10p2_
  13064. PushString "mp1_char_xp_fm"
  13065. CallNative "GET_HASH_KEY" 1 1
  13066. Push 24000
  13067. push_1
  13068. CallNative "STAT_SET_INT" 3 1
  13069. Jump @EndRankP2_
  13070. :Rank1p2_
  13071. PushString "mp1_char_xp_fm"
  13072. CallNative "GET_HASH_KEY" 1 1
  13073. Push 0
  13074. push_1
  13075. CallNative "STAT_SET_INT" 3 1
  13076. Jump @EndRankP2_
  13077. :CustomRankPointsp2_
  13078. push_0
  13079. StaticSet1 12
  13080. Call @PromptUser_
  13081. pStatic1 12
  13082. CallNative "STRING_TO_INT" 2 1
  13083. Drop
  13084. PushString "mp1_char_xp_fm"
  13085. StaticGet1 12
  13086. Call @StatSetInt_
  13087. Jump @EndRankP2_
  13088. :CashEditor_
  13089. Push 24
  13090. StaticSet1 1
  13091. Call @ChangeSubmenu_
  13092. Jump @EndRankP2_
  13093. :EndRankP2_
  13094. Return 0 0
  13095.  
  13096. //< Cash Editor
  13097. :CashOptions_
  13098. Function 0 2 0
  13099. fPush_4.0
  13100. StaticSet1 3
  13101. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  13102. //It was not included in the main menu because that is handled elsewhere and is not needed.
  13103. Push 23
  13104. StaticSet1 8
  13105. Call @DrawBackground_
  13106. Call @DrawNormalOptionHighlight_
  13107. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  13108. PushString "Cash Options"
  13109. Call @AddInfoBox_
  13110. PushString "Cash Editor"
  13111. Call @AddTitle_
  13112. fPush_1.0
  13113. PushString "5 Million to Bank"
  13114. Call @AddOption_
  13115. fPush_2.0
  13116. PushString "10 Million To Bank"
  13117. Call @AddOption_
  13118. fPush_3.0
  13119. PushString "Amount To Add"
  13120. Call @AddOption_
  13121. fPush_4.0
  13122. PushString "Unlock Options"
  13123. Call @AddOption_
  13124. //Option's functions
  13125. Call @CheckAPressed_
  13126. push_1
  13127. JumpEQ @CashOptionsController_
  13128. Jump @EndCashOptions_
  13129. :CashOptionsController_
  13130. PushString "SELECT"
  13131. Call @PlayFrontendSound_
  13132. StaticGet1 2
  13133. FtoI
  13134. Switch [1=@5milltobank_][2=@10milltobank_][3=@Addtowallet_][4=@Unlocks_]
  13135. :5milltobank_
  13136. Push 5000000
  13137. CallNative "NETWORK_EARN_FROM_ROCKSTAR" 1 0
  13138. Jump @EndCashOptions_
  13139. :10milltobank_
  13140. Push 9999969
  13141. CallNative "NETWORK_EARN_FROM_ROCKSTAR" 1 0
  13142. Jump @EndCashOptions_
  13143. :Addtowallet_
  13144. push_0
  13145. StaticSet1 12
  13146. Call @PromptUser_
  13147. pStatic1 12
  13148. CallNative "STRING_TO_INT" 2 1
  13149. Drop
  13150. PushString "mp0_wallet_balance"
  13151. GetHash
  13152. StaticGet1 12
  13153. ItoF
  13154. CallNative "STAT_INCREMENT" 2 0
  13155. Jump @EndCashOptions_
  13156. :Unlocks_
  13157. Push 25
  13158. StaticSet1 1
  13159. Call @ChangeSubmenu_
  13160. Jump @EndCashOptions_
  13161. :EndCashOptions_
  13162. Return 0 0
  13163.  
  13164. //< Unlock
  13165. :UnlockOptions_
  13166. Function 0 2 0
  13167. fPush_4.0
  13168. StaticSet1 3
  13169. //This value is the submenu you go to when you go back a submenu. Always set this to the parent submenu's value in the main switch.
  13170. //It was not included in the main menu because that is handled elsewhere and is not needed.
  13171. Push 24
  13172. StaticSet1 8
  13173. Call @DrawBackground_
  13174. Call @DrawNormalOptionHighlight_
  13175. //You can add an info box at the top of your submenu function if you want it to display the entire time the submenu is running.
  13176. PushString "Unlock Stuff"
  13177. Call @AddInfoBox_
  13178. PushString "Unlocks"
  13179. Call @AddTitle_
  13180. fPush_1.0
  13181. PushString "Unlock Everything!"
  13182. Call @AddOption_
  13183. fPush_2.0
  13184. PushString "Aquire All Clothing"
  13185. Call @AddOption_
  13186. fPush_3.0
  13187. PushString "Max Snacks+Armour"
  13188. Call @AddOption_
  13189. fPush_4.0
  13190. PushString "Cheater Options"
  13191. Call @AddOption_
  13192. //Option's functions
  13193. Call @CheckAPressed_
  13194. push_1
  13195. JumpEQ @UnlockOptionsController_
  13196. Jump @EndUnlockOptions_
  13197. :UnlockOptionsController_
  13198. PushString "SELECT"
  13199. Call @PlayFrontendSound_
  13200. StaticGet1 2
  13201. FtoI
  13202. Switch [1=@UnlockEverything_][2=@UnlockHidden+DlcClothing_][3=@MaxInventory_][4=@CheaterOptions_]
  13203. :UnlockEverything_
  13204. PushString "Unlocked All"
  13205. PushS 2500
  13206. Call @PrintStringBottomCentre_
  13207. PushString "tattoo_fm_unlocks_0"
  13208. push_-1
  13209. Call @StatSetIntStatic23_
  13210. PushString "tattoo_fm_unlocks_1"
  13211. push_-1
  13212. Call @StatSetIntStatic23_
  13213. PushString "tattoo_fm_unlocks_2"
  13214. push_-1
  13215. Call @StatSetIntStatic23_
  13216. PushString "tattoo_fm_unlocks_3"
  13217. push_-1
  13218. Call @StatSetIntStatic23_
  13219. PushString "tattoo_fm_unlocks_4"
  13220. push_-1
  13221. Call @StatSetIntStatic23_
  13222. PushString "tattoo_fm_unlocks_5"
  13223. push_-1
  13224. Call @StatSetIntStatic23_
  13225. PushString "tattoo_fm_unlocks_6"
  13226. push_-1
  13227. Call @StatSetIntStatic23_
  13228. PushString "tattoo_fm_unlocks_7"
  13229. push_-1
  13230. Call @StatSetIntStatic23_
  13231. PushString "tattoo_fm_unlocks_8"
  13232. push_-1
  13233. Call @StatSetIntStatic23_
  13234. PushString "tattoo_fm_unlocks_9"
  13235. push_-1
  13236. Call @StatSetIntStatic23_
  13237. PushString "tattoo_fm_unlocks_10"
  13238. push_-1
  13239. Call @StatSetIntStatic23_
  13240. PushString "tattoo_fm_unlocks_11"
  13241. push_-1
  13242. Call @StatSetIntStatic23_
  13243. PushString "tattoo_fm_unlocks_12"
  13244. push_-1
  13245. Call @StatSetIntStatic23_
  13246. PushString "char_fm_carmod_1_unlck"
  13247. push_-1
  13248. Call @StatSetIntStatic23_
  13249. PushString "char_fm_carmod_2_unlck"
  13250. push_-1
  13251. Call @StatSetIntStatic23_
  13252. PushString "char_fm_carmod_3_unlck"
  13253. push_-1
  13254. Call @StatSetIntStatic23_
  13255. PushString "char_fm_carmod_4_unlck"
  13256. push_-1
  13257. Call @StatSetIntStatic23_
  13258. PushString "char_fm_carmod_5_unlck"
  13259. push_-1
  13260. Call @StatSetIntStatic23_
  13261. PushString "char_fm_carmod_6_unlck"
  13262. push_-1
  13263. Call @StatSetIntStatic23_
  13264. PushString "char_fm_carmod_7_unlck"
  13265. push_-1
  13266. Call @StatSetIntStatic23_
  13267. PushString "char_fm_clothes_1_unlck"
  13268. push_-1
  13269. Call @StatSetIntStatic23_
  13270. PushString "char_fm_clothes_2_unlck"
  13271. push_-1
  13272. Call @StatSetIntStatic23_
  13273. PushString "char_fm_clothes_3_unlck"
  13274. push_-1
  13275. Call @StatSetIntStatic23_
  13276. PushString "char_fm_clothes_4_unlck"
  13277. push_-1
  13278. Call @StatSetIntStatic23_
  13279. PushString "char_fm_clothes_5_unlck"
  13280. push_-1
  13281. Call @StatSetIntStatic23_
  13282. PushString "char_fm_clothes_6_unlck"
  13283. push_-1
  13284. Call @StatSetIntStatic23_
  13285. PushString "char_fm_clothes_7_unlck"
  13286. push_-1
  13287. Call @StatSetIntStatic23_
  13288. PushString "char_fm_clothes_8_unlck"
  13289. push_-1
  13290. Call @StatSetIntStatic23_
  13291. PushString "char_fm_clothes_9_unlck"
  13292. push_-1
  13293. Call @StatSetIntStatic23_
  13294. PushString "char_fm_clothes_10_unlck"
  13295. push_-1
  13296. Call @StatSetIntStatic23_
  13297. PushString "char_fm_clothes_11_unlck"
  13298. push_-1
  13299. Call @StatSetIntStatic23_
  13300. PushString "rankap_unlk_0"
  13301. push_-1
  13302. Call @StatSetIntStatic23_
  13303. PushString "rankap_unlk_1"
  13304. push_-1
  13305. Call @StatSetIntStatic23_
  13306. PushString "rankap_unlk_2"
  13307. push_-1
  13308. Call @StatSetIntStatic23_
  13309. PushString "rankap_unlk_3"
  13310. push_-1
  13311. Call @StatSetIntStatic23_
  13312. PushString "weapon_pickup_bitset"
  13313. push_-1
  13314. Call @StatSetIntStatic23_
  13315. PushString "weapon_pickup_bitset2"
  13316. push_-1
  13317. Call @StatSetIntStatic23_
  13318. PushString "char_fm_weap_unlocked"
  13319. push_-1
  13320. Call @StatSetIntStatic23_
  13321. PushString "char_fm_weap_unlocked2"
  13322. push_-1
  13323. Call @StatSetIntStatic23_
  13324. PushString "char_weap_addon_0_unlck"
  13325. push_-1
  13326. Call @StatSetIntStatic23_
  13327. PushString "char_weap_addon_1_unlck"
  13328. push_-1
  13329. Call @StatSetIntStatic23_
  13330. PushString "char_weap_addon_2_unlck"
  13331. push_-1
  13332. Call @StatSetIntStatic23_
  13333. PushString "char_weap_addon_3_unlck"
  13334. push_-1
  13335. Call @StatSetIntStatic23_
  13336. PushString "char_weap_addon_4_unlck"
  13337. push_-1
  13338. Call @StatSetIntStatic23_
  13339. PushString "char_kit_1_fm_unlck"
  13340. push_-1
  13341. Call @StatSetIntStatic23_
  13342. PushString "char_kit_2_fm_unlck"
  13343. push_-1
  13344. Call @StatSetIntStatic23_
  13345. PushString "char_kit_3_fm_unlck"
  13346. push_-1
  13347. Call @StatSetIntStatic23_
  13348. PushString "char_kit_4_fm_unlck"
  13349. push_-1
  13350. Call @StatSetIntStatic23_
  13351. PushString "char_kit_5_fm_unlck"
  13352. push_-1
  13353. Call @StatSetIntStatic23_
  13354. PushString "char_kit_6_fm_unlck"
  13355. push_-1
  13356. Call @StatSetIntStatic23_
  13357. PushString "char_kit_7_fm_unlck"
  13358. push_-1
  13359. Call @StatSetIntStatic23_
  13360. PushString "char_kit_7_fm_unlck"
  13361. push_-1
  13362. Call @StatSetIntStatic23_
  13363. PushString "char_kit_9_fm_unlck"
  13364. push_-1
  13365. Call @StatSetIntStatic23_
  13366. PushString "char_kit_10_fm_unlck"
  13367. push_-1
  13368. Call @StatSetIntStatic23_
  13369. PushString "char_kit_11_fm_unlck"
  13370. push_-1
  13371. Call @StatSetIntStatic23_
  13372. PushString "char_kit_12_fm_unlck"
  13373. push_-1
  13374. Call @StatSetIntStatic23_
  13375. PushString "char_kit_fm_purchase"
  13376. push_-1
  13377. Call @StatSetIntStatic23_
  13378. PushString "char_kit_fm_purchase2"
  13379. push_-1
  13380. Call @StatSetIntStatic23_
  13381. PushString "char_kit_fm_purchase3"
  13382. push_-1
  13383. Call @StatSetIntStatic23_
  13384. PushString "char_kit_fm_purchase4"
  13385. push_-1
  13386. Call @StatSetIntStatic23_
  13387. PushString "char_kit_fm_purchase5"
  13388. push_-1
  13389. Call @StatSetIntStatic23_
  13390. PushString "char_kit_fm_purchase6"
  13391. push_-1
  13392. Call @StatSetIntStatic23_
  13393. PushString "char_kit_fm_purchase7"
  13394. push_-1
  13395. Call @StatSetIntStatic23_
  13396. PushString "char_kit_fm_purchase8"
  13397. push_-1
  13398. Call @StatSetIntStatic23_
  13399. PushString "char_kit_fm_purchase9"
  13400. push_-1
  13401. Call @StatSetIntStatic23_
  13402. PushString "char_kit_fm_purchase10"
  13403. push_-1
  13404. Call @StatSetIntStatic23_
  13405. PushString "char_kit_fm_purchase11"
  13406. push_-1
  13407. Call @StatSetIntStatic23_
  13408. PushString "char_kit_fm_purchase12"
  13409. push_-1
  13410. Call @StatSetIntStatic23_
  13411. PushString "char_weap_0_unlck"
  13412. push_-1
  13413. Call @StatSetIntStatic23_
  13414. PushString "char_weap_1_unlck"
  13415. push_-1
  13416. Call @StatSetIntStatic23_
  13417. PushString "char_weap_2_unlck"
  13418. push_-1
  13419. Call @StatSetIntStatic23_
  13420. PushString "char_weap_3_unlck"
  13421. push_-1
  13422. Call @StatSetIntStatic23_
  13423. PushString "char_weap_4_unlck"
  13424. push_-1
  13425. Call @StatSetIntStatic23_
  13426. PushString "races_won"
  13427. Push 100
  13428. Call @StatSetIntStatic23_
  13429. PushString "usjs_found"
  13430. Push 50
  13431. Call @StatSetIntStatic23_
  13432. PushString "usjs_completed"
  13433. Push 50
  13434. Call @StatSetIntStatic23_
  13435. PushString "unlock_hipster_tshirt_dog"
  13436. push_-1
  13437. Call @StatSetIntStatic23_
  13438. PushString "unlock_hipster_tshirt_vinyl"
  13439. push_-1
  13440. Call @StatSetIntStatic23_
  13441. PushString "unlock_hipster_tshirt_mess"
  13442. push_-1
  13443. Call @StatSetIntStatic23_
  13444. PushString "unlock_race_hipster_tshirt"
  13445. push_-1
  13446. Call @StatSetIntStatic23_
  13447. PushString "unlock_dm_hipster_tshirt"
  13448. push_-1
  13449. Call @StatSetIntStatic23_
  13450. PushString "awd_fmwinairrace"
  13451. Push 50
  13452. Call @StatSetIntStatic23_
  13453. PushString "awd_fmwinsearace"
  13454. Push 50
  13455. Call @StatSetIntStatic23_
  13456. PushString "awd_rallywondrive"
  13457. Push 50
  13458. Call @StatSetIntStatic23_
  13459. PushString "awd_fmrallywonnav"
  13460. Push 50
  13461. Call @StatSetIntStatic23_
  13462. PushString "number_slipstreams_in_race"
  13463. Push 140
  13464. Call @StatSetIntStatic23_
  13465. PushString "awd_fm_races_fastest_lap"
  13466. Push 120
  13467. Call @StatSetIntStatic23_
  13468. PushString "number_turbo_starts_in_race"
  13469. Push 120
  13470. Call @StatSetIntStatic23_
  13471. PushString "awd_no_haircuts"
  13472. Push 25
  13473. Call @StatSetIntStatic23_
  13474. PushString "awd_security_cars_robbed"
  13475. Push 50
  13476. Call @StatSetIntStatic23_
  13477. PushString "awd_100_kills_sniper"
  13478. push_-1
  13479. Call @StatSetIntStatic23_
  13480. PushString "awd_50_kills_grenades"
  13481. push_-1
  13482. Call @StatSetIntStatic23_
  13483. PushString "awd_cops_killed"
  13484. Push 100
  13485. Call @StatSetIntStatic23_
  13486. PushString "awd_fmwineverygamemode"
  13487. push_1
  13488. Call @StatSetBool_
  13489. PushString "awd_fmpickupdlccrate1st"
  13490. push_1
  13491. Call @StatSetBool_
  13492. PushString "uniquecrates"
  13493. push_7
  13494. Call @StatSetIntStatic23_
  13495. PushString "awd_fmcratedrops"
  13496. Push 60
  13497. Call @StatSetIntStatic23_
  13498. PushString "awd_fmwinallracemodes"
  13499. push_1
  13500. Call @StatSetBool_
  13501. PushString "awd_fmraceworldrecholder"
  13502. push_1
  13503. Call @StatSetBool_
  13504. PushString "char_crewunlock_1_unlck"
  13505. push_-1
  13506. Call @StatSetIntStatic23_
  13507. PushString "char_crewunlock_1_fm_equip"
  13508. push_-1
  13509. Call @StatSetIntStatic23_
  13510. PushString "char_crewunlock_2_fm_equip"
  13511. push_-1
  13512. Call @StatSetIntStatic23_
  13513. PushString "char_crewunlock_3_fm_equip"
  13514. push_-1
  13515. Call @StatSetIntStatic23_
  13516. PushString "char_crewunlock_4_fm_equip"
  13517. push_-1
  13518. Call @StatSetIntStatic23_
  13519. PushString "char_crewunlock_5_fm_equip"
  13520. push_-1
  13521. Call @StatSetIntStatic23_
  13522. PushString "lap_danced_bought"
  13523. Push 50
  13524. Call @StatSetIntStatic23_
  13525. PushString "prostitutes_frequented"
  13526. Push 50
  13527. Call @StatSetIntStatic23_
  13528. PushString "char_fm_health_1_unlck"
  13529. push_-1
  13530. Call @StatSetIntStatic23_
  13531. PushString "char_fm_health_2_unlck"
  13532. push_-1
  13533. Call @StatSetIntStatic23_
  13534. PushString "char_fm_vehicle_1_unlck"
  13535. push_-1
  13536. Call @StatSetIntStatic23_
  13537. PushString "char_fm_vehicle_2_unlck"
  13538. push_-1
  13539. Call @StatSetIntStatic23_
  13540. PushString "script_increase_stam"
  13541. Push 100
  13542. Call @StatSetIntStatic23_
  13543. PushString "script_increase_strn"
  13544. Push 100
  13545. Call @StatSetIntStatic23_
  13546. PushString "script_increase_lung"
  13547. Push 100
  13548. Call @StatSetIntStatic23_
  13549. PushString "script_increase_driv"
  13550. Push 100
  13551. Call @StatSetIntStatic23_
  13552. PushString "script_increase_fly"
  13553. Push 100
  13554. Call @StatSetIntStatic23_
  13555. PushString "script_increase_sho"
  13556. Push 100
  13557. Call @StatSetIntStatic23_
  13558. PushString "script_increase_stl"
  13559. Push 100
  13560. Call @StatSetIntStatic23_
  13561. PushString "script_increase_mech"
  13562. Push 100
  13563. Call @StatSetIntStatic23_
  13564. PushString "char_fm_haircut_1_unlck"
  13565. push_-1
  13566. Call @StatSetIntStatic23_
  13567. PushString "char_weap_unlocked"
  13568. push_-1
  13569. Call @StatSetIntStatic23_
  13570. PushString "char_weap_unlocked2"
  13571. push_-1
  13572. Call @StatSetIntStatic23_
  13573. PushString "char_fm_weap_addon_1_unlck"
  13574. push_-1
  13575. Call @StatSetIntStatic23_
  13576. PushString "char_fm_weap_addon_2_unlck"
  13577. push_-1
  13578. Call @StatSetIntStatic23_
  13579. PushString "char_fm_weap_addon_3_unlck"
  13580. push_-1
  13581. Call @StatSetIntStatic23_
  13582. PushString "char_fm_weap_addon_4_unlck"
  13583. push_-1
  13584. Call @StatSetIntStatic23_
  13585. PushString "char_weap_free"
  13586. push_-1
  13587. Call @StatSetIntStatic23_
  13588. PushString "char_weap_free2"
  13589. push_-1
  13590. Call @StatSetIntStatic23_
  13591. PushString "char_fm_weap_free"
  13592. push_-1
  13593. Call @StatSetIntStatic23_
  13594. PushString "char_fm_weap_free2"
  13595. push_-1
  13596. Call @StatSetIntStatic23_
  13597. PushString "char_fm_ability_1_unlck"
  13598. push_-1
  13599. Call @StatSetIntStatic23_
  13600. PushString "char_fm_ability_2_unlck"
  13601. push_-1
  13602. Call @StatSetIntStatic23_
  13603. PushString "char_fm_ability_3_unlck"
  13604. push_-1
  13605. Call @StatSetIntStatic23_
  13606. PushString "char_fm_package_1_collect"
  13607. push_-1
  13608. Call @StatSetIntStatic23_
  13609. PushString "char_fm_package_2_collect"
  13610. push_-1
  13611. Call @StatSetIntStatic23_
  13612. PushString "char_fm_package_3_collect"
  13613. push_-1
  13614. Call @StatSetIntStatic23_
  13615. PushString "char_fm_package_4_collect"
  13616. push_-1
  13617. Call @StatSetIntStatic23_
  13618. PushString "char_fm_package_5_collect"
  13619. push_-1
  13620. Call @StatSetIntStatic23_
  13621. PushString "char_fm_package_6_collect"
  13622. push_-1
  13623. Call @StatSetIntStatic23_
  13624. PushString "char_fm_package_7_collect"
  13625. push_-1
  13626. Call @StatSetIntStatic23_
  13627. PushString "char_fm_package_8_collect"
  13628. push_-1
  13629. Call @StatSetIntStatic23_
  13630. PushString "char_fm_package_9_collect"
  13631. push_-1
  13632. Call @StatSetIntStatic23_
  13633. PushString "archenemy_name"
  13634. CallNative "GET_HASH_KEY" 1 1
  13635. PushString "RaYRoD"
  13636. push_1
  13637. CallNative "STAT_SET_STRING" 3 1
  13638. Drop
  13639. PushString "char_ability_1_unlck"
  13640. push_-1
  13641. Call @StatSetIntStatic23_
  13642. PushString "char_ability_2_unlck"
  13643. push_-1
  13644. Call @StatSetIntStatic23_
  13645. PushString "char_ability_3_unlck"
  13646. push_-1
  13647. Call @StatSetIntStatic23_
  13648. PushString "pilot_school_medal_0"
  13649. push_-1
  13650. Call @StatSetIntStatic23_
  13651. PushString "pilot_school_medal_1"
  13652. push_-1
  13653. Call @StatSetIntStatic23_
  13654. PushString "pilot_school_medal_2"
  13655. push_-1
  13656. Call @StatSetIntStatic23_
  13657. PushString "pilot_school_medal_3"
  13658. push_-1
  13659. Call @StatSetIntStatic23_
  13660. PushString "pilot_school_medal_4"
  13661. push_-1
  13662. Call @StatSetIntStatic23_
  13663. PushString "pilot_school_medal_5"
  13664. push_-1
  13665. Call @StatSetIntStatic23_
  13666. PushString "pilot_school_medal_6"
  13667. push_-1
  13668. Call @StatSetIntStatic23_
  13669. PushString "pilot_school_medal_7"
  13670. push_-1
  13671. Call @StatSetIntStatic23_
  13672. PushString "pilot_school_medal_8"
  13673. push_-1
  13674. Call @StatSetIntStatic23_
  13675. PushString "pilot_school_medal_9"
  13676. push_-1
  13677. Call @StatSetIntStatic23_
  13678. PushString "show_property_blip_on_job"
  13679. push_-1
  13680. Call @StatSetIntStatic23_
  13681. Jump @EndUnlockOptions_
  13682. :UnlockHidden+DlcClothing_
  13683. PushString "DLC Clothing Unlocked"
  13684. PushS 2500
  13685. Call @PrintStringBottomCentre_
  13686. PushString "dlc_apparel_acquired_0"
  13687. push_-1
  13688. Call @StatSetIntStatic23_
  13689. PushString "dlc_apparel_acquired_1"
  13690. push_-1
  13691. Call @StatSetIntStatic23_
  13692. PushString "dlc_apparel_acquired_2"
  13693. push_-1
  13694. Call @StatSetIntStatic23_
  13695. PushString "dlc_apparel_acquired_3"
  13696. push_-1
  13697. Call @StatSetIntStatic23_
  13698. PushString "dlc_apparel_acquired_4"
  13699. push_-1
  13700. Call @StatSetIntStatic23_
  13701. PushString "dlc_apparel_acquired_5"
  13702. push_-1
  13703. Call @StatSetIntStatic23_
  13704. PushString "dlc_apparel_acquired_6"
  13705. push_-1
  13706. Call @StatSetIntStatic23_
  13707. PushString "dlc_apparel_acquired_7"
  13708. push_-1
  13709. Call @StatSetIntStatic23_
  13710. PushString "dlc_apparel_acquired_8"
  13711. push_-1
  13712. Call @StatSetIntStatic23_
  13713. PushString "dlc_apparel_acquired_9"
  13714. push_-1
  13715. Call @StatSetIntStatic23_
  13716. PushString "dlc_apparel_acquired_10"
  13717. push_-1
  13718. Call @StatSetIntStatic23_
  13719. PushString "dlc_apparel_acquired_11"
  13720. push_-1
  13721. Call @StatSetIntStatic23_
  13722. PushString "dlc_apparel_acquired_12"
  13723. push_-1
  13724. Call @StatSetIntStatic23_
  13725. PushString "dlc_apparel_acquired_13"
  13726. push_-1
  13727. Call @StatSetIntStatic23_
  13728. PushString "dlc_apparel_acquired_14"
  13729. push_-1
  13730. Call @StatSetIntStatic23_
  13731. PushString "dlc_apparel_acquired_15"
  13732. push_-1
  13733. Call @StatSetIntStatic23_
  13734. PushString "dlc_apparel_acquired_16"
  13735. push_-1
  13736. Call @StatSetIntStatic23_
  13737. PushString "dlc_apparel_acquired_17"
  13738. push_-1
  13739. Call @StatSetIntStatic23_
  13740. PushString "dlc_apparel_acquired_18"
  13741. push_-1
  13742. Call @StatSetIntStatic23_
  13743. PushString "dlc_apparel_acquired_19"
  13744. push_-1
  13745. Call @StatSetIntStatic23_
  13746. PushString "dlc_apparel_acquired_20"
  13747. push_-1
  13748. Call @StatSetIntStatic23_
  13749. PushString "dlc_apparel_acquired_21"
  13750. push_-1
  13751. Call @StatSetIntStatic23_
  13752. PushString "dlc_apparel_acquired_22"
  13753. push_-1
  13754. Call @StatSetIntStatic23_
  13755. PushString "dlc_apparel_acquired_23"
  13756. push_-1
  13757. Call @StatSetIntStatic23_
  13758. PushString "dlc_apparel_acquired_24"
  13759. push_-1
  13760. Call @StatSetIntStatic23_
  13761. PushString "dlc_apparel_acquired_25"
  13762. push_-1
  13763. Call @StatSetIntStatic23_
  13764. PushString "dlc_apparel_acquired_26"
  13765. push_-1
  13766. Call @StatSetIntStatic23_
  13767. PushString "dlc_apparel_acquired_27"
  13768. push_-1
  13769. Call @StatSetIntStatic23_
  13770. PushString "dlc_apparel_acquired_28"
  13771. push_-1
  13772. Call @StatSetIntStatic23_
  13773. PushString "dlc_apparel_acquired_29"
  13774. push_-1
  13775. Call @StatSetIntStatic23_
  13776. PushString "dlc_apparel_acquired_30"
  13777. push_-1
  13778. Call @StatSetIntStatic23_
  13779. PushString "dlc_apparel_acquired_31"
  13780. push_-1
  13781. Call @StatSetIntStatic23_
  13782. PushString "dlc_apparel_acquired_32"
  13783. push_-1
  13784. Call @StatSetIntStatic23_
  13785. PushString "dlc_apparel_acquired_33"
  13786. push_-1
  13787. Call @StatSetIntStatic23_
  13788. PushString "dlc_apparel_acquired_34"
  13789. push_-1
  13790. Call @StatSetIntStatic23_
  13791. PushString "dlc_apparel_acquired_35"
  13792. push_-1
  13793. Call @StatSetIntStatic23_
  13794. PushString "dlc_apparel_acquired_36"
  13795. push_-1
  13796. Call @StatSetIntStatic23_
  13797. :Special_
  13798. PushString "clths_acquired_special"
  13799. push_-1
  13800. Call @StatSetIntStatic23_
  13801. PushString "clths_acquired_special_1"
  13802. push_-1
  13803. Call @StatSetIntStatic23_
  13804. PushString "clths_acquired_special_2"
  13805. push_-1
  13806. Call @StatSetIntStatic23_
  13807. PushString "clths_acquired_special_3"
  13808. push_-1
  13809. Call @StatSetIntStatic23_
  13810. PushString "clths_acquired_special_4"
  13811. push_-1
  13812. Call @StatSetIntStatic23_
  13813. PushString "clths_acquired_special_5"
  13814. push_-1
  13815. Call @StatSetIntStatic23_
  13816. PushString "clths_acquired_special_6"
  13817. push_-1
  13818. Call @StatSetIntStatic23_
  13819. PushString "clths_acquired_special_7"
  13820. push_-1
  13821. Call @StatSetIntStatic23_
  13822. PushString "clths_acquired_special2"
  13823. push_-1
  13824. Call @StatSetIntStatic23_
  13825. PushString "clths_acquired_special2_1"
  13826. push_-1
  13827. Call @StatSetIntStatic23_
  13828. PushString "admin_clothes_gv_bs_1"
  13829. push_-1
  13830. Call @StatSetIntStatic23_
  13831. PushString "admin_clothes_gv_bs_2"
  13832. push_-1
  13833. Call @StatSetIntStatic23_
  13834. PushString "admin_clothes_gv_bs_3"
  13835. push_-1
  13836. Call @StatSetIntStatic23_
  13837. PushString "admin_clothes_gv_bs_4"
  13838. push_-1
  13839. Call @StatSetIntStatic23_
  13840. PushString "admin_clothes_gv_bs_5"
  13841. push_-1
  13842. Call @StatSetIntStatic23_
  13843. PushString "admin_clothes_gv_bs_6"
  13844. push_-1
  13845. Call @StatSetIntStatic23_
  13846. PushString "admin_clothes_gv_bs_7"
  13847. push_-1
  13848. Call @StatSetIntStatic23_
  13849. PushString "admin_clothes_gv_bs_8"
  13850. push_-1
  13851. Call @StatSetIntStatic23_
  13852. PushString "admin_clothes_gv_bs_9"
  13853. push_-1
  13854. Call @StatSetIntStatic23_
  13855. PushString "admin_clothes_gv_bs_10"
  13856. push_-1
  13857. :NormalClothes_
  13858. Call @StatSetIntStatic23_
  13859. PushString "clths_available_hair"
  13860. push_-1
  13861. Call @StatSetIntStatic23_
  13862. PushString "clths_available_hair_1"
  13863. push_-1
  13864. Call @StatSetIntStatic23_
  13865. PushString "clths_available_hair_2"
  13866. push_-1
  13867. Call @StatSetIntStatic23_
  13868. PushString "clths_available_hair_3"
  13869. push_-1
  13870. Call @StatSetIntStatic23_
  13871. PushString "clths_available_hair_4"
  13872. push_-1
  13873. Call @StatSetIntStatic23_
  13874. PushString "clths_available_hair_5"
  13875. push_-1
  13876. Call @StatSetIntStatic23_
  13877. PushString "clths_available_hair_6"
  13878. push_-1
  13879. Call @StatSetIntStatic23_
  13880. PushString "clths_available_hair_7"
  13881. push_-1
  13882. Call @StatSetIntStatic23_
  13883. PushString "clths_available_jbib"
  13884. push_-1
  13885. Call @StatSetIntStatic23_
  13886. PushString "clths_available_jbib_1"
  13887. push_-1
  13888. Call @StatSetIntStatic23_
  13889. PushString "clths_available_jbib_2"
  13890. push_-1
  13891. Call @StatSetIntStatic23_
  13892. PushString "clths_available_jbib_3"
  13893. push_-1
  13894. Call @StatSetIntStatic23_
  13895. PushString "clths_available_jbib_4"
  13896. push_-1
  13897. Call @StatSetIntStatic23_
  13898. PushString "clths_available_jbib_5"
  13899. push_-1
  13900. Call @StatSetIntStatic23_
  13901. PushString "clths_available_jbib_6"
  13902. push_-1
  13903. Call @StatSetIntStatic23_
  13904. PushString "clths_available_jbib_7"
  13905. push_-1
  13906. Call @StatSetIntStatic23_
  13907. PushString "clths_available_legs"
  13908. push_-1
  13909. Call @StatSetIntStatic23_
  13910. PushString "clths_available_legs_1"
  13911. push_-1
  13912. Call @StatSetIntStatic23_
  13913. PushString "clths_available_legs_2"
  13914. push_-1
  13915. Call @StatSetIntStatic23_
  13916. PushString "clths_available_legs_3"
  13917. push_-1
  13918. Call @StatSetIntStatic23_
  13919. PushString "clths_available_legs_4"
  13920. push_-1
  13921. Call @StatSetIntStatic23_
  13922. PushString "clths_available_legs_5"
  13923. push_-1
  13924. Call @StatSetIntStatic23_
  13925. PushString "clths_available_legs_6"
  13926. push_-1
  13927. Call @StatSetIntStatic23_
  13928. PushString "clths_available_legs_7"
  13929. push_-1
  13930. Call @StatSetIntStatic23_
  13931. PushString "clths_available_feet"
  13932. push_-1
  13933. Call @StatSetIntStatic23_
  13934. PushString "clths_available_feet_1"
  13935. push_-1
  13936. Call @StatSetIntStatic23_
  13937. PushString "clths_available_feet_2"
  13938. push_-1
  13939. Call @StatSetIntStatic23_
  13940. PushString "clths_available_feet_3"
  13941. push_-1
  13942. Call @StatSetIntStatic23_
  13943. PushString "clths_available_feet_4"
  13944. push_-1
  13945. Call @StatSetIntStatic23_
  13946. PushString "clths_available_feet_5"
  13947. push_-1
  13948. Call @StatSetIntStatic23_
  13949. PushString "clths_available_feet_6"
  13950. push_-1
  13951. Call @StatSetIntStatic23_
  13952. PushString "clths_available_feet_7"
  13953. push_-1
  13954. Call @StatSetIntStatic23_
  13955. PushString "clths_available_feet_7"
  13956. push_-1
  13957. Call @StatSetIntStatic23_
  13958. PushString "clths_available_berd"
  13959. push_-1
  13960. Call @StatSetIntStatic23_
  13961. PushString "clths_available_berd_1"
  13962. push_-1
  13963. Call @StatSetIntStatic23_
  13964. PushString "clths_available_berd_2"
  13965. push_-1
  13966. Call @StatSetIntStatic23_
  13967. PushString "clths_available_berd_3"
  13968. push_-1
  13969. Call @StatSetIntStatic23_
  13970. PushString "clths_available_berd_4"
  13971. push_-1
  13972. Call @StatSetIntStatic23_
  13973. PushString "clths_available_berd_5"
  13974. push_-1
  13975. Call @StatSetIntStatic23_
  13976. PushString "clths_available_berd_6"
  13977. push_-1
  13978. Call @StatSetIntStatic23_
  13979. PushString "clths_available_berd_7"
  13980. push_-1
  13981. Call @StatSetIntStatic23_
  13982. PushString "clths_available_props"
  13983. push_-1
  13984. Call @StatSetIntStatic23_
  13985. PushString "clths_available_props_1"
  13986. push_-1
  13987. Call @StatSetIntStatic23_
  13988. PushString "clths_available_props_2"
  13989. push_-1
  13990. Call @StatSetIntStatic23_
  13991. PushString "clths_available_props_3"
  13992. push_-1
  13993. Call @StatSetIntStatic23_
  13994. PushString "clths_available_props_4"
  13995. push_-1
  13996. Call @StatSetIntStatic23_
  13997. PushString "clths_available_props_5"
  13998. push_-1
  13999. Call @StatSetIntStatic23_
  14000. PushString "clths_available_props_6"
  14001. push_-1
  14002. Call @StatSetIntStatic23_
  14003. PushString "clths_available_props_7"
  14004. push_-1
  14005. Call @StatSetIntStatic23_
  14006. PushString "clths_available_props_8"
  14007. push_-1
  14008. Call @StatSetIntStatic23_
  14009. PushString "clths_available_props_9"
  14010. push_-1
  14011. Call @StatSetIntStatic23_
  14012. PushString "clths_available_props_10"
  14013. push_-1
  14014. Call @StatSetIntStatic23_
  14015. PushString "clths_available_outfit"
  14016. push_-1
  14017. Call @StatSetIntStatic23_
  14018. PushString "clths_available_decl"
  14019. push_-1
  14020. Call @StatSetIntStatic23_
  14021. PushString "clths_available_teeth"
  14022. push_-1
  14023. Call @StatSetIntStatic23_
  14024. PushString "clths_available_teeth_1"
  14025. push_-1
  14026. Call @StatSetIntStatic23_
  14027. PushString "clths_available_teeth_2"
  14028. push_-1
  14029. Call @StatSetIntStatic23_
  14030. Jump @EndUnlockOptions_
  14031. :MaxInventory_
  14032. PushString "mp0_mp_char_armour_1_count"
  14033. Push 999999999
  14034. Call @StatSetInt_
  14035. PushString "mp0_mp_char_armour_2_count"
  14036. Push 999999999
  14037. Call @StatSetInt_
  14038. PushString "mp0_mp_char_armour_3_count"
  14039. Push 999999999
  14040. Call @StatSetInt_
  14041. PushString "mp0_mp_char_armour_4_count"
  14042. Push 999999999
  14043. Call @StatSetInt_
  14044. PushString "mp0_mp_char_armour_5_count"
  14045. Push 999999999
  14046. Call @StatSetInt_
  14047. PushString "mp0_char_current_health"
  14048. Push 999999999
  14049. Call @StatSetInt_
  14050. PushString "mp0_char_current_armour"
  14051. Push 999999999
  14052. Call @StatSetInt_
  14053. PushString "mp1_mp_char_armour_1_count"
  14054. Push 999999999
  14055. Call @StatSetInt_
  14056. PushString "mp1_mp_char_armour_2_count"
  14057. Push 999999999
  14058. Call @StatSetInt_
  14059. PushString "mp1_mp_char_armour_3_count"
  14060. Push 999999999
  14061. Call @StatSetInt_
  14062. PushString "mp1_mp_char_armour_4_count"
  14063. Push 999999999
  14064. Call @StatSetInt_
  14065. PushString "mp1_mp_char_armour_5_count"
  14066. Push 999999999
  14067. Call @StatSetInt_
  14068. :Snacks_
  14069. PushString "mp0_no_bought_yum_snacks"
  14070. Push 999999999
  14071. Call @StatSetInt_
  14072. PushString "mp0_no_bought_health_snacks"
  14073. Push 999999999
  14074. Call @StatSetInt_
  14075. PushString "mp0_no_bought_epic_snacks"
  14076. Push 999999999
  14077. Call @StatSetInt_
  14078. PushString "mp0_number_of_orange_bought"
  14079. Push 999999999
  14080. Call @StatSetInt_
  14081. PushString "mp0_number_of_bourge_bought"
  14082. Push 999999999
  14083. Call @StatSetInt_
  14084. PushString "mp1_no_bought_yum_snacks"
  14085. Push 999999999
  14086. Call @StatSetInt_
  14087. PushString "mp1_no_bought_health_snacks"
  14088. Push 999999999
  14089. Call @StatSetInt_
  14090. PushString "mp1_no_bought_epic_snacks"
  14091. Push 999999999
  14092. Call @StatSetInt_
  14093. PushString "mp1_number_of_orange_bought"
  14094. Push 999999999
  14095. Call @StatSetInt_
  14096. PushString "mp1_number_of_bourge_bought"
  14097. Push 999999999
  14098. Call @StatSetInt_
  14099. :Fireworks_
  14100. PushString "mp0_firework_type_1_white"
  14101. Push 99999999
  14102. Call @StatSetInt_
  14103. PushString "mp0_firework_type_1_red"
  14104. Push 99999999
  14105. Call @StatSetInt_
  14106. PushString "mp0_firework_type_1_blue"
  14107. Push 99999999
  14108. Call @StatSetInt_
  14109. PushString "mp0_firework_type_2_white"
  14110. Push 99999999
  14111. Call @StatSetInt_
  14112. PushString "mp0_firework_type_2_red"
  14113. Push 99999999
  14114. Call @StatSetInt_
  14115. PushString "mp0_firework_type_2_blue"
  14116. Push 99999999
  14117. Call @StatSetInt_
  14118. PushString "mp0_firework_type_3_white"
  14119. Push 99999999
  14120. Call @StatSetInt_
  14121. PushString "mp0_firework_type_3_red"
  14122. Push 99999999
  14123. Call @StatSetInt_
  14124. PushString "mp0_firework_type_3_blue"
  14125. Push 99999999
  14126. Call @StatSetInt_
  14127. PushString "mp0_firework_type_4_white"
  14128. Push 99999999
  14129. Call @StatSetInt_
  14130. PushString "mp0_firework_type_4_red"
  14131. Push 99999999
  14132. Call @StatSetInt_
  14133. PushString "mp0_firework_type_4_blue"
  14134. Push 99999999
  14135. Call @StatSetInt_
  14136. PushString "mp1_firework_type_1_white"
  14137. Push 99999999
  14138. Call @StatSetInt_
  14139. PushString "mp1_firework_type_1_red"
  14140. Push 99999999
  14141. Call @StatSetInt_
  14142. PushString "mp1_firework_type_1_blue"
  14143. Push 99999999
  14144. Call @StatSetInt_
  14145. PushString "mp1_firework_type_2_white"
  14146. Push 99999999
  14147. Call @StatSetInt_
  14148. PushString "mp1_firework_type_2_red"
  14149. Push 99999999
  14150. Call @StatSetInt_
  14151. PushString "mp1_firework_type_2_blue"
  14152. Push 99999999
  14153. Call @StatSetInt_
  14154. PushString "mp1_firework_type_3_white"
  14155. Push 99999999
  14156. Call @StatSetInt_
  14157. PushString "mp1_firework_type_3_red"
  14158. Push 99999999
  14159. Call @StatSetInt_
  14160. PushString "mp1_firework_type_3_blue"
  14161. Push 99999999
  14162. Call @StatSetInt_
  14163. PushString "mp1_firework_type_4_white"
  14164. Push 99999999
  14165. Call @StatSetInt_
  14166. PushString "mp1_firework_type_4_red"
  14167. Push 99999999
  14168. Call @StatSetInt_
  14169. PushString "mp1_firework_type_4_blue"
  14170. Push 99999999
  14171. Call @StatSetInt_
  14172. Jump @EndUnlockOptions_
  14173. :RemoveFromWallet_
  14174. push_0
  14175. StaticSet1 12
  14176. push_0
  14177. StaticSet2 481
  14178. Call @PromptUser_
  14179. pStatic1 12
  14180. CallNative "STRING_TO_INT" 2 1
  14181. Drop
  14182. PushString "mp0_wallet_balance"
  14183. GetHash
  14184. pStatic2 481
  14185. push_1
  14186. CallNative "STAT_GET_INT" 3 1
  14187. Drop
  14188. StaticGet2 481
  14189. StaticGet1 12
  14190. Sub
  14191. StaticSet1 12
  14192. PushString "mp1_wallet_balance"
  14193. StaticGet1 12
  14194. Call @StatSetInt_
  14195. Jump @EndUnlockOptions_
  14196. :CheaterOptionssub_
  14197. Push 26
  14198. StaticSet1 1
  14199. Call @ChangeSubmenu_
  14200. Jump @EndUnlockOptions_
  14201. :EndUnlockOptions_
  14202. Return 0 0
  14203.  
  14204. :CheaterOptions_
  14205. Function 0 2 0
  14206. fPush_5.0
  14207. StaticSet1 3
  14208. Push 25
  14209. StaticSet1 8
  14210. Call @DrawBackground_
  14211. Call @DrawNormalOptionHighlight_
  14212. PushString "Useful Utilities"
  14213. Call @AddInfoBox_
  14214. PushString "Cheater Options"
  14215. Call @AddTitle_
  14216. fPush_1.0
  14217. PushString "Revoke Cheater"
  14218. Call @AddOption_
  14219. fPush_2.0
  14220. PushString "Revoke Bad Sport"
  14221. Call @AddOption_
  14222. fPush_3.0
  14223. PushString "Clear Reports + Commend"
  14224. Call @AddOption_
  14225. fPush_4.0
  14226. PushString "Bypass Tutorial"
  14227. Call @AddOption_
  14228. // Options' Functions
  14229. Call @CheckAPressed_
  14230. push_1
  14231. JumpEQ @CheaterOptionsController_
  14232. Jump @EndCheaterOptions_
  14233. :CheaterOptionsController_
  14234. PushString "SELECT"
  14235. Call @PlayFrontendSound_
  14236. StaticGet1 2
  14237. FtoI
  14238. Switch [1=@Cheater_][2=@RemoveBadSport_][3=@ClearReports_][4=@BypassTutorial_]
  14239. :Cheater_
  14240. PushString "mp0_times_cheated"
  14241. push_0
  14242. Call @StatSetInt_
  14243. PushString "mp1_times_cheated"
  14244. push_0
  14245. Call @StatSetInt_
  14246. PushString "mpply_is_cheater"
  14247. push_0
  14248. Call @StatSetBool_
  14249. PushString "mp0_cheat_bitset"
  14250. push_0
  14251. Call @StatSetInt_
  14252. PushString "mp1_cheat_bitset"
  14253. push_0
  14254. Call @StatSetInt_
  14255. PushString "mpply_was_i_cheater"
  14256. push_0
  14257. Call @StatSetBool_
  14258. PushString "mpply_overall_cheat"
  14259. fPush 0
  14260. Call @StatSetFloat_
  14261. PushString "mpply_became_cheater_num"
  14262. push_0
  14263. Call @StatSetInt_
  14264. PushString "mpply_dm_cheat_tally"
  14265. push_0
  14266. Call @StatSetInt_
  14267. PushString "mpply_race_cheat_tally"
  14268. push_0
  14269. Call @StatSetInt_
  14270. PushString "mpply_mc_cheat_tally"
  14271. push_0
  14272. Call @StatSetInt_
  14273. PushString "mpply_mgame_cheat_tally"
  14274. push_0
  14275. Call @StatSetInt_
  14276. PushString "scadmin_is_cheater"
  14277. push_0
  14278. Call @StatSetBool_
  14279. PushString "mpply_cap_cheat_tally"
  14280. push_0
  14281. Call @StatSetInt_
  14282. PushString "mpply_sur_cheat_tally"
  14283. push_0
  14284. Call @StatSetInt_
  14285. PushString "mpply_lts_cheat_tally"
  14286. push_0
  14287. Call @StatSetInt_
  14288. PushString "mpply_para_cheat_tally"
  14289. push_0
  14290. Call @StatSetInt_
  14291. Jump @EndCheaterOptions_
  14292. :RemoveBadSport_
  14293. PushString "mp0_bad_sport_bitset"
  14294. push_0
  14295. Call @StatSetInt_
  14296. PushString "mp1_bad_sport_bitset"
  14297. push_0
  14298. Call @StatSetInt_
  14299. PushString "mpply_was_i_bad_sport"
  14300. push_0
  14301. Call @StatSetBool_
  14302. PushString "mpply_overall_bad_sport"
  14303. fPush 0
  14304. Call @StatSetFloat_
  14305. PushString "mpply_char_bad_sport"
  14306. push_0
  14307. Call @StatSetBool_
  14308. PushString "mpply_became_bad_sport_num"
  14309. push_0
  14310. Call @StatSetInt_
  14311. PushString "mpply_destroyed_pvehicles"
  14312. push_0
  14313. Call @StatSetInt_
  14314. Jump @EndCheaterOptions_
  14315. :ClearReports_
  14316. PushString "mpply_commend_strength"
  14317. Push 160
  14318. Call @StatSetInt_
  14319. PushString "mpply_friendly"
  14320. Push 150
  14321. Call @StatSetInt_
  14322. PushString "mpply_helpful"
  14323. Push 140
  14324. Call @StatSetInt_
  14325. PushString "mpply_griefing"
  14326. push_0
  14327. Call @StatSetInt_
  14328. PushString "mpply_vc_annoyingme"
  14329. push_0
  14330. Call @StatSetInt_
  14331. PushString "mpply_offensive_language"
  14332. push_0
  14333. Call @StatSetInt_
  14334. PushString "mpply_offensive_ugc"
  14335. push_0
  14336. Call @StatSetInt_
  14337. PushString "mpply_vc_hate"
  14338. push_0
  14339. Call @StatSetInt_
  14340. PushString "mpply_offensive_tagplate"
  14341. push_0
  14342. Call @StatSetInt_
  14343. PushString "mpply_bad_crew_name"
  14344. push_0
  14345. Call @StatSetInt_
  14346. PushString "mpply_bad_crew_motto"
  14347. push_0
  14348. Call @StatSetInt_
  14349. PushString "mpply_bad_crew_status"
  14350. push_0
  14351. Call @StatSetInt_
  14352. PushString "mpply_bad_crew_emblem"
  14353. push_0
  14354. Call @StatSetInt_
  14355. PushString "mpply_game_exploits"
  14356. push_0
  14357. Call @StatSetInt_
  14358. PushString "mpply_exploits"
  14359. push_0
  14360. Call @StatSetInt_
  14361. PushString "mpply_ispunished"
  14362. push_0
  14363. Call @StatSetBool_
  14364. Jump @EndCheaterOptions_
  14365. :BypassTutorial_
  14366. PushString "mp0_fm_racetut_done"
  14367. push_1
  14368. Call @StatSetBool_
  14369. PushString "mp0_no_tut_spawn"
  14370. push_1
  14371. Call @StatSetBool_
  14372. PushString "mp0_front_end_jip_unlocked"
  14373. push_1
  14374. Call @StatSetBool_
  14375. PushString "mp0_fm_trigtut_done"
  14376. push_1
  14377. Call @StatSetBool_
  14378. PushString "mp0_fm_holdtut_done"
  14379. push_1
  14380. Call @StatSetBool_
  14381. PushString "mp0_fm_cmodtut_done"
  14382. push_1
  14383. Call @StatSetBool_
  14384. PushString "mp1_fm_racetut_done"
  14385. push_1
  14386. Call @StatSetBool_
  14387. PushString "mp1_no_tut_spawn"
  14388. push_1
  14389. Call @StatSetBool_
  14390. PushString "mp1_front_end_jip_unlocked"
  14391. push_1
  14392. Call @StatSetBool_
  14393. PushString "mp1_fm_trigtut_done"
  14394. push_1
  14395. Call @StatSetBool_
  14396. PushString "mp1_fm_holdtut_done"
  14397. push_1
  14398. Call @StatSetBool_
  14399. PushString "mp1_fm_cmodtut_done"
  14400. push_1
  14401. Call @StatSetBool_
  14402. PushString "mpply_no_more_tutorials"
  14403. push_1
  14404. Call @StatSetBool_
  14405. Jump @EndCheaterOptions_
  14406. :EndCheaterOptions_
  14407.  
  14408. :PersonalVehicle_
  14409. Function 0 2 0
  14410. fPush_3.0
  14411. StaticSet1 3
  14412. push_6
  14413. StaticSet1 8
  14414. Call @DrawBackground_
  14415. Call @DrawNormalOptionHighlight_
  14416. PushString "Control Your Vehicle"
  14417. Call @AddInfoBox_
  14418. PushString "Personal Vehicle Options"
  14419. Call @AddTitle_
  14420. fPush_1.0
  14421. PushString "Save Vehicle"
  14422. Call @AddOption_
  14423. fPush_2.0
  14424. PushString "Teleport to-Vehicle"
  14425. Call @AddOption_
  14426. fPush_3.0
  14427. PushString "Teleport Vehicle to-You"
  14428. Call @AddOption_
  14429. // Option's Functions
  14430. Call @CheckAPressed_
  14431. push_1
  14432. JumpEQ @PersonalVehicleSubController_
  14433. Jump @EndPersonalVehicle_
  14434. :PersonalVehicleSubController_
  14435. PushString "SELECT"
  14436. Call @PlayFrontendSound_
  14437. StaticGet1 2
  14438. FtoI
  14439. Switch [1=@PersonalVehicle_Save][2=@PersonalVehicle_TeleportToVehicle][3=@PersonalVehicle_TeleportVehicleToYou]
  14440. :PersonalVehicle_Save
  14441. // PVOps Save Static
  14442. push_0
  14443. StaticSet2 478
  14444. CallNative "PLAYER_PED_ID" 0 1
  14445. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  14446. JumpFalse @PersonalVehicle_PlayerNotInVehicle
  14447. CallNative "PLAYER_PED_ID" 0 1
  14448. push_0
  14449. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  14450. Call @RequestControlOfVeh_
  14451. CallNative "PLAYER_PED_ID" 0 1
  14452. push_0
  14453. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  14454. StaticSet2 478
  14455. Jump @EndPersonalVehicle_
  14456. :PersonalVehicle_TeleportToVehicle
  14457. CallNative "PLAYER_PED_ID" 0 1
  14458. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  14459. JumpFalse @PersonalVehicle_TeleportToVehicleOnFoot
  14460. CallNative "PLAYER_PED_ID" 0 1
  14461. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  14462. Call @RequestControlOfVeh_
  14463. CallNative "PLAYER_PED_ID" 0 1
  14464. CallNative "GET_VEHICLE_PED_IS_USING" 1 1
  14465. StaticGet2 478
  14466. push_1
  14467. CallNative "GET_ENTITY_COORDS" 2 3
  14468. fPush 3062.855
  14469. fPush 2214.975
  14470. fPush 3.381231
  14471. push_1
  14472. push_0
  14473. push_0
  14474. push_1
  14475. CallNative "SET_ENTITY_COORDS" 8 0
  14476. Jump @EndPersonalVehicle_
  14477. :PersonalVehicle_TeleportToVehicleOnFoot
  14478. CallNative "PLAYER_PED_ID" 0 1
  14479. StaticGet2 478
  14480. push_1
  14481. CallNative "GET_ENTITY_COORDS" 2 3
  14482. fPush_1.0
  14483. Push 1000
  14484. Push 1048576000
  14485. push_0
  14486. Push 1193033728
  14487. CallNative "TASK_FOLLOW_NAV_MESH_TO_COORD" 9 0
  14488. Jump @EndPersonalVehicle_
  14489. :PersonalVehicle_TeleportVehicleToYou
  14490. StaticGet2 478
  14491. CallNative "PLAYER_PED_ID" 0 1
  14492. push_1
  14493. CallNative "GET_ENTITY_COORDS" 2 3
  14494. push_1
  14495. push_0
  14496. push_0
  14497. push_1
  14498. CallNative "SET_ENTITY_COORDS" 8 0
  14499. Jump @EndPersonalVehicle_
  14500. :PersonalVehicle_PlayerNotInVehicle
  14501. PushString "~r~Error:~s~ Player is not in a vehicle."
  14502. Call @PrintBottomLeft_
  14503. Jump @EndPersonalVehicle_
  14504. :EndPersonalVehicle_
  14505. Return 0 0
  14506. //>
  14507. //< Menu Players submenu
  14508.  
  14509. //< Players Sub
  14510. :PlayersSub_
  14511. Function 0 2 0
  14512. fPush 18
  14513. StaticSet1 3
  14514. push_1
  14515. StaticSet1 8
  14516. Call @DrawBackground_
  14517. Call @DrawNormalOptionHighlight_
  14518. PushString "Online Players"
  14519. Call @AddTitle_
  14520. fPush_1.0
  14521. push_0
  14522. Call @GetPlayerName_
  14523. Call @AddOption_
  14524. fPush_2.0
  14525. push_1
  14526. Call @GetPlayerName_
  14527. Call @AddOption_
  14528. fPush_3.0
  14529. push_2
  14530. Call @GetPlayerName_
  14531. Call @AddOption_
  14532. fPush_4.0
  14533. push_3
  14534. Call @GetPlayerName_
  14535. Call @AddOption_
  14536. fPush_5.0
  14537. push_4
  14538. Call @GetPlayerName_
  14539. Call @AddOption_
  14540. fPush_6.0
  14541. push_5
  14542. Call @GetPlayerName_
  14543. Call @AddOption_
  14544. fPush_7.0
  14545. push_6
  14546. Call @GetPlayerName_
  14547. Call @AddOption_
  14548. fPush 8
  14549. push_7
  14550. Call @GetPlayerName_
  14551. Call @AddOption_
  14552. fPush 9
  14553. Push 8
  14554. Call @GetPlayerName_
  14555. Call @AddOption_
  14556. fPush 10
  14557. Push 9
  14558. Call @GetPlayerName_
  14559. Call @AddOption_
  14560. fPush 11
  14561. Push 10
  14562. Call @GetPlayerName_
  14563. Call @AddOption_
  14564. fPush 12
  14565. Push 11
  14566. Call @GetPlayerName_
  14567. Call @AddOption_
  14568. fPush 13
  14569. Push 12
  14570. Call @GetPlayerName_
  14571. Call @AddOption_
  14572. fPush 14
  14573. Push 13
  14574. Call @GetPlayerName_
  14575. Call @AddOption_
  14576. fPush 15
  14577. Push 14
  14578. Call @GetPlayerName_
  14579. Call @AddOption_
  14580. fPush 16
  14581. Push 15
  14582. Call @GetPlayerName_
  14583. Call @AddOption_
  14584. fPush 17
  14585. Push 16
  14586. Call @GetPlayerNameSctv_
  14587. Call @AddOption_
  14588. fPush 18
  14589. Push 17
  14590. Call @GetPlayerNameSctv_
  14591. Call @AddOption_
  14592. // Option's functions
  14593. Call @CheckAPressed_
  14594. push_1
  14595. JumpEQ @PlayersSubController_
  14596. Jump @EndPlayersSub_
  14597. :PlayersSubController_
  14598. PushString "SELECT"
  14599. Call @PlayFrontendSound_
  14600. StaticGet1 2
  14601. FtoI
  14602. Switch [1=@PlayersSubPlayer1_][2=@PlayersSubPlayer2_][3=@PlayersSubPlayer3_][4=@PlayersSubPlayer4_][5=@PlayersSubPlayer5_][6=@PlayersSubPlayer6_][7=@PlayersSubPlayer7_][8=@PlayersSubPlayer8_][9=@PlayersSubPlayer9_][10=@PlayersSubPlayer10_][11=@PlayersSubPlayer11_][12=@PlayersSubPlayer12_][13=@PlayersSubPlayer13_][14=@PlayersSubPlayer14_][15=@PlayersSubPlayer15_][16=@PlayersSubPlayer16_][17=@PlayersSubSCTV1_][18=@PlayersSubSCTV2_]
  14603. :PlayersSubPlayer1_
  14604. push_0
  14605. StaticSet2 240
  14606. Jump @PlayersSubSetPedANDLoadPlayersA_
  14607. :PlayersSubPlayer2_
  14608. push_1
  14609. StaticSet2 240
  14610. Jump @PlayersSubSetPedANDLoadPlayersA_
  14611. :PlayersSubPlayer3_
  14612. push_2
  14613. StaticSet2 240
  14614. Jump @PlayersSubSetPedANDLoadPlayersA_
  14615. :PlayersSubPlayer4_
  14616. push_3
  14617. StaticSet2 240
  14618. Jump @PlayersSubSetPedANDLoadPlayersA_
  14619. :PlayersSubPlayer5_
  14620. push_4
  14621. StaticSet2 240
  14622. Jump @PlayersSubSetPedANDLoadPlayersA_
  14623. :PlayersSubPlayer6_
  14624. push_5
  14625. StaticSet2 240
  14626. Jump @PlayersSubSetPedANDLoadPlayersA_
  14627. :PlayersSubPlayer7_
  14628. push_6
  14629. StaticSet2 240
  14630. Jump @PlayersSubSetPedANDLoadPlayersA_
  14631. :PlayersSubPlayer8_
  14632. push_7
  14633. StaticSet2 240
  14634. Jump @PlayersSubSetPedANDLoadPlayersA_
  14635. :PlayersSubPlayer9_
  14636. Push 8
  14637. StaticSet2 240
  14638. Jump @PlayersSubSetPedANDLoadPlayersA_
  14639. :PlayersSubPlayer10_
  14640. Push 9
  14641. StaticSet2 240
  14642. Jump @PlayersSubSetPedANDLoadPlayersA_
  14643. :PlayersSubPlayer11_
  14644. Push 10
  14645. StaticSet2 240
  14646. Jump @PlayersSubSetPedANDLoadPlayersA_
  14647. :PlayersSubPlayer12_
  14648. Push 11
  14649. StaticSet2 240
  14650. Jump @PlayersSubSetPedANDLoadPlayersA_
  14651. :PlayersSubPlayer13_
  14652. Push 12
  14653. StaticSet2 240
  14654. Jump @PlayersSubSetPedANDLoadPlayersA_
  14655. :PlayersSubPlayer14_
  14656. Push 13
  14657. StaticSet2 240
  14658. Jump @PlayersSubSetPedANDLoadPlayersA_
  14659. :PlayersSubPlayer15_
  14660. Push 14
  14661. StaticSet2 240
  14662. Jump @PlayersSubSetPedANDLoadPlayersA_
  14663. :PlayersSubPlayer16_
  14664. Push 15
  14665. StaticSet2 240
  14666. Jump @PlayersSubSetPedANDLoadPlayersA_
  14667. :PlayersSubSCTV1_
  14668. Push 16
  14669. StaticSet2 240
  14670. Jump @PlayersSubSetPedANDLoadPlayersA_
  14671. :PlayersSubSCTV2_
  14672. Push 17
  14673. StaticSet2 240
  14674. //Jump @PlayersSubSetPedANDLoadPlayersA_
  14675. :PlayersSubSetPedANDLoadPlayersA_
  14676. StaticGet2 240
  14677. CallNative "NETWORK_IS_PLAYER_ACTIVE" 1 1
  14678. JumpFalse @EndPlayersSub_
  14679. StaticGet2 240
  14680. CallNative "GET_PLAYER_PED" 1 1
  14681. StaticSet2 241
  14682. // Change Sub to PlayersSubAMenu
  14683. Push 8
  14684. StaticSet1 1
  14685. Call @ChangeSubmenu_
  14686. :EndPlayersSub_
  14687. Return 0 0
  14688. //>
  14689.  
  14690. //< PlayersSubAMenu
  14691. :PlayersSubAMenu_
  14692. Function 0 2 0
  14693. fPush_6.0
  14694. StaticSet1 3
  14695. Push 7
  14696. StaticSet1 8
  14697. Call @DrawBackground_
  14698. Call @DrawNormalOptionHighlight_
  14699. PushString "Player Stuff"
  14700. Call @AddInfoBox_
  14701. StaticGet2 240
  14702. CallNative "GET_PLAYER_NAME" 1 1
  14703. StaticSet2 239
  14704. StaticGet2 239
  14705. Call @AddTitle_
  14706. fPush_1.0
  14707. PushString "Player Options"
  14708. Call @AddOption_
  14709. fPush_2.0
  14710. PushString "Teleport Options"
  14711. Call @AddOption_
  14712. fPush_3.0
  14713. PushString "Teleport To Coords"
  14714. Call @AddOption_
  14715. fPush_4.0
  14716. PushString "Control Player's Vehicle"
  14717. Call @AddOption_
  14718. fPush_5.0
  14719. PushString "Nice and Naughty Options"
  14720. Call @AddOption_
  14721. fPush_6.0
  14722. PushString "Objects And Attachments"
  14723. Call @AddOption_
  14724. // Option's Functions
  14725. Call @CheckAPressed_
  14726. push_1
  14727. JumpEQ @PlayersSubAMenuController_
  14728. Jump @EndPlayersSubAMenu_
  14729. :PlayersSubAMenuController_
  14730. PushString "SELECT"
  14731. Call @PlayFrontendSound_
  14732. StaticGet1 2
  14733. FtoI
  14734. Switch [1=@PlayersSubAMenu_PlayerSub][2=@PlayersSubAMenu_Teleport][3=@PlayersSubAMenu_TeleportToCoords][4=@PlayersSubAMenu_VehicleControl][5=@PlayersSubAMenu_NiceandNaughty][6=@PlayersSubAMenu_ObjectsAndAttachments]
  14735. :PlayersSubAMenu_PlayerSub
  14736. Push 9
  14737. StaticSet1 1
  14738. Call @ChangeSubmenu_
  14739. Jump @EndPlayersSubAMenu_
  14740. :PlayersSubAMenu_Teleport
  14741. Push 11
  14742. StaticSet1 1
  14743. Call @ChangeSubmenu_
  14744. Jump @EndPlayersSubAMenu_
  14745. :PlayersSubAMenu_TeleportToCoords
  14746. Push 12
  14747. StaticSet1 1
  14748. Call @ChangeSubmenu_
  14749. Jump @EndPlayersSubAMenu_
  14750. :PlayersSubAMenu_VehicleControl
  14751. Push 16
  14752. StaticSet1 1
  14753. Call @ChangeSubmenu_
  14754. Jump @EndPlayersSubAMenu_
  14755. :PlayersSubAMenu_NiceandNaughty
  14756. Push 18
  14757. StaticSet1 1
  14758. Call @ChangeSubmenu_
  14759. Jump @EndPlayersSubAMenu_
  14760. :PlayersSubAMenu_ObjectsAndAttachments
  14761. Push 20
  14762. StaticSet1 1
  14763. Call @ChangeSubmenu_
  14764. Jump @EndPlayersSubAMenu_
  14765. :EndPlayersSubAMenu_
  14766. Return 0 0
  14767. //>
  14768.  
  14769. //< Network Player Options
  14770. :Network_PlayerSub_
  14771. Function 0 2 0
  14772. fPush 12
  14773. StaticSet1 3
  14774. Push 8
  14775. StaticSet1 8
  14776. Call @DrawBackground_
  14777. Call @DrawNormalOptionHighlight_
  14778. PushString "Player Modifications"
  14779. Call @AddInfoBox_
  14780. PushString "Player Options"
  14781. Call @AddTitle_
  14782. fPush_1.0
  14783. PushString "Teleport to Player"
  14784. Call @AddOption_
  14785. fPush_2.0
  14786. PushString "Forcefeild (Loop)"
  14787. Call @AddOption_
  14788. fPush_3.0
  14789. PushString "Mess Up Their Screen!"
  14790. Call @AddOption_
  14791. fPush_4.0
  14792. PushString "Water Hydrant (Loop)"
  14793. Call @AddOption_
  14794. fPush_5.0
  14795. PushString "Flame (Loop)"
  14796. Call @AddOption_
  14797. fPush_6.0
  14798. PushString "Empty"
  14799. Call @AddOption_
  14800. fPush_7.0
  14801. PushString "Clear Tasks"
  14802. Call @AddOption_
  14803. fPush 8
  14804. PushString "Trap in Cage"
  14805. Call @AddOption_
  14806. fPush 9
  14807. PushString "Attach Beach-Fire To Player"
  14808. Call @AddOption_
  14809. fPush 10
  14810. PushString "Attach Crap To Player"
  14811. Call @AddOption_
  14812. fPush 11
  14813. PushString "Freeze Player's Console"
  14814. Call @AddOption_
  14815. fPush 12
  14816. PushString "Explosions List ---------"
  14817. Call @AddOption_
  14818. //Highlight
  14819. //The info box is not just limited to a whole submenu. You can display it on an option highlight as well.
  14820. Call @CheckAPressed_
  14821. push_1
  14822. JumpEQ @NetworkPlayersOptionsController_
  14823. Jump @EndNetwork_PlayerSub_
  14824. :NetworkPlayersOptionsController_
  14825. PushString "SELECT"
  14826. Call @PlayFrontendSound_
  14827. StaticGet1 2
  14828. FtoI
  14829. Switch [1=@Sub6Op1_][2=@Forcefeild_][3=@ExplosionLoop_][4=@HydrantLoop_][5=@FlameLoop_][6=@40kMoneyLoop1_][7=@ClearTasks_][8=@TrapInCage_][9=@NetworkAttachBeachFire_][10=@NetworkAttachDogCrap_][11=@ClonePlayer_][12=@NetworkExplosions_]
  14830. :Sub6Op1_
  14831. CallNative "PLAYER_PED_ID" 0 1
  14832. StaticGet2 241
  14833. push_1
  14834. CallNative "GET_ENTITY_COORDS" 2 3
  14835. push_1
  14836. push_0
  14837. push_0
  14838. push_1
  14839. CallNative "SET_ENTITY_COORDS" 8 0
  14840. Jump @EndNetwork_PlayerSub_
  14841. :Forcefeild_
  14842. StaticGet1 10
  14843. Push1 17
  14844. CallNative "IS_BIT_SET" 2 1
  14845. JumpFalse @ForcefeildOn_
  14846. pStatic1 10
  14847. Push1 17
  14848. CallNative "CLEAR_BIT" 2 0
  14849. Jump @EndNetwork_PlayerSub_
  14850. :ForcefeildOn_
  14851. pStatic1 10
  14852. Push1 17
  14853. CallNative "SET_BIT" 2 0
  14854. Jump @EndNetwork_PlayerSub_
  14855. :ExplosionLoop_
  14856. StaticGet1 10
  14857. Push1 19
  14858. CallNative "IS_BIT_SET" 2 1
  14859. JumpFalse @ExplosionLoopOn_
  14860. pStatic1 10
  14861. Push1 19
  14862. CallNative "CLEAR_BIT" 2 0
  14863. Jump @EndNetwork_PlayerSub_
  14864. :ExplosionLoopOn_
  14865. pStatic1 10
  14866. Push1 19
  14867. CallNative "SET_BIT" 2 0
  14868. Jump @EndNetwork_PlayerSub_
  14869. :HydrantLoop_
  14870. StaticGet1 10
  14871. Push1 20
  14872. CallNative "IS_BIT_SET" 2 1
  14873. JumpFalse @HydrantLoopOn_
  14874. pStatic1 10
  14875. Push1 20
  14876. CallNative "CLEAR_BIT" 2 0
  14877. Jump @EndNetwork_PlayerSub_
  14878. :HydrantLoopOn_
  14879. pStatic1 10
  14880. Push1 20
  14881. CallNative "SET_BIT" 2 0
  14882. Jump @EndNetwork_PlayerSub_
  14883. :FlameLoop_
  14884. StaticGet1 10
  14885. Push1 21
  14886. CallNative "IS_BIT_SET" 2 1
  14887. JumpFalse @FlameLoopOn_
  14888. pStatic1 10
  14889. Push1 21
  14890. CallNative "CLEAR_BIT" 2 0
  14891. Jump @EndNetwork_PlayerSub_
  14892. :FlameLoopOn_
  14893. pStatic1 10
  14894. Push1 21
  14895. CallNative "SET_BIT" 2 0
  14896. Jump @EndNetwork_PlayerSub_
  14897. :40kMoneyLoop1_
  14898. push_0
  14899. CallNative "WAIT" 1 0
  14900. StaticGet2 460
  14901. Add1 1
  14902. StaticSet2 460
  14903. pGlobal3 2407802
  14904. GetImmediate2 4113
  14905. StaticGet2 241
  14906. push_1
  14907. CallNative "GET_ENTITY_COORDS" 2 3
  14908. push_0
  14909. Push 4000000
  14910. pGlobal3 2407802
  14911. GetImmediate2 4113
  14912. push_0
  14913. push_1
  14914. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  14915. Drop
  14916. pGlobal3 2407802
  14917. GetImmediate2 4113
  14918. StaticGet2 241
  14919. push_1
  14920. CallNative "GET_ENTITY_COORDS" 2 3
  14921. push_0
  14922. Push 40000
  14923. pGlobal3 2407802
  14924. GetImmediate2 4113
  14925. push_0
  14926. push_1
  14927. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  14928. Drop
  14929. pGlobal3 2407802
  14930. GetImmediate2 4113
  14931. StaticGet2 241
  14932. push_1
  14933. CallNative "GET_ENTITY_COORDS" 2 3
  14934. push_0
  14935. Push 400000
  14936. pGlobal3 2407802
  14937. GetImmediate2 4113
  14938. push_0
  14939. push_1
  14940. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  14941. Drop
  14942. pGlobal3 2407802
  14943. GetImmediate2 4113
  14944. StaticGet2 241
  14945. push_1
  14946. CallNative "GET_ENTITY_COORDS" 2 3
  14947. push_0
  14948. Push 400000
  14949. pGlobal3 2407802
  14950. GetImmediate2 4113
  14951. push_0
  14952. push_1
  14953. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  14954. Drop
  14955. pGlobal3 2407802
  14956. GetImmediate2 4113
  14957. StaticGet2 241
  14958. push_1
  14959. CallNative "GET_ENTITY_COORDS" 2 3
  14960. push_0
  14961. Push 400000
  14962. pGlobal3 2407802
  14963. GetImmediate2 4113
  14964. push_0
  14965. push_1
  14966. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  14967. Drop
  14968. pGlobal3 2407802
  14969. GetImmediate2 4113
  14970. StaticGet2 241
  14971. push_1
  14972. CallNative "GET_ENTITY_COORDS" 2 3
  14973. push_0
  14974. Push 400000
  14975. pGlobal3 2407802
  14976. GetImmediate2 4113
  14977. push_0
  14978. push_1
  14979. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  14980. Drop
  14981. pGlobal3 2407802
  14982. GetImmediate2 4113
  14983. StaticGet2 241
  14984. push_1
  14985. CallNative "GET_ENTITY_COORDS" 2 3
  14986. push_0
  14987. Push 400000
  14988. pGlobal3 2407802
  14989. GetImmediate2 4113
  14990. push_0
  14991. push_1
  14992. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  14993. Drop
  14994. pGlobal3 2407802
  14995. GetImmediate2 4113
  14996. StaticGet2 241
  14997. push_1
  14998. CallNative "GET_ENTITY_COORDS" 2 3
  14999. push_0
  15000. Push 400000
  15001. pGlobal3 2407802
  15002. GetImmediate2 4113
  15003. push_0
  15004. push_1
  15005. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  15006. Drop
  15007. pGlobal3 2407802
  15008. GetImmediate2 4113
  15009. StaticGet2 241
  15010. push_1
  15011. CallNative "GET_ENTITY_COORDS" 2 3
  15012. push_0
  15013. Push 400000
  15014. pGlobal3 2407802
  15015. GetImmediate2 4113
  15016. push_0
  15017. push_1
  15018. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  15019. Drop
  15020. StaticGet2 460
  15021. Push1 8
  15022. Jump @EndNetwork_PlayerSub_
  15023. :ClearTasks_
  15024. StaticGet1 10
  15025. Push1 23
  15026. CallNative "IS_BIT_SET" 2 1
  15027. JumpFalse @ClearTasksOn_
  15028. pStatic1 10
  15029. Push1 23
  15030. CallNative "CLEAR_BIT" 2 0
  15031. Jump @EndNetwork_PlayerSub_
  15032. :ClearTasksOn_
  15033. pStatic1 10
  15034. Push1 23
  15035. CallNative "SET_BIT" 2 0
  15036. Jump @EndNetwork_PlayerSub_
  15037. :TrapInCage_
  15038. PushString "prop_gold_cont_01"
  15039. GetHash
  15040. StaticGet2 241
  15041. push_1
  15042. CallNative "GET_ENTITY_COORDS" 2 3
  15043. push_1
  15044. push_0
  15045. push_0
  15046. CallNative "CREATE_OBJECT" 7 1
  15047. CallNative "OBJ_TO_NET" 1 1
  15048. Drop
  15049. Jump @EndNetwork_PlayerSub_
  15050. :NetworkAttachBeachFire_
  15051. push_0
  15052. StaticSet1 23
  15053. :NetworkAttachBeachFireOn_
  15054. push_0
  15055. CallNative "WAIT" 1 0
  15056. StaticGet1 23
  15057. Add1 1
  15058. StaticSet1 23
  15059. PushString "prop_beach_fire"
  15060. GetHash
  15061. StaticGet2 241
  15062. push_1
  15063. CallNative "GET_ENTITY_COORDS" 2 3
  15064. push_1
  15065. push_1
  15066. push_0
  15067. CallNative "CREATE_OBJECT" 7 1
  15068. StaticGet2 241
  15069. push_0
  15070. push_0
  15071. push_0
  15072. push_0
  15073. push_0
  15074. push_0
  15075. push_0
  15076. push_1
  15077. push_1
  15078. push_0
  15079. push_0
  15080. push_2
  15081. push_1
  15082. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  15083. StaticGet1 23
  15084. Push1 5
  15085. JumpLE @NetworkAttachBeachFireOn_
  15086. Jump @EndNetwork_PlayerSub_
  15087. :NetworkAttachDogCrap_
  15088. push_0
  15089. StaticSet1 23
  15090. :NetworkAttachDogCrapOn_
  15091. push_0
  15092. CallNative "WAIT" 1 0
  15093. StaticGet1 23
  15094. Add1 1
  15095. StaticSet1 23
  15096. PushString "prop_big_shit_02"
  15097. GetHash
  15098. StaticGet2 241
  15099. push_1
  15100. CallNative "GET_ENTITY_COORDS" 2 3
  15101. push_1
  15102. push_1
  15103. push_0
  15104. CallNative "CREATE_OBJECT" 7 1
  15105. StaticGet2 241
  15106. push_0
  15107. push_0
  15108. push_0
  15109. push_0
  15110. push_0
  15111. push_0
  15112. push_0
  15113. push_1
  15114. push_1
  15115. push_0
  15116. push_0
  15117. push_2
  15118. push_1
  15119. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  15120. StaticGet1 23
  15121. PushS 50
  15122. JumpLE @NetworkAttachDogCrapOn_
  15123. Jump @EndNetwork_PlayerSub_
  15124. :ClonePlayer_
  15125. push_0
  15126. StaticSet1 23
  15127. :CloneNow_
  15128. PushS 300
  15129. CallNative "WAIT" 1 0
  15130. StaticGet1 23
  15131. Add1 1
  15132. StaticSet1 23
  15133. StaticGet2 241
  15134. push_1
  15135. push_1
  15136. push_1
  15137. CallNative "CLONE_PED" 4 1
  15138. Drop
  15139. StaticGet1 23
  15140. Push1 25
  15141. JumpLE @CloneNow_
  15142. Jump @EndNetwork_PlayerSub_
  15143. :NetworkExplosions_
  15144. Push 10
  15145. StaticSet1 1
  15146. Call @ChangeSubmenu_
  15147. Jump @EndNetwork_PlayerSub_
  15148. :EndNetwork_PlayerSub_
  15149. Return 0 0
  15150. //>
  15151. //< Network Player Sub Explosions Sub
  15152. :Network_ExplosionSub
  15153. Function 0 2 0
  15154. fPush 16
  15155. StaticSet1 3
  15156. Push 9
  15157. StaticSet1 8
  15158. Call @DrawBackground_
  15159. Call @DrawNormalOptionHighlight_
  15160. PushString "-----Explosions Page (1)-----"
  15161. Call @AddInfoBox_
  15162. StaticGet2 239
  15163. Call @AddTitle_
  15164. fPush_1.0
  15165. PushString "Barrel"
  15166. Call @AddOption_
  15167. fPush_2.0
  15168. PushString "Bike"
  15169. Call @AddOption_
  15170. fPush_3.0
  15171. PushString "Blimp"
  15172. Call @AddOption_
  15173. fPush_4.0
  15174. PushString "Boat"
  15175. Call @AddOption_
  15176. fPush_5.0
  15177. PushString "Bullet"
  15178. Call @AddOption_
  15179. fPush_6.0
  15180. PushString "BZGas"
  15181. Call @AddOption_
  15182. fPush_7.0
  15183. PushString "Car"
  15184. Call @AddOption_
  15185. fPush 8
  15186. PushString "DIR_FLAME"
  15187. Call @AddOption_
  15188. fPush 9
  15189. PushString "DIR_FLAME_EXPLODE"
  15190. Call @AddOption_
  15191. fPush 10
  15192. PushString "DIR_GAS_CANISTER"
  15193. Call @AddOption_
  15194. fPush 11
  15195. PushString "DIR_STEAM"
  15196. Call @AddOption_
  15197. fPush 12
  15198. PushString "DIR_WATER_HYDRANT"
  15199. Call @AddOption_
  15200. fPush 13
  15201. PushString "Extinguisher"
  15202. Call @AddOption_
  15203. fPush 14
  15204. PushString "Firework"
  15205. Call @AddOption_
  15206. fPush 15
  15207. PushString "Flare"
  15208. Call @AddOption_
  15209. fPush 16
  15210. PushString "Page (2)"
  15211. Call @AddOption_
  15212. // Option's Functions
  15213. Call @CheckAPressed_
  15214. push_1
  15215. JumpEQ @Network_ExplosionSubController
  15216. Jump @EndNetwork_ExplosionSub_
  15217. :Network_ExplosionSubController
  15218. PushString "SELECT"
  15219. Call @PlayFrontendSound_
  15220. StaticGet1 2
  15221. FtoI
  15222. Switch [1=@Network_ExplosionSub_Barrel][2=@Network_ExplosionSub_Bike][3=@Network_ExplosionSub_Blimp][4=@Network_ExplosionSub_Boat][5=@Network_ExplosionSub_Bullet][6=@Network_ExplosionSub_Bzgas][7=@Network_ExplosionSub_Car][8=@Network_ExplosionSub_DIR_FLAME][9=@Network_DIR_FLAME_EXPLODE][10=@Network_DIR_GAS_CANISTER][11=@Network_ExplosionSub_DIR_STEAM][12=@Network_ExplosionSub_DIR_WATER_HYDRANT][13=@Network_ExplosionSub_EXTINGUISHER][14=@Network_ExplosionSub_FIREWORK][15=@Network_ExplosionSub_FLARE][16=@Network_ExplosionSub_Page2]
  15223. :Network_ExplosionSub_Barrel
  15224. StaticGet2 241
  15225. Push 27
  15226. CallNative "GET_ENTITY_COORDS" 2 3
  15227. Push1 27
  15228. fPush_5.0
  15229. push_1
  15230. push_0
  15231. fPush_0.0
  15232. CallNative "ADD_EXPLOSION" 8 0
  15233. Jump @EndNetwork_ExplosionSub_
  15234. :Network_ExplosionSub_Bike
  15235. StaticGet2 241
  15236. Push 10
  15237. CallNative "GET_ENTITY_COORDS" 2 3
  15238. Push1 5
  15239. fPush_5.0
  15240. push_1
  15241. push_0
  15242. fPush_0.0
  15243. CallNative "ADD_EXPLOSION" 8 0
  15244. Jump @EndNetwork_ExplosionSub_
  15245. :Network_ExplosionSub_Blimp
  15246. StaticGet2 241
  15247. push_1
  15248. CallNative "GET_ENTITY_COORDS" 2 3
  15249. Push1 29
  15250. fPush_5.0
  15251. push_1
  15252. push_0
  15253. fPush_0.0
  15254. CallNative "ADD_EXPLOSION" 8 0
  15255. Jump @EndNetwork_ExplosionSub_
  15256. :Network_ExplosionSub_Boat
  15257. StaticGet2 241
  15258. push_1
  15259. CallNative "GET_ENTITY_COORDS" 2 3
  15260. Push1 15
  15261. fPush_5.0
  15262. push_1
  15263. push_0
  15264. fPush_0.0
  15265. CallNative "ADD_EXPLOSION" 8 0
  15266. Jump @EndNetwork_ExplosionSub_
  15267. :Network_ExplosionSub_Bullet
  15268. StaticGet2 241
  15269. push_1
  15270. CallNative "GET_ENTITY_COORDS" 2 3
  15271. Push1 18
  15272. fPush_5.0
  15273. push_1
  15274. push_0
  15275. fPush_0.0
  15276. CallNative "ADD_EXPLOSION" 8 0
  15277. Jump @EndNetwork_ExplosionSub_
  15278. :Network_ExplosionSub_Bzgas
  15279. StaticGet2 241
  15280. push_1
  15281. CallNative "GET_ENTITY_COORDS" 2 3
  15282. Push1 21
  15283. fPush_5.0
  15284. push_1
  15285. push_0
  15286. fPush_0.0
  15287. CallNative "ADD_EXPLOSION" 8 0
  15288. Jump @EndNetwork_ExplosionSub_
  15289. :Network_ExplosionSub_Car
  15290. StaticGet2 241
  15291. push_1
  15292. CallNative "GET_ENTITY_COORDS" 2 3
  15293. push_7
  15294. fPush_5.0
  15295. push_1
  15296. push_0
  15297. fPush_0.0
  15298. CallNative "ADD_EXPLOSION" 8 0
  15299. Jump @EndNetwork_ExplosionSub_
  15300. :Network_ExplosionSub_DIR_FLAME
  15301. StaticGet2 241
  15302. push_1
  15303. CallNative "GET_ENTITY_COORDS" 2 3
  15304. Push1 12
  15305. fPush_5.0
  15306. push_1
  15307. push_0
  15308. fPush_0.0
  15309. CallNative "ADD_EXPLOSION" 8 0
  15310. Jump @EndNetwork_ExplosionSub_
  15311. :Network_DIR_FLAME_EXPLODE
  15312. StaticGet2 241
  15313. push_1
  15314. CallNative "GET_ENTITY_COORDS" 2 3
  15315. Push1 30
  15316. fPush_5.0
  15317. push_1
  15318. push_0
  15319. fPush_0.0
  15320. CallNative "ADD_EXPLOSION" 8 0
  15321. Jump @EndNetwork_ExplosionSub_
  15322. :Network_DIR_GAS_CANISTER
  15323. StaticGet2 241
  15324. push_1
  15325. CallNative "GET_ENTITY_COORDS" 2 3
  15326. Push1 14
  15327. fPush_5.0
  15328. push_1
  15329. push_0
  15330. fPush_0.0
  15331. CallNative "ADD_EXPLOSION" 8 0
  15332. Jump @EndNetwork_ExplosionSub_
  15333. :Network_ExplosionSub_DIR_STEAM
  15334. StaticGet2 241
  15335. push_1
  15336. CallNative "GET_ENTITY_COORDS" 2 3
  15337. Push1 11
  15338. fPush_5.0
  15339. push_1
  15340. push_0
  15341. fPush_0.0
  15342. CallNative "ADD_EXPLOSION" 8 0
  15343. Jump @EndNetwork_ExplosionSub_
  15344. :Network_ExplosionSub_DIR_WATER_HYDRANT
  15345. StaticGet2 241
  15346. push_1
  15347. CallNative "GET_ENTITY_COORDS" 2 3
  15348. Push1 13
  15349. fPush_5.0
  15350. push_1
  15351. push_0
  15352. fPush_0.0
  15353. CallNative "ADD_EXPLOSION" 8 0
  15354. Jump @EndNetwork_ExplosionSub_
  15355. :Network_ExplosionSub_EXTINGUISHER
  15356. StaticGet2 241
  15357. push_1
  15358. CallNative "GET_ENTITY_COORDS" 2 3
  15359. Push1 24
  15360. fPush_5.0
  15361. push_1
  15362. push_0
  15363. fPush_0.0
  15364. CallNative "ADD_EXPLOSION" 8 0
  15365. Jump @EndNetwork_ExplosionSub_
  15366. :Network_ExplosionSub_FIREWORK
  15367. StaticGet2 241
  15368. push_1
  15369. CallNative "GET_ENTITY_COORDS" 2 3
  15370. Push1 36
  15371. fPush_5.0
  15372. push_1
  15373. push_0
  15374. fPush_0.0
  15375. CallNative "ADD_EXPLOSION" 8 0
  15376. Jump @EndNetwork_ExplosionSub_
  15377. :Network_ExplosionSub_FLARE
  15378. StaticGet2 241
  15379. push_1
  15380. CallNative "GET_ENTITY_COORDS" 2 3
  15381. Push1 22
  15382. fPush_5.0
  15383. push_1
  15384. push_0
  15385. fPush_0.0
  15386. CallNative "ADD_EXPLOSION" 8 0
  15387. Jump @EndNetwork_ExplosionSub_
  15388. :Network_ExplosionSub_Page2
  15389. Push 13
  15390. StaticSet1 1
  15391. Call @ChangeSubmenu_
  15392. Jump @EndNetwork_ExplosionSub_
  15393. :EndNetwork_ExplosionSub_
  15394. Return 0 0
  15395. //< Network Player Sub Explosions Sub
  15396. :Network_Explosion2Sub
  15397. Function 0 2 0
  15398. fPush 15
  15399. StaticSet1 3
  15400. Push 10
  15401. StaticSet1 8
  15402. Call @DrawBackground_
  15403. Call @DrawNormalOptionHighlight_
  15404. PushString "-----Explosions Page (2)-----"
  15405. Call @AddInfoBox_
  15406. StaticGet2 239
  15407. Call @AddTitle_
  15408. fPush_1.0
  15409. PushString "Gas Canister"
  15410. Call @AddOption_
  15411. fPush_2.0
  15412. PushString "Gas Tank"
  15413. Call @AddOption_
  15414. fPush_3.0
  15415. PushString "Grenade"
  15416. Call @AddOption_
  15417. fPush_4.0
  15418. PushString "Grenade Launcher"
  15419. Call @AddOption_
  15420. fPush_5.0
  15421. PushString "Hi Octane"
  15422. Call @AddOption_
  15423. fPush_6.0
  15424. PushString "Molotov"
  15425. Call @AddOption_
  15426. fPush_7.0
  15427. PushString "Petrol Pump"
  15428. Call @AddOption_
  15429. fPush 8
  15430. PushString "Plane"
  15431. Call @AddOption_
  15432. fPush 9
  15433. PushString "Plane Rocket"
  15434. Call @AddOption_
  15435. fPush 10
  15436. PushString "Programmablear"
  15437. Call @AddOption_
  15438. fPush 11
  15439. PushString "Propane"
  15440. Call @AddOption_
  15441. fPush 12
  15442. PushString "Rocket"
  15443. Call @AddOption_
  15444. fPush 13
  15445. PushString "Ship Destroy"
  15446. Call @AddOption_
  15447. fPush 14
  15448. PushString "Smoke Grenade"
  15449. Call @AddOption_
  15450. fPush 15
  15451. PushString "Page (3)"
  15452. Call @AddOption_
  15453. // Option's Functions
  15454. Call @CheckAPressed_
  15455. push_1
  15456. JumpEQ @Network_ExplosionSub2Controller
  15457. Jump @EndNetwork_Explosion2Sub_
  15458. :Network_ExplosionSub2Controller
  15459. PushString "SELECT"
  15460. Call @PlayFrontendSound_
  15461. StaticGet1 2
  15462. FtoI
  15463. Switch [1=@Network_Explosion2Sub_GAS_CANISTER][2=@Network_Explosion2Sub_GAS_TANK][3=@Network_Explosion2Sub_GRENADE][4=@Network_Explosion2Sub_GRENADELAUNCHER][5=@Network_Explosion2Sub_HI_OCTANE][6=@Network_Explosion2Sub_MOLOTOV][7=@Network_Explosion2Sub_PETROL_PUMP][8=@Network_Explosion2Sub_PLANE][9=@Network_Explosion2Sub_PLANE_ROCKET][10=@Network_Explosion2Sub_PROGRAMMABLEAR][11=@Network_Explosion2Sub_PROPANE][12=@Network_Explosion2Sub_ROCKET][13=@Network_Explosion2Sub_SHIP_DESTROY][14=@Network_Explosion2Sub_SMOKEGRENADE][15=@Network_ExplosionSub_Page3]
  15464. :Network_Explosion2Sub_GAS_CANISTER
  15465. StaticGet2 241
  15466. push_1
  15467. CallNative "GET_ENTITY_COORDS" 2 3
  15468. Push1 34
  15469. fPush_5.0
  15470. push_1
  15471. push_0
  15472. fPush_0.0
  15473. CallNative "ADD_EXPLOSION" 8 0
  15474. Jump @EndNetwork_Explosion2Sub_
  15475. :Network_Explosion2Sub_GAS_TANK
  15476. StaticGet2 241
  15477. push_1
  15478. CallNative "GET_ENTITY_COORDS" 2 3
  15479. Push1 34
  15480. fPush_5.0
  15481. push_1
  15482. push_0
  15483. fPush_0.0
  15484. CallNative "ADD_EXPLOSION" 8 0
  15485. Jump @EndNetwork_Explosion2Sub_
  15486. :Network_Explosion2Sub_GRENADE
  15487. StaticGet2 241
  15488. push_1
  15489. CallNative "GET_ENTITY_COORDS" 2 3
  15490. push_0
  15491. fPush_5.0
  15492. push_1
  15493. push_0
  15494. fPush_0.0
  15495. CallNative "ADD_EXPLOSION" 8 0
  15496. Jump @EndNetwork_Explosion2Sub_
  15497. :Network_Explosion2Sub_GRENADELAUNCHER
  15498. StaticGet2 241
  15499. push_1
  15500. CallNative "GET_ENTITY_COORDS" 2 3
  15501. push_1
  15502. fPush_5.0
  15503. push_1
  15504. push_0
  15505. fPush_0.0
  15506. CallNative "ADD_EXPLOSION" 8 0
  15507. Jump @EndNetwork_Explosion2Sub_
  15508. :Network_Explosion2Sub_HI_OCTANE
  15509. StaticGet2 241
  15510. push_1
  15511. CallNative "GET_ENTITY_COORDS" 2 3
  15512. push_6
  15513. fPush_5.0
  15514. push_1
  15515. push_0
  15516. fPush_0.0
  15517. CallNative "ADD_EXPLOSION" 8 0
  15518. Jump @EndNetwork_Explosion2Sub_
  15519. :Network_Explosion2Sub_MOLOTOV
  15520. StaticGet2 241
  15521. push_1
  15522. CallNative "GET_ENTITY_COORDS" 2 3
  15523. push_3
  15524. fPush_5.0
  15525. push_1
  15526. push_0
  15527. fPush_0.0
  15528. CallNative "ADD_EXPLOSION" 8 0
  15529. Jump @EndNetwork_Explosion2Sub_
  15530. :Network_Explosion2Sub_PETROL_PUMP
  15531. StaticGet2 241
  15532. push_1
  15533. CallNative "GET_ENTITY_COORDS" 2 3
  15534. Push1 9
  15535. fPush_5.0
  15536. push_1
  15537. push_0
  15538. fPush_0.0
  15539. CallNative "ADD_EXPLOSION" 8 0
  15540. Jump @EndNetwork_Explosion2Sub_
  15541. :Network_Explosion2Sub_PLANE
  15542. StaticGet2 241
  15543. push_1
  15544. CallNative "GET_ENTITY_COORDS" 2 3
  15545. Push1 8
  15546. fPush_5.0
  15547. push_1
  15548. push_0
  15549. fPush_0.0
  15550. CallNative "ADD_EXPLOSION" 8 0
  15551. Jump @EndNetwork_Explosion2Sub_
  15552. :Network_Explosion2Sub_PLANE_ROCKET
  15553. StaticGet2 241
  15554. push_1
  15555. CallNative "GET_ENTITY_COORDS" 2 3
  15556. Push1 32
  15557. fPush_5.0
  15558. push_1
  15559. push_0
  15560. fPush_0.0
  15561. CallNative "ADD_EXPLOSION" 8 0
  15562. Jump @EndNetwork_Explosion2Sub_
  15563. :Network_Explosion2Sub_PROGRAMMABLEAR
  15564. StaticGet2 241
  15565. push_1
  15566. CallNative "GET_ENTITY_COORDS" 2 3
  15567. Push1 25
  15568. fPush_5.0
  15569. push_1
  15570. push_0
  15571. fPush_0.0
  15572. CallNative "ADD_EXPLOSION" 8 0
  15573. Jump @EndNetwork_Explosion2Sub_
  15574. :Network_Explosion2Sub_PROPANE
  15575. StaticGet2 241
  15576. push_1
  15577. CallNative "GET_ENTITY_COORDS" 2 3
  15578. Push1 28
  15579. fPush_5.0
  15580. push_1
  15581. push_0
  15582. fPush_0.0
  15583. CallNative "ADD_EXPLOSION" 8 0
  15584. Jump @EndNetwork_Explosion2Sub_
  15585. :Network_Explosion2Sub_ROCKET
  15586. StaticGet2 241
  15587. push_1
  15588. CallNative "GET_ENTITY_COORDS" 2 3
  15589. push_4
  15590. fPush_5.0
  15591. push_1
  15592. push_0
  15593. fPush_0.0
  15594. CallNative "ADD_EXPLOSION" 8 0
  15595. Jump @EndNetwork_Explosion2Sub_
  15596. :Network_Explosion2Sub_SHIP_DESTROY
  15597. StaticGet2 241
  15598. push_1
  15599. CallNative "GET_ENTITY_COORDS" 2 3
  15600. Push1 16
  15601. fPush_5.0
  15602. push_1
  15603. push_0
  15604. fPush_0.0
  15605. CallNative "ADD_EXPLOSION" 8 0
  15606. Jump @EndNetwork_Explosion2Sub_
  15607. :Network_Explosion2Sub_SMOKEGRENADE
  15608. StaticGet2 241
  15609. push_1
  15610. CallNative "GET_ENTITY_COORDS" 2 3
  15611. Push1 20
  15612. fPush_5.0
  15613. push_1
  15614. push_0
  15615. fPush_0.0
  15616. CallNative "ADD_EXPLOSION" 8 0
  15617. Jump @EndNetwork_Explosion2Sub_
  15618. :Network_ExplosionSub_Page3
  15619. Push 14
  15620. StaticSet1 1
  15621. Call @ChangeSubmenu_
  15622. Jump @EndNetwork_Explosion2Sub_
  15623. :EndNetwork_Explosion2Sub_
  15624. Return 0 0
  15625.  
  15626. :Network_Explosion3Sub
  15627. Function 0 2 0
  15628. fPush 9
  15629. StaticSet1 3
  15630. Push 13
  15631. StaticSet1 8
  15632. Call @DrawBackground_
  15633. Call @DrawNormalOptionHighlight_
  15634. PushString "-----Explosions Page (3)-----"
  15635. Call @AddInfoBox_
  15636. StaticGet2 239
  15637. Call @AddTitle_
  15638. fPush_1.0
  15639. PushString "Smoke Grenade Launcher"
  15640. Call @AddOption_
  15641. fPush_2.0
  15642. PushString "Steam"
  15643. Call @AddOption_
  15644. fPush_3.0
  15645. PushString "Sticky Bomb"
  15646. Call @AddOption_
  15647. fPush_4.0
  15648. PushString "Tanker"
  15649. Call @AddOption_
  15650. fPush_5.0
  15651. PushString "Tank Shell"
  15652. Call @AddOption_
  15653. fPush_6.0
  15654. PushString "Train"
  15655. Call @AddOption_
  15656. fPush_7.0
  15657. PushString "Truck"
  15658. Call @AddOption_
  15659. fPush 8
  15660. PushString "Vehicle Bullet"
  15661. Call @AddOption_
  15662. fPush 9
  15663. PushString "Invisible Explosion"
  15664. Call @AddOption_
  15665. // Option's Functions
  15666. Call @CheckAPressed_
  15667. push_1
  15668. JumpEQ @Network_ExplosionSub3Controller
  15669. Jump @EndNetwork_Explosion3Sub_
  15670. :Network_ExplosionSub3Controller
  15671. PushString "SELECT"
  15672. Call @PlayFrontendSound_
  15673. StaticGet1 2
  15674. FtoI
  15675. Switch [1=@Network_Explosion3Sub_SMOKEGRENADELAUNCHER][2=@Network_Explosion3Sub_STEAM][3=@Network_Explosion3Sub_STICKYBOMB][4=@Network_Explosion3Sub_TANKER][5=@Network_Explosion3Sub_TANKSHELL][6=@Network_Explosion3Sub_TRAIN][7=@Network_Explosion3Sub_TRUCK][8=@Network_Explosion3Sub_VEHICLE_BULLET][9=@Network_Explosion3Sub_Invisible_Explosion]
  15676. :Network_Explosion3Sub_SMOKEGRENADELAUNCHER
  15677. StaticGet2 241
  15678. push_1
  15679. CallNative "GET_ENTITY_COORDS" 2 3
  15680. Push1 19
  15681. fPush_5.0
  15682. push_1
  15683. push_0
  15684. fPush_0.0
  15685. CallNative "ADD_EXPLOSION" 8 0
  15686. Jump @EndNetwork_Explosion3Sub_
  15687. :Network_Explosion3Sub_STEAM
  15688. StaticGet2 241
  15689. push_1
  15690. CallNative "GET_ENTITY_COORDS" 2 3
  15691. Push1 35
  15692. fPush_5.0
  15693. push_1
  15694. push_0
  15695. fPush_0.0
  15696. CallNative "ADD_EXPLOSION" 8 0
  15697. Jump @EndNetwork_Explosion3Sub_
  15698. :Network_Explosion3Sub_STICKYBOMB
  15699. StaticGet2 241
  15700. push_1
  15701. CallNative "GET_ENTITY_COORDS" 2 3
  15702. push_2
  15703. fPush_5.0
  15704. push_1
  15705. push_0
  15706. fPush_0.0
  15707. CallNative "ADD_EXPLOSION" 8 0
  15708. Jump @EndNetwork_Explosion3Sub_
  15709. :Network_Explosion3Sub_TANKER
  15710. StaticGet2 241
  15711. push_1
  15712. CallNative "GET_ENTITY_COORDS" 2 3
  15713. Push1 31
  15714. fPush_5.0
  15715. push_1
  15716. push_0
  15717. fPush_0.0
  15718. CallNative "ADD_EXPLOSION" 8 0
  15719. Jump @EndNetwork_Explosion3Sub_
  15720. :Network_Explosion3Sub_TANKSHELL
  15721. StaticGet2 241
  15722. push_1
  15723. CallNative "GET_ENTITY_COORDS" 2 3
  15724. Push1 5
  15725. fPush_5.0
  15726. push_1
  15727. push_0
  15728. fPush_0.0
  15729. CallNative "ADD_EXPLOSION" 8 0
  15730. Jump @EndNetwork_Explosion3Sub_
  15731. :Network_Explosion3Sub_TRAIN
  15732. StaticGet2 241
  15733. push_1
  15734. CallNative "GET_ENTITY_COORDS" 2 3
  15735. Push1 26
  15736. fPush_5.0
  15737. push_1
  15738. push_0
  15739. fPush_0.0
  15740. CallNative "ADD_EXPLOSION" 8 0
  15741. Jump @EndNetwork_Explosion3Sub_
  15742. :Network_Explosion3Sub_TRUCK
  15743. StaticGet2 241
  15744. push_1
  15745. CallNative "GET_ENTITY_COORDS" 2 3
  15746. Push1 17
  15747. fPush_5.0
  15748. push_1
  15749. push_0
  15750. fPush_0.0
  15751. CallNative "ADD_EXPLOSION" 8 0
  15752. Jump @EndNetwork_Explosion3Sub_
  15753. :Network_Explosion3Sub_VEHICLE_BULLET
  15754. StaticGet2 241
  15755. push_1
  15756. CallNative "GET_ENTITY_COORDS" 2 3
  15757. Push1 33
  15758. fPush_5.0
  15759. push_1
  15760. push_0
  15761. fPush_0.0
  15762. CallNative "ADD_EXPLOSION" 8 0
  15763. Jump @EndNetwork_Explosion3Sub_
  15764. :Network_Explosion3Sub_Invi sible_Explosion
  15765. StaticGet2 241
  15766. push_1
  15767. CallNative "GET_ENTITY_COORDS" 2 3
  15768. Push 29
  15769. fPush 20
  15770. push_0
  15771. push_1
  15772. fPush_0.0
  15773. CallNative "ADD_EXPLOSION" 8 0
  15774. Jump @EndNetwork_Explosion3Sub_
  15775. :EndNetwork_Explosion3Sub_
  15776. Return 0 0
  15777. //>
  15778. //< Network Teleport Sub
  15779. :Network_TeleportOptions_
  15780. Function 0 2 0
  15781. fPush_7.0
  15782. StaticSet1 3
  15783. Push 8
  15784. StaticSet1 8
  15785. Call @DrawBackground_
  15786. Call @DrawNormalOptionHighlight_
  15787. PushString "Teleport Options"
  15788. Call @AddInfoBox_
  15789. StaticGet2 239
  15790. Call @AddTitle_
  15791. fPush_1.0
  15792. PushString "Teleport Player To You"
  15793. Call @AddOption_
  15794. fPush_2.0
  15795. PushString "Teleport to Player"
  15796. Call @AddOption_
  15797. fPush_3.0
  15798. PushString "Attach Self To Player"
  15799. Call @AddOption_
  15800. fPush_4.0
  15801. PushString "Detach Self From Player"
  15802. Call @AddOption_
  15803. fPush_5.0
  15804. PushString "PiggyBack Ride"
  15805. Call @AddOption_
  15806. fPush_6.0
  15807. PushString "Teleport Into Their Vehicle"
  15808. Call @AddOption_
  15809. fPush_7.0
  15810. PushString "Teleport Player To Waypoint"
  15811. Call @AddOption_
  15812. // Option's Functions
  15813. Call @CheckAPressed_
  15814. push_1
  15815. JumpEQ @Network_TeleportOptions_SubController
  15816. Jump @EndNetwork_TeleportOptions_
  15817. :Network_TeleportOptions_SubController
  15818. PushString "SELECT"
  15819. Call @PlayFrontendSound_
  15820. StaticGet1 2
  15821. FtoI
  15822. Switch [1=@Network_TeleportPlayerToYou][2=@Network_TeleportToPlayer][3=@Network_TeleportOptions_AttachYourSelf][4=@Network_TeleportOptions_DetachYourSelf][5=@Network_PlayerSub_Piggyback][6=@Network_TeleportOptions_IntoTheirVehicle][7=@Network_TeleportOptions_Waypoint]
  15823. :Network_TeleportPlayerToYou
  15824. StaticGet2 241
  15825. push_0
  15826. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  15827. JumpFalse @EndNetwork_TeleportOptions_
  15828. StaticGet2 241
  15829. push_0
  15830. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  15831. Call @RequestControlOfVeh_
  15832. PushString "Teleported Player To You."
  15833. PushS 2500
  15834. Call @MsgStuff_
  15835. StaticGet2 241
  15836. push_0
  15837. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  15838. CallNative "PLAYER_PED_ID" 0 1
  15839. push_1
  15840. CallNative "GET_ENTITY_COORDS" 2 3
  15841. push_1
  15842. push_0
  15843. push_0
  15844. push_1
  15845. CallNative "SET_ENTITY_COORDS" 8 0
  15846. Jump @EndNetwork_TeleportOptions_
  15847. :Network_TeleportToPlayer
  15848. CallNative "PLAYER_PED_ID" 0 1
  15849. StaticGet2 241
  15850. push_1
  15851. CallNative "GET_ENTITY_COORDS" 2 3
  15852. push_1
  15853. push_0
  15854. push_0
  15855. push_1
  15856. CallNative "SET_ENTITY_COORDS" 8 0
  15857. Jump @EndNetwork_TeleportOptions_
  15858. :Network_TeleportOptions_AttachYourSelf
  15859. StaticGet2 241
  15860. CallNative "PLAYER_PED_ID" 0 1
  15861. JumpEQ @Network_TeleportOptions_CantTeleportSelf
  15862. CallNative "PLAYER_PED_ID" 0 1
  15863. StaticGet2 241
  15864. fPush 0.059999998658895
  15865. fPush_0.0
  15866. fPush -0.25
  15867. fPush_0.0
  15868. fPush_0.0
  15869. fPush_0.0
  15870. push_1
  15871. push_1
  15872. push_0
  15873. push_0
  15874. push_2
  15875. push_1
  15876. push_1
  15877. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  15878. Jump @EndNetwork_TeleportOptions_
  15879. :Network_TeleportOptions_DetachYourSelf
  15880. CallNative "PLAYER_PED_ID" 0 1
  15881. push_1
  15882. push_1
  15883. CallNative "DETACH_ENTITY" 3 0
  15884. Jump @EndNetwork_TeleportOptions_
  15885. :Network_PlayerSub_Piggyback
  15886. StaticGet1 241
  15887. CallNative "PLAYER_PED_ID" 0 1
  15888. JumpEQ @Network_CantDoThatToYourself
  15889. CallNative "PLAYER_PED_ID" 0 1
  15890. CallNative "IS_ENTITY_ATTACHED" 1 1
  15891. JumpFalse @PiggybackON_
  15892. PushString "Thanks for the ride!"
  15893. PushS 2500
  15894. Call @PrintStringBottomCentre_
  15895. CallNative "PLAYER_PED_ID" 0 1
  15896. push_1
  15897. push_1
  15898. CallNative "DETACH_ENTITY" 3 0
  15899. CallNative "PLAYER_PED_ID" 0 1
  15900. CallNative "CLEAR_PED_TASKS_IMMEDIATELY" 1 0
  15901. Jump @EndNetwork_TeleportOptions_
  15902. :PiggybackON_
  15903. PushString "Piggyback Ride ~r~On"
  15904. PushS 2500
  15905. Call @PrintStringBottomCentre_
  15906. PushString "Piggyback Ride Initiated"
  15907. Call @PrintBottomLeft_
  15908. CallNative "PLAYER_PED_ID" 0 1
  15909. StaticGet2 241
  15910. fPush -1
  15911. fPush_0.0
  15912. fPush -0.3
  15913. fPush_0.0
  15914. fPush_0.0
  15915. fPush_0.0
  15916. push_1
  15917. push_1
  15918. push_0
  15919. push_0
  15920. push_2
  15921. push_1
  15922. push_1
  15923. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  15924. PushString "mini@prostitutes@sexnorm_veh"
  15925. CallNative "REQUEST_ANIM_DICT" 1 0
  15926. Push 200
  15927. CallNative "WAIT" 1 0
  15928. CallNative "PLAYER_PED_ID" 0 1
  15929. PushString "mini@prostitutes@sexnorm_veh"
  15930. PushString "bj_loop_male"
  15931. fPush 8.0
  15932. fPush_0.0
  15933. push_-1
  15934. Push 9
  15935. push_0
  15936. push_0
  15937. push_0
  15938. push_0
  15939. CallNative "TASK_PLAY_ANIM" 11 0
  15940. Jump @EndNetwork_TeleportOptions_
  15941. :Network_TeleportOptions_IntoTheirVehicle
  15942. StaticGet2 241
  15943. CallNative "PLAYER_PED_ID" 0 1
  15944. JumpEQ @Network_TeleportOptions_CantTeleportSelf
  15945. StaticGet2 241
  15946. push_0
  15947. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  15948. JumpFalse @EndNetwork_TeleportOptions_
  15949. StaticGet2 241
  15950. push_0
  15951. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  15952. Call @RequestControlOfVeh_
  15953. StaticGet2 241
  15954. push_0
  15955. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  15956. Call @FindFreeCarSeat_
  15957. StaticSet2 479
  15958. CallNative "PLAYER_PED_ID" 0 1
  15959. StaticGet2 241
  15960. push_0
  15961. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  15962. StaticGet2 479
  15963. CallNative "SET_PED_INTO_VEHICLE" 3 0
  15964. Jump @EndNetwork_TeleportOptions_
  15965. :Network_TeleportOptions_Waypoint
  15966. StaticGet2 241
  15967. push_0
  15968. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  15969. JumpFalse @Network_TeleportOptions_NotInVehicle
  15970. CallNative "IS_WAYPOINT_ACTIVE" 0 1
  15971. JumpFalse @Network_TeleportOptions_WPNotActive
  15972. StaticGet2 241
  15973. push_0
  15974. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  15975. Call @RequestControlOfVeh_
  15976. Push 8
  15977. CallNative "GET_FIRST_BLIP_INFO_ID" 1 1
  15978. CallNative "GET_BLIP_COORDS" 1 3
  15979. push_3
  15980. pStatic2 497
  15981. FromStack
  15982. push_3
  15983. pStatic2 497
  15984. ToStack
  15985. pStatic2 485
  15986. CallNative "GET_GROUND_Z_FOR_3D_COORD" 4 1
  15987. Drop
  15988. StaticGet2 241
  15989. push_0
  15990. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  15991. pStatic2 497
  15992. GetImmediate1 0
  15993. pStatic2 497
  15994. GetImmediate1 1
  15995. pStatic2 485
  15996. GetImmediate1 0
  15997. push_1
  15998. push_0
  15999. push_0
  16000. push_1
  16001. CallNative "SET_ENTITY_COORDS" 8 0
  16002. Jump @EndNetwork_TeleportOptions_
  16003. :Network_TeleportOptions_NotInVehicle
  16004. PushString "~r~Error:~s~ Player's not in a vehicle."
  16005. PushS 2500
  16006. Call @PrintStringBottomCentre_
  16007. Jump @EndNetwork_TeleportOptions_
  16008. :Network_TeleportOptions_WPNotActive
  16009. PushString "~r~Error:~s~ A *waypoint* is missing."
  16010. PushS 2500
  16011. Call @PrintStringBottomCentre_
  16012. Jump @EndNetwork_TeleportOptions_
  16013. :Network_TeleportOptions_CantTeleportSelf
  16014. PushString "~r~Error:~s~ Teleporting to yourself? -_-."
  16015. PushS 2000
  16016. Call @PrintStringBottomCentre_
  16017. :Network_CantDoThatToYourself
  16018. PushString "~r~Error:~s~ Cannot be invoked on Self."
  16019. PushS 2000
  16020. Call @PrintStringBottomCentre_
  16021. :EndNetwork_TeleportOptions_
  16022. Return 0 0
  16023. //< Network Player Options
  16024. :OnlinePlayersA_TeleportToCoords_
  16025. Function 0 2 0
  16026. fPush 15
  16027. StaticSet1 3
  16028. Push 8
  16029. StaticSet1 8
  16030. Call @DrawBackground_
  16031. Call @DrawNormalOptionHighlight_
  16032. PushString "Teleport Player To Coords"
  16033. Call @AddInfoBox_
  16034. PushString "Locations"
  16035. Call @AddTitle_
  16036. fPush_1.0
  16037. PushString "Ocean Coast's Cave"
  16038. Call @AddOption_
  16039. fPush_2.0
  16040. PushString "Crane (Scenic View)"
  16041. Call @AddOption_
  16042. fPush_3.0
  16043. PushString "Far Island With Flowers"
  16044. Call @AddOption_
  16045. fPush_4.0
  16046. PushString "Maze Bank, City Helipad"
  16047. Call @AddOption_
  16048. fPush_5.0
  16049. PushString "Waterfall Watching"
  16050. Call @AddOption_
  16051. fPush_6.0
  16052. PushString "Canyon, Train Tracks"
  16053. Call @AddOption_
  16054. fPush_7.0
  16055. PushString "Mt. Chiliad"
  16056. Call @AddOption_
  16057. fPush 8
  16058. PushString "Mt. Chiliad (Scenic View)"
  16059. Call @AddOption_
  16060. fPush 9
  16061. PushString "Above the Clouds"
  16062. Call @AddOption_
  16063. fPush 10
  16064. PushString "Cannibal Camp"
  16065. Call @AddOption_
  16066. fPush 11
  16067. PushString "Bottom of Ocean"
  16068. Call @AddOption_
  16069. fPush 12
  16070. PushString "500K Apartment (Outside)"
  16071. Call @AddOption_
  16072. fPush 13
  16073. PushString "Stuck In the Ocean"
  16074. Call @AddOption_
  16075. fPush 14
  16076. PushString "Tunnel Loop"
  16077. Call @AddOption_
  16078. fPush 15
  16079. PushString "Fort Zancudo"
  16080. Call @AddOption_
  16081. //Highlight
  16082. //The info box is not just limited to a whole submenu. You can display it on an option highlight as well.
  16083. Call @CheckAPressed_
  16084. push_1
  16085. JumpEQ @OnlinePlayersA_TeleportToCoordsController_
  16086. Jump @EndOnlinePlayersA_TeleportToCoords_
  16087. :OnlinePlayersA_TeleportToCoordsController_
  16088. PushString "SELECT"
  16089. Call @PlayFrontendSound_
  16090. StaticGet1 2
  16091. FtoI
  16092. Switch [1=@TeleportToCoords1_][2=@TeleportToCoords2_][3=@TeleportToCoords3_][4=@TeleportToCoords4_][5=@TeleportToCoords5_][6=@TeleportToCoords6_][7=@TeleportToCoords7_][8=@TeleportToCoords8_][9=@TeleportToCoords9_][10=@TeleportToCoords10_][11=@TeleportToCoords11_][12=@TeleportToCoords12_][13=@TeleportToCoords13_][14=@TeleportToCoords14_][15=@TeleportToCoords15_]
  16093. :TeleportToCoords1_
  16094. StaticGet2 241
  16095. getF1 0
  16096. CallNative "GET_PLAYER_PED" 1 1
  16097. StaticGet2 241
  16098. push_0
  16099. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16100. JumpFalse @Network_TeleportOptions_NotInVehicle
  16101. StaticGet2 241
  16102. push_0
  16103. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16104. Call @RequestControlOfVeh_
  16105. StaticGet2 241
  16106. push_0
  16107. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16108. fPush 3062.855
  16109. fPush 2214.975
  16110. fPush 3.381231
  16111. push_1
  16112. push_0
  16113. push_0
  16114. push_1
  16115. CallNative "SET_ENTITY_COORDS" 8 0
  16116. Jump @EndOnlinePlayersA_TeleportToCoords_
  16117. :TeleportToCoords2_
  16118. StaticGet2 241
  16119. getF1 0
  16120. CallNative "GET_PLAYER_PED" 1 1
  16121. StaticGet2 241
  16122. push_0
  16123. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16124. JumpFalse @Network_TeleportOptions_NotInVehicle
  16125. StaticGet2 241
  16126. push_0
  16127. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16128. Call @RequestControlOfVeh_
  16129. StaticGet2 241
  16130. push_0
  16131. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16132. fPush -119.859985
  16133. fPush -976.43866
  16134. fPush 306.3385
  16135. push_1
  16136. push_0
  16137. push_0
  16138. push_1
  16139. CallNative "SET_ENTITY_COORDS" 8 0
  16140. Jump @EndOnlinePlayersA_TeleportToCoords_
  16141. :TeleportToCoords3_
  16142. StaticGet2 241
  16143. getF1 0
  16144. CallNative "GET_PLAYER_PED" 1 1
  16145. StaticGet2 241
  16146. push_0
  16147. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16148. JumpFalse @Network_TeleportOptions_NotInVehicle
  16149. StaticGet2 241
  16150. push_0
  16151. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16152. Call @RequestControlOfVeh_
  16153. StaticGet2 241
  16154. push_0
  16155. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16156. fPush -125.6544
  16157. fPush 7271.8940
  16158. fPush 16.7366
  16159. push_1
  16160. push_0
  16161. push_0
  16162. push_1
  16163. CallNative "SET_ENTITY_COORDS" 8 0
  16164. Jump @EndOnlinePlayersA_TeleportToCoords_
  16165. :TeleportToCoords4_
  16166. StaticGet2 241
  16167. getF1 0
  16168. CallNative "GET_PLAYER_PED" 1 1
  16169. StaticGet2 241
  16170. push_0
  16171. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16172. JumpFalse @Network_TeleportOptions_NotInVehicle
  16173. StaticGet2 241
  16174. push_0
  16175. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16176. Call @RequestControlOfVeh_
  16177. StaticGet2 241
  16178. push_0
  16179. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16180. fPush -74.94243
  16181. fPush -818.63446
  16182. fPush 326.174347
  16183. push_1
  16184. push_0
  16185. push_0
  16186. push_1
  16187. CallNative "SET_ENTITY_COORDS" 8 0
  16188. Jump @EndOnlinePlayersA_TeleportToCoords_
  16189. :TeleportToCoords5_
  16190. StaticGet2 241
  16191. getF1 0
  16192. CallNative "GET_PLAYER_PED" 1 1
  16193. StaticGet2 241
  16194. push_0
  16195. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16196. JumpFalse @Network_TeleportOptions_NotInVehicle
  16197. StaticGet2 241
  16198. push_0
  16199. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16200. Call @RequestControlOfVeh_
  16201. StaticGet2 241
  16202. push_0
  16203. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16204. fPush -540.4822
  16205. fPush 4402.3590
  16206. fPush 34.3786
  16207. push_1
  16208. push_0
  16209. push_0
  16210. push_1
  16211. CallNative "SET_ENTITY_COORDS" 8 0
  16212. Jump @EndOnlinePlayersA_TeleportToCoords_
  16213. :TeleportToCoords6_
  16214. StaticGet2 241
  16215. getF1 0
  16216. CallNative "GET_PLAYER_PED" 1 1
  16217. StaticGet2 241
  16218. push_0
  16219. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16220. JumpFalse @Network_TeleportOptions_NotInVehicle
  16221. StaticGet2 241
  16222. push_0
  16223. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16224. Call @RequestControlOfVeh_
  16225. StaticGet2 241
  16226. push_0
  16227. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16228. fPush -530.6747
  16229. fPush 4534.9960
  16230. fPush 89.0457
  16231. push_1
  16232. push_0
  16233. push_0
  16234. push_1
  16235. CallNative "SET_ENTITY_COORDS" 8 0
  16236. Jump @EndOnlinePlayersA_TeleportToCoords_
  16237. :TeleportToCoords7_
  16238. StaticGet2 241
  16239. getF1 0
  16240. CallNative "GET_PLAYER_PED" 1 1
  16241. StaticGet2 241
  16242. push_0
  16243. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16244. JumpFalse @Network_TeleportOptions_NotInVehicle
  16245. StaticGet2 241
  16246. push_0
  16247. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16248. Call @RequestControlOfVeh_
  16249. StaticGet2 241
  16250. push_0
  16251. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16252. fPush 489.3171
  16253. fPush 5580.8870
  16254. fPush 792.8515
  16255. push_1
  16256. push_0
  16257. push_0
  16258. push_1
  16259. CallNative "SET_ENTITY_COORDS" 8 0
  16260. Jump @EndOnlinePlayersA_TeleportToCoords_
  16261. :TeleportToCoords8_
  16262. StaticGet2 241
  16263. getF1 0
  16264. CallNative "GET_PLAYER_PED" 1 1
  16265. StaticGet2 241
  16266. push_0
  16267. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16268. JumpFalse @Network_TeleportOptions_NotInVehicle
  16269. StaticGet2 241
  16270. push_0
  16271. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16272. Call @RequestControlOfVeh_
  16273. StaticGet2 241
  16274. push_0
  16275. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16276. fPush 413.4706
  16277. fPush 5572.8210
  16278. fPush 779.6819
  16279. push_1
  16280. push_0
  16281. push_0
  16282. push_1
  16283. CallNative "SET_ENTITY_COORDS" 8 0
  16284. Jump @EndOnlinePlayersA_TeleportToCoords_
  16285. :TeleportToCoords9_
  16286. StaticGet2 241
  16287. getF1 0
  16288. CallNative "GET_PLAYER_PED" 1 1
  16289. StaticGet2 241
  16290. push_0
  16291. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16292. JumpFalse @Network_TeleportOptions_NotInVehicle
  16293. StaticGet2 241
  16294. push_0
  16295. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16296. Call @RequestControlOfVeh_
  16297. StaticGet2 241
  16298. push_0
  16299. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16300. fPush -73.4489
  16301. fPush -833.5170
  16302. fPush 5841.4240
  16303. push_1
  16304. push_0
  16305. push_0
  16306. push_1
  16307. CallNative "SET_ENTITY_COORDS" 8 0
  16308. Jump @EndOnlinePlayersA_TeleportToCoords_
  16309. :TeleportToCoords10_
  16310. StaticGet2 241
  16311. getF1 0
  16312. CallNative "GET_PLAYER_PED" 1 1
  16313. StaticGet2 241
  16314. push_0
  16315. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16316. JumpFalse @Network_TeleportOptions_NotInVehicle
  16317. StaticGet2 241
  16318. push_0
  16319. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16320. Call @RequestControlOfVeh_
  16321. StaticGet2 241
  16322. push_0
  16323. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16324. fPush -1170.1150
  16325. fPush 4926.1340
  16326. fPush 224.3552
  16327. push_1
  16328. push_0
  16329. push_0
  16330. push_1
  16331. CallNative "SET_ENTITY_COORDS" 8 0
  16332. Jump @EndOnlinePlayersA_TeleportToCoords_
  16333. :TeleportToCoords11_
  16334. StaticGet2 241
  16335. getF1 0
  16336. CallNative "GET_PLAYER_PED" 1 1
  16337. StaticGet2 241
  16338. push_0
  16339. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16340. JumpFalse @Network_TeleportOptions_NotInVehicle
  16341. StaticGet2 241
  16342. push_0
  16343. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16344. Call @RequestControlOfVeh_
  16345. StaticGet2 241
  16346. push_0
  16347. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16348. fPush 103.4720
  16349. fPush 7744.1870
  16350. fPush -158.1106
  16351. push_1
  16352. push_0
  16353. push_0
  16354. push_1
  16355. CallNative "SET_ENTITY_COORDS" 8 0
  16356. Jump @EndOnlinePlayersA_TeleportToCoords_
  16357. :TeleportToCoords12_
  16358. StaticGet2 241
  16359. getF1 0
  16360. CallNative "GET_PLAYER_PED" 1 1
  16361. StaticGet2 241
  16362. push_0
  16363. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16364. JumpFalse @Network_TeleportOptions_NotInVehicle
  16365. StaticGet2 241
  16366. push_0
  16367. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16368. Call @RequestControlOfVeh_
  16369. StaticGet2 241
  16370. push_0
  16371. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16372. fPush -795.4600
  16373. fPush 308.8900
  16374. fPush 85.7100
  16375. push_1
  16376. push_0
  16377. push_0
  16378. push_1
  16379. CallNative "SET_ENTITY_COORDS" 8 0
  16380. Jump @EndOnlinePlayersA_TeleportToCoords_
  16381. :TeleportToCoords13_
  16382. StaticGet2 241
  16383. getF1 0
  16384. CallNative "GET_PLAYER_PED" 1 1
  16385. StaticGet2 241
  16386. push_0
  16387. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16388. JumpFalse @Network_TeleportOptions_NotInVehicle
  16389. StaticGet2 241
  16390. push_0
  16391. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16392. Call @RequestControlOfVeh_
  16393. StaticGet2 241
  16394. push_0
  16395. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16396. fPush 5314.23
  16397. fPush -5211.83
  16398. fPush 83.52
  16399. push_1
  16400. push_0
  16401. push_0
  16402. push_1
  16403. CallNative "SET_ENTITY_COORDS" 8 0
  16404. Jump @EndOnlinePlayersA_TeleportToCoords_
  16405. :TeleportToCoords14_
  16406. StaticGet2 241
  16407. getF1 0
  16408. CallNative "GET_PLAYER_PED" 1 1
  16409. StaticGet2 241
  16410. push_0
  16411. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16412. JumpFalse @Network_TeleportOptions_NotInVehicle
  16413. StaticGet2 241
  16414. push_0
  16415. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16416. Call @RequestControlOfVeh_
  16417. StaticGet2 241
  16418. push_0
  16419. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16420. fPush -4.5786
  16421. fPush -742.4279
  16422. fPush 16.5030
  16423. push_1
  16424. push_0
  16425. push_0
  16426. push_1
  16427. CallNative "SET_ENTITY_COORDS" 8 0
  16428. Jump @EndOnlinePlayersA_TeleportToCoords_
  16429. :TeleportToCoords15_
  16430. StaticGet2 241
  16431. getF1 0
  16432. CallNative "GET_PLAYER_PED" 1 1
  16433. StaticGet2 241
  16434. push_0
  16435. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16436. JumpFalse @Network_TeleportOptions_NotInVehicle
  16437. StaticGet2 241
  16438. push_0
  16439. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16440. Call @RequestControlOfVeh_
  16441. StaticGet2 241
  16442. push_0
  16443. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16444. fPush -2450.46
  16445. fPush 3148.99
  16446. fPush 32.82
  16447. push_1
  16448. push_0
  16449. push_0
  16450. push_1
  16451. CallNative "SET_ENTITY_COORDS" 8 0
  16452. Jump @EndOnlinePlayersA_TeleportToCoords_
  16453. :NotInVehicle_
  16454. PushString "~r~Error:~s~ Get in a vehicle first."
  16455. PushS 2500
  16456. Call @PrintStringBottomCentre_
  16457. :EndOnlinePlayersA_TeleportToCoords_
  16458. Return 0 0
  16459.  
  16460. //< Network Vehicle Control Options
  16461. :Network_VehicleSub
  16462. Function 0 2 0
  16463. fPush 14
  16464. StaticSet1 3
  16465. Push 8
  16466. StaticSet1 8
  16467. Call @DrawBackground_
  16468. Call @DrawNormalOptionHighlight_
  16469. PushString "Control Player's Vehicles"
  16470. Call @AddInfoBox_
  16471. PushString "Vehicle Control"
  16472. Call @AddTitle_
  16473. fPush_1.0
  16474. PushString "Paint Chrome"
  16475. Call @AddOption_
  16476. fPush_2.0
  16477. PushString "Paint Pure-Gold"
  16478. Call @AddOption_
  16479. fPush_3.0
  16480. PushString "Paint Brushed Gold"
  16481. Call @AddOption_
  16482. fPush_4.0
  16483. PushString "Paint Secret Gold"
  16484. Call @AddOption_
  16485. fPush_5.0
  16486. PushString "Paint Chrome-Pure Gold"
  16487. Call @AddOption_
  16488. fPush_6.0
  16489. PushString "Paint Pure Gold-Chrome"
  16490. Call @AddOption_
  16491. fPush_7.0
  16492. PushString "Paint Chrome-Brushed Gold"
  16493. Call @AddOption_
  16494. fPush 8
  16495. PushString "Paint Brushed Gold-Chrome"
  16496. Call @AddOption_
  16497. fPush 9
  16498. PushString "Paint Chrome-Secret Gold"
  16499. Call @AddOption_
  16500. fPush 10
  16501. PushString "Paint Secret Gold-Chrome"
  16502. Call @AddOption_
  16503. fPush 11
  16504. PushString "Paint Hot Pink (Troll)"
  16505. Call @AddOption_
  16506. fPush 12
  16507. PushString "Paint Chrome-Candy Red"
  16508. Call @AddOption_
  16509. fPush 13
  16510. PushString "Paint Random"
  16511. Call @AddOption_
  16512. fPush 14
  16513. PushString "--- Page 2 ---"
  16514. Call @AddOption_
  16515. //Highlight
  16516. //The info box is not just limited to a whole submenu. You can display it on an option highlight as well.
  16517. Call @CheckAPressed_
  16518. push_1
  16519. JumpEQ @Network_VehicleSubController_
  16520. Jump @EndNetwork_VehicleSub
  16521. :Network_VehicleSubController_
  16522. PushString "SELECT"
  16523. Call @PlayFrontendSound_
  16524. StaticGet1 2
  16525. FtoI
  16526. Switch [1=@VehicleSubOp1_][2=@VehicleSubOp2_][3=@VehicleSubOp3_][4=@VehicleSubOp4_][5=@VehicleSubOp5_][6=@VehicleSubOp6_][7=@VehicleSubOp7_][8=@VehicleSubOp8_][9=@VehicleSubOp9_][10=@VehicleSubOp10_][11=@VehicleSubOp11_][12=@VehicleSubOp12_][13=@VehicleSubOp13_][14=@VehicleSub2_]
  16527. :VehicleSubOp1_
  16528. StaticGet2 241
  16529. push_0
  16530. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16531. JumpFalse @EndNetwork_VehicleSub
  16532. StaticGet2 241
  16533. push_0
  16534. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16535. Call @RequestControlOfVeh_
  16536. PushString "Painted Players Vehicle Chrome"
  16537. PushS 2500
  16538. Call @MsgStuff_
  16539. StaticGet2 241
  16540. push_0
  16541. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16542. Push 120
  16543. Push 120
  16544. CallNative "SET_VEHICLE_COLOURS" 3 0
  16545. Jump @EndNetwork_VehicleSub
  16546. :VehicleSubOp2_
  16547. StaticGet2 241
  16548. push_0
  16549. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16550. JumpFalse @EndNetwork_VehicleSub
  16551. StaticGet2 241
  16552. push_0
  16553. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16554. Call @RequestControlOfVeh_
  16555. PushString "Painted Players Vehicle Pure-Gold"
  16556. PushS 2500
  16557. Call @MsgStuff_
  16558. StaticGet2 241
  16559. push_0
  16560. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16561. Push 158
  16562. Push 158
  16563. CallNative "SET_VEHICLE_COLOURS" 3 0
  16564. Jump @EndNetwork_VehicleSub
  16565. :VehicleSubOp3_
  16566. StaticGet2 241
  16567. push_0
  16568. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16569. JumpFalse @EndNetwork_VehicleSub
  16570. StaticGet2 241
  16571. push_0
  16572. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16573. Call @RequestControlOfVeh_
  16574. PushString "Painted Players Vehicle Brushed-Gold"
  16575. PushS 2500
  16576. Call @MsgStuff_
  16577. StaticGet2 241
  16578. push_0
  16579. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16580. Push 159
  16581. Push 159
  16582. CallNative "SET_VEHICLE_COLOURS" 3 0
  16583. Jump @EndNetwork_VehicleSub
  16584. :VehicleSubOp4_
  16585. StaticGet2 241
  16586. push_0
  16587. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16588. JumpFalse @EndNetwork_VehicleSub
  16589. StaticGet2 241
  16590. push_0
  16591. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16592. Call @RequestControlOfVeh_
  16593. PushString "Changed to Secret Gold"
  16594. PushS 2500
  16595. Call @MsgStuff_
  16596. StaticGet2 241
  16597. push_0
  16598. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16599. Push 160
  16600. Push 160
  16601. CallNative "SET_VEHICLE_COLOURS" 3 0
  16602. Jump @EndNetwork_VehicleSub
  16603. :VehicleSubOp5_
  16604. StaticGet2 241
  16605. push_0
  16606. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16607. JumpFalse @EndNetwork_VehicleSub
  16608. StaticGet2 241
  16609. push_0
  16610. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16611. Call @RequestControlOfVeh_
  16612. PushString "Changed to Chrome-Pure Gold"
  16613. PushS 2500
  16614. Call @MsgStuff_
  16615. StaticGet2 241
  16616. push_0
  16617. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16618. Push 158
  16619. Push 120
  16620. CallNative "SET_VEHICLE_COLOURS" 3 0
  16621. Jump @EndNetwork_VehicleSub
  16622. :VehicleSubOp6_
  16623. StaticGet2 241
  16624. push_0
  16625. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16626. JumpFalse @EndNetwork_VehicleSub
  16627. StaticGet2 241
  16628. push_0
  16629. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16630. Call @RequestControlOfVeh_
  16631. PushString "Changed to Pure Gold-Chrome"
  16632. PushS 2500
  16633. Call @MsgStuff_
  16634. StaticGet2 241
  16635. push_0
  16636. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16637. Push 120
  16638. Push 158
  16639. CallNative "SET_VEHICLE_COLOURS" 3 0
  16640. Jump @EndNetwork_VehicleSub
  16641. :VehicleSubOp7_
  16642. StaticGet2 241
  16643. push_0
  16644. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16645. JumpFalse @EndNetwork_VehicleSub
  16646. StaticGet2 241
  16647. push_0
  16648. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16649. Call @RequestControlOfVeh_
  16650. PushString "Changed to Chrome-Brushed Gold"
  16651. PushS 2500
  16652. Call @MsgStuff_
  16653. StaticGet2 241
  16654. push_0
  16655. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16656. Push 120
  16657. Push 159
  16658. CallNative "SET_VEHICLE_COLOURS" 3 0
  16659. Jump @EndNetwork_VehicleSub
  16660. :VehicleSubOp8_
  16661. StaticGet2 241
  16662. push_0
  16663. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16664. JumpFalse @EndNetwork_VehicleSub
  16665. StaticGet2 241
  16666. push_0
  16667. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16668. Call @RequestControlOfVeh_
  16669. PushString "Changed to Brushed Gold-Chrome"
  16670. PushS 2500
  16671. Call @MsgStuff_
  16672. StaticGet2 241
  16673. push_0
  16674. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16675. Push 159
  16676. Push 120
  16677. CallNative "SET_VEHICLE_COLOURS" 3 0
  16678. Jump @EndNetwork_VehicleSub
  16679. :VehicleSubOp9_
  16680. StaticGet2 241
  16681. push_0
  16682. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16683. JumpFalse @EndNetwork_VehicleSub
  16684. StaticGet2 241
  16685. push_0
  16686. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16687. Call @RequestControlOfVeh_
  16688. PushString "Changed to Chrome-Secret Gold"
  16689. PushS 2500
  16690. Call @MsgStuff_
  16691. StaticGet2 241
  16692. push_0
  16693. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16694. Push 120
  16695. Push 160
  16696. CallNative "SET_VEHICLE_COLOURS" 3 0
  16697. Jump @EndNetwork_VehicleSub
  16698. :VehicleSubOp10_
  16699. StaticGet2 241
  16700. push_0
  16701. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16702. JumpFalse @EndNetwork_VehicleSub
  16703. StaticGet2 241
  16704. push_0
  16705. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16706. Call @RequestControlOfVeh_
  16707. PushString "Changed to Secret Gold-Chrome"
  16708. PushS 2500
  16709. Call @MsgStuff_
  16710. StaticGet2 241
  16711. push_0
  16712. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16713. Push 160
  16714. Push 120
  16715. CallNative "SET_VEHICLE_COLOURS" 3 0
  16716. Jump @EndNetwork_VehicleSub
  16717. :VehicleSubOp11_
  16718. StaticGet2 241
  16719. push_0
  16720. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16721. JumpFalse @EndNetwork_VehicleSub
  16722. StaticGet2 241
  16723. push_0
  16724. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16725. Call @RequestControlOfVeh_
  16726. PushString "Changed to Hot Pink"
  16727. PushS 2500
  16728. Call @MsgStuff_
  16729. StaticGet2 241
  16730. push_0
  16731. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16732. Push 135
  16733. Push 135
  16734. CallNative "SET_VEHICLE_COLOURS" 3 0
  16735. Jump @EndNetwork_VehicleSub
  16736. :VehicleSubOp12_
  16737. StaticGet2 241
  16738. push_0
  16739. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16740. JumpFalse @EndNetwork_VehicleSub
  16741. StaticGet2 241
  16742. push_0
  16743. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16744. Call @RequestControlOfVeh_
  16745. PushString "Changed to Chrome-Candy Red"
  16746. PushS 2500
  16747. Call @MsgStuff_
  16748. StaticGet2 241
  16749. push_0
  16750. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16751. Push 120
  16752. Push 35
  16753. CallNative "SET_VEHICLE_COLOURS" 3 0
  16754. Jump @EndNetwork_VehicleSub
  16755. :VehicleSubOp13_
  16756. StaticGet2 241
  16757. push_0
  16758. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16759. JumpFalse @EndNetwork_VehicleSub
  16760. StaticGet2 241
  16761. push_0
  16762. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16763. Call @RequestControlOfVeh_
  16764. PushString "Painted Players Vehicle Random"
  16765. PushS 2500
  16766. Call @MsgStuff_
  16767. StaticGet2 241
  16768. push_0
  16769. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16770. push_0
  16771. Push 157
  16772. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  16773. push_0
  16774. Push 157
  16775. CallNative "GET_RANDOM_INT_IN_RANGE" 2 1
  16776. CallNative "SET_VEHICLE_COLOURS" 3 0
  16777. Jump @EndNetwork_VehicleSub
  16778. :VehicleSub2_
  16779. Push 17
  16780. StaticSet1 1
  16781. Call @ChangeSubmenu_
  16782. Jump @EndNetwork_VehicleSub
  16783. :EndNetwork_VehicleSub
  16784. Return 0 0
  16785. //>
  16786. //< Network Control Vehicle Sub 2
  16787. :Network_VehicleSub2
  16788. Function 0 2 0
  16789. fPush 14
  16790. StaticSet1 3
  16791. Push 16
  16792. StaticSet1 8
  16793. Call @DrawBackground_
  16794. Call @DrawNormalOptionHighlight_
  16795. PushString "--- Vehicle Control Page 2 ---"
  16796. Call @AddInfoBox_
  16797. StaticGet2 239
  16798. Call @AddTitle_
  16799. fPush_1.0
  16800. PushString "Sky-Rocket Player!"
  16801. Call @AddOption_
  16802. fPush_2.0
  16803. PushString "Super Sky-Rocket Player!"
  16804. Call @AddOption_
  16805. fPush_3.0
  16806. PushString "Super Launch Forward!"
  16807. Call @AddOption_
  16808. fPush_4.0
  16809. PushString "Super Launch Backwards!"
  16810. Call @AddOption_
  16811. fPush_5.0
  16812. PushString "Delete Player's Vehicle"
  16813. Call @AddOption_
  16814. fPush_6.0
  16815. PushString "Empty"
  16816. Call @AddOption_
  16817. fPush_7.0
  16818. PushString "Empty"
  16819. Call @AddOption_
  16820. fPush 8
  16821. PushString "Empty"
  16822. Call @AddOption_
  16823. fPush 9
  16824. PushString "Empty"
  16825. Call @AddOption_
  16826. fPush 10
  16827. PushString "Empty"
  16828. Call @AddOption_
  16829. fPush 11
  16830. PushString "Empty"
  16831. Call @AddOption_
  16832. fPush 12
  16833. PushString "Empty"
  16834. Call @AddOption_
  16835. fPush 13
  16836. PushString "Empty"
  16837. Call @AddOption_
  16838. fPush 14
  16839. PushString "Empty"
  16840. Call @AddOption_
  16841. // Option's Functions
  16842. Call @CheckAPressed_
  16843. push_1
  16844. JumpEQ @Network_VehicleSub2Controller
  16845. Jump @EndNetwork_VehicleSub2
  16846. :Network_VehicleSub2Controller
  16847. PushString "SELECT"
  16848. Call @PlayFrontendSound_
  16849. StaticGet1 2
  16850. FtoI
  16851. Switch [1=@VehicleSub2Op1_][2=@VehicleSub2Op2_][3=@VehicleSub2Op3_][4=@VehicleSub2Op4_][5=@VehicleSub2Op5_][6=@VehicleSub2Op6_][7=@VehicleSub2Op7_][8=@VehicleSub2Op8_][9=@VehicleSub2Op9_][10=@VehicleSub2Op10_][11=@VehicleSub2Op1_][12=@VehicleSub2Op12_][13=@VehicleSub2Op13_][14=@VehicleSub2Op14_]
  16852. :VehicleSub2Op1_
  16853. StaticGet2 241
  16854. push_0
  16855. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16856. JumpFalse @EndNetwork_VehicleSub
  16857. StaticGet2 241
  16858. push_0
  16859. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16860. Call @RequestControlOfVeh_
  16861. PushString "Sky-rocketed Player!"
  16862. PushS 2500
  16863. Call @MsgStuff_
  16864. StaticGet2 241
  16865. push_0
  16866. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16867. push_0
  16868. fPush_0.0
  16869. fPush_0.0
  16870. fPush 999
  16871. fPush_0.0
  16872. fPush_0.0
  16873. fPush_0.0
  16874. push_0
  16875. push_1
  16876. push_1
  16877. push_1
  16878. push_0
  16879. push_1
  16880. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  16881. Jump @EndNetwork_VehicleSub2
  16882. :VehicleSub2Op2_
  16883. StaticGet2 241
  16884. push_0
  16885. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16886. JumpFalse @EndNetwork_VehicleSub
  16887. StaticGet2 241
  16888. push_0
  16889. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16890. Call @RequestControlOfVeh_
  16891. PushString "Player Super Sky-rocketed!"
  16892. PushS 2500
  16893. Call @MsgStuff_
  16894. StaticGet2 241
  16895. push_0
  16896. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16897. push_0
  16898. fPush_0.0
  16899. fPush_0.0
  16900. fPush 9999
  16901. fPush_0.0
  16902. fPush_0.0
  16903. fPush_0.0
  16904. push_0
  16905. push_1
  16906. push_1
  16907. push_1
  16908. push_0
  16909. push_1
  16910. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  16911. Jump @EndNetwork_VehicleSub2
  16912. :VehicleSub2Op3_
  16913. StaticGet2 241
  16914. push_0
  16915. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16916. JumpFalse @EndNetwork_VehicleSub
  16917. StaticGet2 241
  16918. push_0
  16919. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16920. Call @RequestControlOfVeh_
  16921. PushString "Launched Player Forward!!"
  16922. PushS 2500
  16923. Call @MsgStuff_
  16924. StaticGet2 241
  16925. push_0
  16926. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16927. push_0
  16928. fPush_0.0
  16929. fPush 999
  16930. fPush_0.0
  16931. fPush_0.0
  16932. fPush_0.0
  16933. fPush_0.0
  16934. push_0
  16935. push_1
  16936. push_1
  16937. push_1
  16938. push_0
  16939. push_1
  16940. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  16941. Jump @EndNetwork_VehicleSub2
  16942. :VehicleSub2Op4_
  16943. StaticGet2 241
  16944. push_0
  16945. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16946. JumpFalse @EndNetwork_VehicleSub
  16947. StaticGet2 241
  16948. push_0
  16949. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16950. Call @RequestControlOfVeh_
  16951. PushString "Launched Player Backwards!!"
  16952. PushS 2500
  16953. Call @MsgStuff_
  16954. StaticGet2 241
  16955. push_0
  16956. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16957. push_0
  16958. fPush_0.0
  16959. fPush -1000
  16960. fPush_0.0
  16961. fPush_0.0
  16962. fPush_0.0
  16963. fPush_0.0
  16964. push_0
  16965. push_1
  16966. push_1
  16967. push_1
  16968. push_0
  16969. push_1
  16970. CallNative "APPLY_FORCE_TO_ENTITY" 14 0
  16971. Jump @EndNetwork_VehicleSub2
  16972. :VehicleSub2Op5_
  16973. StaticGet2 241
  16974. push_0
  16975. CallNative "IS_PED_IN_ANY_VEHICLE" 2 1
  16976. JumpFalse @EndNetwork_VehicleSub2
  16977. StaticGet2 241
  16978. push_0
  16979. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16980. Call @RequestControlOfVeh_
  16981. PushString "Deleted Players Vehicle"
  16982. PushS 2500
  16983. Call @MsgStuff_
  16984. StaticGet2 241
  16985. push_0
  16986. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  16987. StaticSet2 65
  16988. StaticGet2 65
  16989. push_1
  16990. push_1
  16991. CallNative "SET_ENTITY_AS_MISSION_ENTITY" 3 0
  16992. pStatic2 65
  16993. CallNative "DELETE_VEHICLE" 1 0
  16994. push_0
  16995. CallNative "WAIT" 1 0
  16996. Jump @EndNetwork_VehicleSub2
  16997. :VehicleSub2Op6_
  16998. Jump @EndNetwork_VehicleSub2
  16999. :VehicleSub2Op7_
  17000. Jump @EndNetwork_VehicleSub2
  17001. :VehicleSub2Op8_
  17002. Jump @EndNetwork_VehicleSub2
  17003. :VehicleSub2Op9_
  17004. Jump @EndNetwork_VehicleSub2
  17005. :VehicleSub2Op10_
  17006. Jump @EndNetwork_VehicleSub2
  17007. :VehicleSub2Op11_
  17008. Jump @EndNetwork_VehicleSub2
  17009. :VehicleSub2Op12_
  17010. Jump @EndNetwork_VehicleSub2
  17011. :VehicleSub2Op13_
  17012. Jump @EndNetwork_VehicleSub2
  17013. :VehicleSub2Op14_
  17014. Jump @EndNetwork_VehicleSub2
  17015. :EndNetwork_VehicleSub2
  17016. Return 0 0
  17017. //< Network Nice Options
  17018. :Network_NiceandNaughty
  17019. Function 0 2 0
  17020. fPush 14
  17021. StaticSet1 3
  17022. Push 8
  17023. StaticSet1 8
  17024. Call @DrawBackground_
  17025. Call @DrawNormalOptionHighlight_
  17026. PushString "--- Nice Options! ---"
  17027. Call @AddInfoBox_
  17028. StaticGet2 239
  17029. Call @AddTitle_
  17030. fPush_1.0
  17031. PushString "Give Health"
  17032. Call @AddOption_
  17033. fPush_2.0
  17034. PushString "Give Armor"
  17035. Call @AddOption_
  17036. fPush_3.0
  17037. PushString "Empty"
  17038. Call @AddOption_
  17039. fPush_4.0
  17040. PushString "Empty"
  17041. Call @AddOption_
  17042. fPush_5.0
  17043. PushString "Empty"
  17044. Call @AddOption_
  17045. fPush_6.0
  17046. PushString "Empty"
  17047. Call @AddOption_
  17048. fPush_7.0
  17049. PushString "Empty"
  17050. Call @AddOption_
  17051. fPush 8
  17052. PushString "Empty"
  17053. Call @AddOption_
  17054. fPush 9
  17055. PushString "Empty"
  17056. Call @AddOption_
  17057. fPush 10
  17058. PushString "Empty"
  17059. Call @AddOption_
  17060. fPush 11
  17061. PushString "Empty"
  17062. Call @AddOption_
  17063. fPush 12
  17064. PushString "Empty"
  17065. Call @AddOption_
  17066. fPush 13
  17067. PushString "Empty"
  17068. Call @AddOption_
  17069. fPush 14
  17070. PushString "--- Naughty Options ---"
  17071. Call @AddOption_
  17072. // Option's Functions
  17073. Call @CheckAPressed_
  17074. push_1
  17075. JumpEQ @Network_NiceandNaughtyController
  17076. Jump @EndNetwork_NiceandNaughty
  17077. :Network_NiceandNaughtyController
  17078. PushString "SELECT"
  17079. Call @PlayFrontendSound_
  17080. StaticGet1 2
  17081. FtoI
  17082. Switch [1=@NiceOp1_][2=@NiceOp2_][3=@ExtremeCashDrop_][4=@NiceOp4_][5=@NiceOp5_][6=@NiceOp6_][7=@NiceOp7_][8=@NiceOp8_][9=@NiceOp9_][10=@NiceOp10_][11=@NiceOp11_][12=@NiceOp12_][13=@NiceOp13_][14=@NaughtySubMenu_]
  17083. :NiceOp1_
  17084. PushString "Restored Player's Health"
  17085. PushS 2500
  17086. Call @MsgStuff_
  17087. Push -1888453608
  17088. StaticGet2 241
  17089. push_1
  17090. CallNative "GET_ENTITY_COORDS" 2 3
  17091. push_0
  17092. Push 100000
  17093. push_1
  17094. push_0
  17095. push_1
  17096. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17097. Drop
  17098. Jump @EndNetwork_NiceandNaughty
  17099. :NiceOp2_
  17100. PushString "Given Armor to Player"
  17101. PushS 2500
  17102. Call @MsgStuff_
  17103. Push 1274757841
  17104. StaticGet2 241
  17105. push_1
  17106. CallNative "GET_ENTITY_COORDS" 2 3
  17107. push_0
  17108. Push 100000
  17109. push_1
  17110. push_0
  17111. push_1
  17112. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17113. Drop
  17114. Jump @EndNetwork_NiceandNaughty
  17115. :ExtremeCashDrop_
  17116. push_0
  17117. CallNative "WAIT" 1 0
  17118. StaticGet2 460
  17119. Add1 1
  17120. StaticSet2 460
  17121. pGlobal3 2407802
  17122. GetImmediate2 4113
  17123. StaticGet2 241
  17124. push_1
  17125. CallNative "GET_ENTITY_COORDS" 2 3
  17126. push_0
  17127. Push 40000
  17128. pGlobal3 2407802
  17129. GetImmediate2 4113
  17130. push_0
  17131. push_1
  17132. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17133. Drop
  17134. pGlobal3 2407802
  17135. GetImmediate2 4113
  17136. StaticGet2 241
  17137. push_1
  17138. CallNative "GET_ENTITY_COORDS" 2 3
  17139. push_0
  17140. Push 40000
  17141. pGlobal3 2407802
  17142. GetImmediate2 4113
  17143. push_0
  17144. push_1
  17145. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17146. Drop
  17147. pGlobal3 2407802
  17148. GetImmediate2 4113
  17149. StaticGet2 241
  17150. push_1
  17151. CallNative "GET_ENTITY_COORDS" 2 3
  17152. push_0
  17153. Push 40000
  17154. pGlobal3 2407802
  17155. GetImmediate2 4113
  17156. push_0
  17157. push_1
  17158. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17159. Drop
  17160. pGlobal3 2407802
  17161. GetImmediate2 4113
  17162. StaticGet2 241
  17163. push_1
  17164. CallNative "GET_ENTITY_COORDS" 2 3
  17165. push_0
  17166. Push 40000
  17167. pGlobal3 2407802
  17168. GetImmediate2 4113
  17169. push_0
  17170. push_1
  17171. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17172. Drop
  17173. pGlobal3 2407802
  17174. GetImmediate2 4113
  17175. StaticGet2 241
  17176. push_1
  17177. CallNative "GET_ENTITY_COORDS" 2 3
  17178. push_0
  17179. Push 40000
  17180. pGlobal3 2407802
  17181. GetImmediate2 4113
  17182. push_0
  17183. push_1
  17184. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17185. Drop
  17186. pGlobal3 2407802
  17187. GetImmediate2 4113
  17188. StaticGet2 241
  17189. push_1
  17190. CallNative "GET_ENTITY_COORDS" 2 3
  17191. push_0
  17192. Push 40000
  17193. pGlobal3 2407802
  17194. GetImmediate2 4113
  17195. push_0
  17196. push_1
  17197. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17198. Drop
  17199. pGlobal3 2407802
  17200. GetImmediate2 4113
  17201. StaticGet2 241
  17202. push_1
  17203. CallNative "GET_ENTITY_COORDS" 2 3
  17204. push_0
  17205. Push 40000
  17206. pGlobal3 2407802
  17207. GetImmediate2 4113
  17208. push_0
  17209. push_1
  17210. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17211. Drop
  17212. pGlobal3 2407802
  17213. GetImmediate2 4113
  17214. StaticGet2 241
  17215. push_1
  17216. CallNative "GET_ENTITY_COORDS" 2 3
  17217. push_0
  17218. Push 40000
  17219. pGlobal3 2407802
  17220. GetImmediate2 4113
  17221. push_0
  17222. push_1
  17223. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17224. Drop
  17225. pGlobal3 2407802
  17226. GetImmediate2 4113
  17227. StaticGet2 241
  17228. push_1
  17229. CallNative "GET_ENTITY_COORDS" 2 3
  17230. push_0
  17231. Push 40000
  17232. pGlobal3 2407802
  17233. GetImmediate2 4113
  17234. push_0
  17235. push_1
  17236. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17237. Drop
  17238. pGlobal3 2407802
  17239. GetImmediate2 4113
  17240. StaticGet2 241
  17241. push_1
  17242. CallNative "GET_ENTITY_COORDS" 2 3
  17243. push_0
  17244. Push 40000
  17245. pGlobal3 2407802
  17246. GetImmediate2 4113
  17247. push_0
  17248. push_1
  17249. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17250. Drop
  17251. pGlobal3 2407802
  17252. GetImmediate2 4113
  17253. StaticGet2 241
  17254. push_1
  17255. CallNative "GET_ENTITY_COORDS" 2 3
  17256. push_0
  17257. Push 40000
  17258. pGlobal3 2407802
  17259. GetImmediate2 4113
  17260. push_0
  17261. push_1
  17262. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17263. Drop
  17264. pGlobal3 2407802
  17265. GetImmediate2 4113
  17266. StaticGet2 241
  17267. push_1
  17268. CallNative "GET_ENTITY_COORDS" 2 3
  17269. push_0
  17270. Push 40000
  17271. pGlobal3 2407802
  17272. GetImmediate2 4113
  17273. push_0
  17274. push_1
  17275. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17276. Drop
  17277. pGlobal3 2407802
  17278. GetImmediate2 4113
  17279. StaticGet2 241
  17280. push_1
  17281. CallNative "GET_ENTITY_COORDS" 2 3
  17282. push_0
  17283. Push 40000
  17284. pGlobal3 2407802
  17285. GetImmediate2 4113
  17286. push_0
  17287. push_1
  17288. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17289. Drop
  17290. pGlobal3 2407802
  17291. GetImmediate2 4113
  17292. StaticGet2 241
  17293. push_1
  17294. CallNative "GET_ENTITY_COORDS" 2 3
  17295. push_0
  17296. Push 40000
  17297. pGlobal3 2407802
  17298. GetImmediate2 4113
  17299. push_0
  17300. push_1
  17301. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17302. Drop
  17303. pGlobal3 2407802
  17304. GetImmediate2 4113
  17305. StaticGet2 241
  17306. push_1
  17307. CallNative "GET_ENTITY_COORDS" 2 3
  17308. push_0
  17309. Push 40000
  17310. pGlobal3 2407802
  17311. GetImmediate2 4113
  17312. push_0
  17313. push_1
  17314. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17315. Drop
  17316. pGlobal3 2407802
  17317. GetImmediate2 4113
  17318. StaticGet2 241
  17319. push_1
  17320. CallNative "GET_ENTITY_COORDS" 2 3
  17321. push_0
  17322. Push 40000
  17323. pGlobal3 2407802
  17324. GetImmediate2 4113
  17325. push_0
  17326. push_1
  17327. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17328. Drop
  17329. pGlobal3 2407802
  17330. GetImmediate2 4113
  17331. StaticGet2 241
  17332. push_1
  17333. CallNative "GET_ENTITY_COORDS" 2 3
  17334. push_0
  17335. Push 40000
  17336. pGlobal3 2407802
  17337. GetImmediate2 4113
  17338. push_0
  17339. push_1
  17340. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17341. Drop
  17342. pGlobal3 2407802
  17343. GetImmediate2 4113
  17344. StaticGet2 241
  17345. push_1
  17346. CallNative "GET_ENTITY_COORDS" 2 3
  17347. push_0
  17348. Push 40000
  17349. pGlobal3 2407802
  17350. GetImmediate2 4113
  17351. push_0
  17352. push_1
  17353. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17354. Drop
  17355. pGlobal3 2407802
  17356. GetImmediate2 4113
  17357. StaticGet2 241
  17358. push_1
  17359. CallNative "GET_ENTITY_COORDS" 2 3
  17360. push_0
  17361. Push 40000
  17362. pGlobal3 2407802
  17363. GetImmediate2 4113
  17364. push_0
  17365. push_1
  17366. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17367. Drop
  17368. pGlobal3 2407802
  17369. GetImmediate2 4113
  17370. StaticGet2 241
  17371. push_1
  17372. CallNative "GET_ENTITY_COORDS" 2 3
  17373. push_0
  17374. Push 40000
  17375. pGlobal3 2407802
  17376. GetImmediate2 4113
  17377. push_0
  17378. push_1
  17379. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17380. Drop
  17381. pGlobal3 2407802
  17382. GetImmediate2 4113
  17383. StaticGet2 241
  17384. push_1
  17385. CallNative "GET_ENTITY_COORDS" 2 3
  17386. push_0
  17387. Push 40000
  17388. pGlobal3 2407802
  17389. GetImmediate2 4113
  17390. push_0
  17391. push_1
  17392. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17393. Drop
  17394. pGlobal3 2407802
  17395. GetImmediate2 4113
  17396. StaticGet2 241
  17397. push_1
  17398. CallNative "GET_ENTITY_COORDS" 2 3
  17399. push_0
  17400. Push 40000
  17401. pGlobal3 2407802
  17402. GetImmediate2 4113
  17403. push_0
  17404. push_1
  17405. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17406. Drop
  17407. pGlobal3 2407802
  17408. GetImmediate2 4113
  17409. StaticGet2 241
  17410. push_1
  17411. CallNative "GET_ENTITY_COORDS" 2 3
  17412. push_0
  17413. Push 40000
  17414. pGlobal3 2407802
  17415. GetImmediate2 4113
  17416. push_0
  17417. push_1
  17418. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17419. Drop
  17420. pGlobal3 2407802
  17421. GetImmediate2 4113
  17422. StaticGet2 241
  17423. push_1
  17424. CallNative "GET_ENTITY_COORDS" 2 3
  17425. push_0
  17426. Push 40000
  17427. pGlobal3 2407802
  17428. GetImmediate2 4113
  17429. push_0
  17430. push_1
  17431. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17432. Drop
  17433. pGlobal3 2407802
  17434. GetImmediate2 4113
  17435. StaticGet2 241
  17436. push_1
  17437. CallNative "GET_ENTITY_COORDS" 2 3
  17438. push_0
  17439. Push 40000
  17440. pGlobal3 2407802
  17441. GetImmediate2 4113
  17442. push_0
  17443. push_1
  17444. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17445. Drop
  17446. pGlobal3 2407802
  17447. GetImmediate2 4113
  17448. StaticGet2 241
  17449. push_1
  17450. CallNative "GET_ENTITY_COORDS" 2 3
  17451. push_0
  17452. Push 40000
  17453. pGlobal3 2407802
  17454. GetImmediate2 4113
  17455. push_0
  17456. push_1
  17457. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17458. Drop
  17459. pGlobal3 2407802
  17460. GetImmediate2 4113
  17461. StaticGet2 241
  17462. push_1
  17463. CallNative "GET_ENTITY_COORDS" 2 3
  17464. push_0
  17465. Push 40000
  17466. pGlobal3 2407802
  17467. GetImmediate2 4113
  17468. push_0
  17469. push_1
  17470. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17471. Drop
  17472. pGlobal3 2407802
  17473. GetImmediate2 4113
  17474. StaticGet2 241
  17475. push_1
  17476. CallNative "GET_ENTITY_COORDS" 2 3
  17477. push_0
  17478. Push 40000
  17479. pGlobal3 2407802
  17480. GetImmediate2 4113
  17481. push_0
  17482. push_1
  17483. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17484. Drop
  17485. pGlobal3 2407802
  17486. GetImmediate2 4113
  17487. StaticGet2 241
  17488. push_1
  17489. CallNative "GET_ENTITY_COORDS" 2 3
  17490. push_0
  17491. Push 40000
  17492. pGlobal3 2407802
  17493. GetImmediate2 4113
  17494. push_0
  17495. push_1
  17496. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17497. Drop
  17498. pGlobal3 2407802
  17499. GetImmediate2 4113
  17500. StaticGet2 241
  17501. push_1
  17502. CallNative "GET_ENTITY_COORDS" 2 3
  17503. push_0
  17504. Push 40000
  17505. pGlobal3 2407802
  17506. GetImmediate2 4113
  17507. push_0
  17508. push_1
  17509. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17510. Drop
  17511. pGlobal3 2407802
  17512. GetImmediate2 4113
  17513. StaticGet2 241
  17514. push_1
  17515. CallNative "GET_ENTITY_COORDS" 2 3
  17516. push_0
  17517. Push 40000
  17518. pGlobal3 2407802
  17519. GetImmediate2 4113
  17520. push_0
  17521. push_1
  17522. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17523. Drop
  17524. pGlobal3 2407802
  17525. GetImmediate2 4113
  17526. StaticGet2 241
  17527. push_1
  17528. CallNative "GET_ENTITY_COORDS" 2 3
  17529. push_0
  17530. Push 40000
  17531. pGlobal3 2407802
  17532. GetImmediate2 4113
  17533. push_0
  17534. push_1
  17535. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17536. Drop
  17537. pGlobal3 2407802
  17538. GetImmediate2 4113
  17539. StaticGet2 241
  17540. push_1
  17541. CallNative "GET_ENTITY_COORDS" 2 3
  17542. push_0
  17543. Push 40000
  17544. pGlobal3 2407802
  17545. GetImmediate2 4113
  17546. push_0
  17547. push_1
  17548. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17549. Drop
  17550. pGlobal3 2407802
  17551. GetImmediate2 4113
  17552. StaticGet2 241
  17553. push_1
  17554. CallNative "GET_ENTITY_COORDS" 2 3
  17555. push_0
  17556. Push 40000
  17557. pGlobal3 2407802
  17558. GetImmediate2 4113
  17559. push_0
  17560. push_1
  17561. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17562. Drop
  17563. pGlobal3 2407802
  17564. GetImmediate2 4113
  17565. StaticGet2 241
  17566. push_1
  17567. CallNative "GET_ENTITY_COORDS" 2 3
  17568. push_0
  17569. Push 40000
  17570. pGlobal3 2407802
  17571. GetImmediate2 4113
  17572. push_0
  17573. push_1
  17574. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17575. Drop
  17576. pGlobal3 2407802
  17577. GetImmediate2 4113
  17578. StaticGet2 241
  17579. push_1
  17580. CallNative "GET_ENTITY_COORDS" 2 3
  17581. push_0
  17582. Push 40000
  17583. pGlobal3 2407802
  17584. GetImmediate2 4113
  17585. push_0
  17586. push_1
  17587. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17588. Drop
  17589. pGlobal3 2407802
  17590. GetImmediate2 4113
  17591. StaticGet2 241
  17592. push_1
  17593. CallNative "GET_ENTITY_COORDS" 2 3
  17594. push_0
  17595. Push 40000
  17596. pGlobal3 2407802
  17597. GetImmediate2 4113
  17598. push_0
  17599. push_1
  17600. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17601. Drop
  17602. pGlobal3 2407802
  17603. GetImmediate2 4113
  17604. StaticGet2 241
  17605. push_1
  17606. CallNative "GET_ENTITY_COORDS" 2 3
  17607. push_0
  17608. Push 40000
  17609. pGlobal3 2407802
  17610. GetImmediate2 4113
  17611. push_0
  17612. push_1
  17613. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17614. Drop
  17615. pGlobal3 2407802
  17616. GetImmediate2 4113
  17617. StaticGet2 241
  17618. push_1
  17619. CallNative "GET_ENTITY_COORDS" 2 3
  17620. push_0
  17621. Push 40000
  17622. pGlobal3 2407802
  17623. GetImmediate2 4113
  17624. push_0
  17625. push_1
  17626. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17627. Drop
  17628. pGlobal3 2407802
  17629. GetImmediate2 4113
  17630. StaticGet2 241
  17631. push_1
  17632. CallNative "GET_ENTITY_COORDS" 2 3
  17633. push_0
  17634. Push 40000
  17635. pGlobal3 2407802
  17636. GetImmediate2 4113
  17637. push_0
  17638. push_1
  17639. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17640. Drop
  17641. pGlobal3 2407802
  17642. GetImmediate2 4113
  17643. StaticGet2 241
  17644. push_1
  17645. CallNative "GET_ENTITY_COORDS" 2 3
  17646. push_0
  17647. Push 40000
  17648. pGlobal3 2407802
  17649. GetImmediate2 4113
  17650. push_0
  17651. push_1
  17652. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17653. Drop
  17654. pGlobal3 2407802
  17655. GetImmediate2 4113
  17656. StaticGet2 241
  17657. push_1
  17658. CallNative "GET_ENTITY_COORDS" 2 3
  17659. push_0
  17660. Push 40000
  17661. pGlobal3 2407802
  17662. GetImmediate2 4113
  17663. push_0
  17664. push_1
  17665. CallNative "CREATE_AMBIENT_PICKUP" 9 1
  17666. Drop
  17667. Jump @EndNetwork_NiceandNaughty
  17668. :NiceOp4_
  17669. StaticGet1 10
  17670. Push1 22
  17671. CallNative "IS_BIT_SET" 2 1
  17672. JumpFalse @NiceOp4On_
  17673. pStatic1 10
  17674. Push1 22
  17675. CallNative "CLEAR_BIT" 2 0
  17676. Jump @EndNetwork_NiceandNaughty
  17677. :NiceOp4On_
  17678. pStatic1 10
  17679. Push1 22
  17680. CallNative "SET_BIT" 2 0
  17681. Jump @EndNetwork_NiceandNaughty
  17682. :NiceOp5_
  17683. Jump @EndNetwork_NiceandNaughty
  17684. :NiceOp6_
  17685. Jump @EndNetwork_NiceandNaughty
  17686. :NiceOp7_
  17687. Jump @EndNetwork_NiceandNaughty
  17688. :NiceOp8_
  17689. Jump @EndNetwork_NiceandNaughty
  17690. :NiceOp9_
  17691. Jump @EndNetwork_NiceandNaughty
  17692. :NiceOp10_
  17693. Jump @EndNetwork_NiceandNaughty
  17694. :NiceOp11_
  17695. Jump @EndNetwork_NiceandNaughty
  17696. :NiceOp12_
  17697. Jump @EndNetwork_NiceandNaughty
  17698. :NiceOp13_
  17699. Jump @EndNetwork_NiceandNaughty
  17700. :NaughtySubMenu_
  17701. Push 19
  17702. StaticSet1 1
  17703. Call @ChangeSubmenu_
  17704. Jump @EndNetwork_NiceandNaughty
  17705. :EndNetwork_NiceandNaughty
  17706. Return 0 0
  17707. //< Network Naughty Options
  17708. :Network_NaughtyOptions
  17709. Function 0 2 0
  17710. fPush 14
  17711. StaticSet1 3
  17712. Push 18
  17713. StaticSet1 8
  17714. Call @DrawBackground_
  17715. Call @DrawNormalOptionHighlight_
  17716. PushString "--- Naughty Options! ---"
  17717. Call @AddInfoBox_
  17718. StaticGet2 239
  17719. Call @AddTitle_
  17720. fPush_1.0
  17721. PushString "Remove + Disable Weapons"
  17722. Call @AddOption_
  17723. fPush_2.0
  17724. PushString "Clear Player's Tasks"
  17725. Call @AddOption_
  17726. fPush_3.0
  17727. PushString "Delete Vehicle (Loop)"
  17728. Call @AddOption_
  17729. fPush_4.0
  17730. PushString "Multi Explosion"
  17731. Call @AddOption_
  17732. fPush_5.0
  17733. PushString "Empty"
  17734. Call @AddOption_
  17735. fPush_6.0
  17736. PushString "Empty"
  17737. Call @AddOption_
  17738. fPush_7.0
  17739. PushString "Empty"
  17740. Call @AddOption_
  17741. fPush 8
  17742. PushString "Empty"
  17743. Call @AddOption_
  17744. fPush 9
  17745. PushString "Empty"
  17746. Call @AddOption_
  17747. fPush 10
  17748. PushString "Empty"
  17749. Call @AddOption_
  17750. fPush 11
  17751. PushString "Empty"
  17752. Call @AddOption_
  17753. fPush 12
  17754. PushString "Empty"
  17755. Call @AddOption_
  17756. fPush 13
  17757. PushString "Empty"
  17758. Call @AddOption_
  17759. fPush 14
  17760. PushString "Empty"
  17761. Call @AddOption_
  17762. // Option's Functions
  17763. Call @CheckAPressed_
  17764. push_1
  17765. JumpEQ @Network_NaughtyOptionsController
  17766. Jump @EndNetwork_NaughtyOptions
  17767. :Network_NaughtyOptionsController
  17768. PushString "SELECT"
  17769. Call @PlayFrontendSound_
  17770. StaticGet1 2
  17771. FtoI
  17772. Switch [1=@NaughtyOp1_][2=@ClearTasks2_][3=@DeleteVehicleLoop_][4=@MultiExplosion_][5=@NaughtyOp5_][6=@NaughtyOp6_][7=@NaughtyOp7_][8=@NaughtyOp8_][9=@NaughtyOp9_][10=@NaughtyOp10_][11=@NaughtyOp11_][12=@NaughtyOp12_][13=@NaughtyOp13_][14=@NaughtyOp14_]
  17773. :NaughtyOp1_
  17774. StaticGet2 241
  17775. push_1
  17776. CallNative "REMOVE_ALL_PED_WEAPONS" 2 0
  17777. StaticGet2 241
  17778. Push 148160082
  17779. Push 9999
  17780. Push 1
  17781. CallNative "GIVE_DELAYED_WEAPON_TO_PED" 4 0
  17782. Jump @EndNetwork_NaughtyOptions
  17783. :ClearTasks2_
  17784. StaticGet1 10
  17785. Push1 23
  17786. CallNative "IS_BIT_SET" 2 1
  17787. JumpFalse @ClearTasks2On_
  17788. pStatic1 10
  17789. Push1 23
  17790. CallNative "CLEAR_BIT" 2 0
  17791. Jump @EndNetwork_NaughtyOptions
  17792. :ClearTasks2On_
  17793. pStatic1 10
  17794. Push1 23
  17795. CallNative "SET_BIT" 2 0
  17796. Jump @EndNetwork_NaughtyOptions
  17797. :DeleteVehicleLoop_
  17798. StaticGet1 10
  17799. Push1 27
  17800. CallNative "IS_BIT_SET" 2 1
  17801. JumpFalse @DeleteVehicleLoopOn_
  17802. pStatic1 10
  17803. Push1 27
  17804. CallNative "CLEAR_BIT" 2 0
  17805. Jump @EndNetwork_NaughtyOptions
  17806. :DeleteVehicleLoopOn_
  17807. pStatic1 10
  17808. Push1 27
  17809. CallNative "SET_BIT" 2 0
  17810. Jump @EndNetwork_NaughtyOptions
  17811. :MultiExplosion_
  17812. StaticGet2 241
  17813. push_1
  17814. CallNative "GET_ENTITY_COORDS" 2 3
  17815. push_1
  17816. fPush_5.0
  17817. push_1
  17818. push_0
  17819. fPush_0.0
  17820. CallNative "ADD_EXPLOSION" 8 0
  17821. :NaughtyOp1_2
  17822. StaticGet2 241
  17823. push_1
  17824. CallNative "GET_ENTITY_COORDS" 2 3
  17825. push_2
  17826. fPush_5.0
  17827. push_1
  17828. push_0
  17829. fPush_0.0
  17830. CallNative "ADD_EXPLOSION" 8 0
  17831. :NaughtyOp1_3
  17832. StaticGet2 241
  17833. push_1
  17834. CallNative "GET_ENTITY_COORDS" 2 3
  17835. Push1 3
  17836. fPush_3.0
  17837. push_1
  17838. push_0
  17839. fPush_0.0
  17840. CallNative "ADD_EXPLOSION" 8 0
  17841. :NaughtyOp1_4
  17842. StaticGet2 241
  17843. push_1
  17844. CallNative "GET_ENTITY_COORDS" 2 3
  17845. push_4
  17846. fPush_5.0
  17847. push_1
  17848. push_0
  17849. fPush_0.0
  17850. CallNative "ADD_EXPLOSION" 8 0
  17851. :NaughtyOp1_5
  17852. StaticGet2 241
  17853. push_1
  17854. CallNative "GET_ENTITY_COORDS" 2 3
  17855. push_5
  17856. fPush_5.0
  17857. push_1
  17858. push_0
  17859. fPush_0.0
  17860. CallNative "ADD_EXPLOSION" 8 0
  17861. :NaughtyOp1_6
  17862. StaticGet2 241
  17863. push_1
  17864. CallNative "GET_ENTITY_COORDS" 2 3
  17865. push_6
  17866. fPush_5.0
  17867. push_1
  17868. push_0
  17869. fPush_0.0
  17870. CallNative "ADD_EXPLOSION" 8 0
  17871. :NaughtyOp1_7
  17872. StaticGet2 241
  17873. push_1
  17874. CallNative "GET_ENTITY_COORDS" 2 3
  17875. Push1 7
  17876. fPush_5.0
  17877. push_1
  17878. push_0
  17879. fPush_0.0
  17880. CallNative "ADD_EXPLOSION" 8 0
  17881. :NaughtyOp1_8
  17882. StaticGet2 241
  17883. push_1
  17884. CallNative "GET_ENTITY_COORDS" 2 3
  17885. Push1 8
  17886. fPush_5.0
  17887. push_1
  17888. push_0
  17889. fPush_0.0
  17890. CallNative "ADD_EXPLOSION" 8 0
  17891. :NaughtyOp1_9
  17892. StaticGet2 241
  17893. push_1
  17894. CallNative "GET_ENTITY_COORDS" 2 3
  17895. Push1 9
  17896. fPush_5.0
  17897. push_1
  17898. push_0
  17899. fPush_0.0
  17900. CallNative "ADD_EXPLOSION" 8 0
  17901. :NaughtyOp1_10
  17902. StaticGet2 241
  17903. push_1
  17904. CallNative "GET_ENTITY_COORDS" 2 3
  17905. Push1 10
  17906. fPush_5.0
  17907. push_1
  17908. push_0
  17909. fPush_0.0
  17910. CallNative "ADD_EXPLOSION" 8 0
  17911. :NaughtyOp1_11
  17912. StaticGet2 241
  17913. push_1
  17914. CallNative "GET_ENTITY_COORDS" 2 3
  17915. Push1 11
  17916. fPush_5.0
  17917. push_1
  17918. push_0
  17919. fPush_0.0
  17920. CallNative "ADD_EXPLOSION" 8 0
  17921. :NaughtyOp1_12
  17922. StaticGet2 241
  17923. push_1
  17924. CallNative "GET_ENTITY_COORDS" 2 3
  17925. Push1 12
  17926. fPush_5.0
  17927. push_1
  17928. push_0
  17929. fPush_0.0
  17930. CallNative "ADD_EXPLOSION" 8 0
  17931. :NaughtyOp1_13
  17932. StaticGet2 241
  17933. push_1
  17934. CallNative "GET_ENTITY_COORDS" 2 3
  17935. Push1 13
  17936. fPush_5.0
  17937. push_1
  17938. push_0
  17939. fPush_0.0
  17940. CallNative "ADD_EXPLOSION" 8 0
  17941. :NaughtyOp1_14
  17942. StaticGet2 241
  17943. push_1
  17944. CallNative "GET_ENTITY_COORDS" 2 3
  17945. Push1 14
  17946. fPush_5.0
  17947. push_1
  17948. push_0
  17949. fPush_0.0
  17950. CallNative "ADD_EXPLOSION" 8 0
  17951. :NaughtyOp1_15
  17952. StaticGet2 241
  17953. push_1
  17954. CallNative "GET_ENTITY_COORDS" 2 3
  17955. Push1 15
  17956. fPush_5.0
  17957. push_1
  17958. push_0
  17959. fPush_0.0
  17960. CallNative "ADD_EXPLOSION" 8 0
  17961. :NaughtyOp1_16
  17962. StaticGet2 241
  17963. push_1
  17964. CallNative "GET_ENTITY_COORDS" 2 3
  17965. Push1 16
  17966. fPush_5.0
  17967. push_1
  17968. push_0
  17969. fPush_0.0
  17970. CallNative "ADD_EXPLOSION" 8 0
  17971. :NaughtyOp1_17
  17972. StaticGet2 241
  17973. push_1
  17974. CallNative "GET_ENTITY_COORDS" 2 3
  17975. Push1 17
  17976. fPush_5.0
  17977. push_1
  17978. push_0
  17979. fPush_0.0
  17980. CallNative "ADD_EXPLOSION" 8 0
  17981. :NaughtyOp1_18
  17982. StaticGet2 241
  17983. push_1
  17984. CallNative "GET_ENTITY_COORDS" 2 3
  17985. Push1 18
  17986. fPush_5.0
  17987. push_1
  17988. push_0
  17989. fPush_0.0
  17990. CallNative "ADD_EXPLOSION" 8 0
  17991. :NaughtyOp1_19
  17992. StaticGet2 241
  17993. push_1
  17994. CallNative "GET_ENTITY_COORDS" 2 3
  17995. Push1 19
  17996. fPush_5.0
  17997. push_1
  17998. push_0
  17999. fPush_0.0
  18000. CallNative "ADD_EXPLOSION" 8 0
  18001. :NaughtyOp1_20
  18002. StaticGet2 241
  18003. push_1
  18004. CallNative "GET_ENTITY_COORDS" 2 3
  18005. Push1 20
  18006. fPush_5.0
  18007. push_1
  18008. push_0
  18009. fPush_0.0
  18010. CallNative "ADD_EXPLOSION" 8 0
  18011. :NaughtyOp1_21
  18012. StaticGet2 241
  18013. push_1
  18014. CallNative "GET_ENTITY_COORDS" 2 3
  18015. Push1 21
  18016. fPush_5.0
  18017. push_1
  18018. push_0
  18019. fPush_0.0
  18020. CallNative "ADD_EXPLOSION" 8 0
  18021. :NaughtyOp1_22
  18022. StaticGet2 241
  18023. push_1
  18024. CallNative "GET_ENTITY_COORDS" 2 3
  18025. Push1 22
  18026. fPush_5.0
  18027. push_1
  18028. push_0
  18029. fPush_0.0
  18030. CallNative "ADD_EXPLOSION" 8 0
  18031. :NaughtyOp1_23
  18032. StaticGet2 241
  18033. push_1
  18034. CallNative "GET_ENTITY_COORDS" 2 3
  18035. Push1 23
  18036. fPush_5.0
  18037. push_1
  18038. push_0
  18039. fPush_0.0
  18040. CallNative "ADD_EXPLOSION" 8 0
  18041. :NaughtyOp1_24
  18042. StaticGet2 241
  18043. push_1
  18044. CallNative "GET_ENTITY_COORDS" 2 3
  18045. Push1 24
  18046. fPush_5.0
  18047. push_1
  18048. push_0
  18049. fPush_0.0
  18050. CallNative "ADD_EXPLOSION" 8 0
  18051. :NaughtyOp1_25
  18052. StaticGet2 241
  18053. push_1
  18054. CallNative "GET_ENTITY_COORDS" 2 3
  18055. Push1 25
  18056. fPush_5.0
  18057. push_1
  18058. push_0
  18059. fPush_0.0
  18060. CallNative "ADD_EXPLOSION" 8 0
  18061. :NaughtyOp1_26
  18062. StaticGet2 241
  18063. push_1
  18064. CallNative "GET_ENTITY_COORDS" 2 3
  18065. Push1 26
  18066. fPush_5.0
  18067. push_1
  18068. push_0
  18069. fPush_0.0
  18070. CallNative "ADD_EXPLOSION" 8 0
  18071. :NaughtyOp1_27
  18072. StaticGet2 241
  18073. push_1
  18074. CallNative "GET_ENTITY_COORDS" 2 3
  18075. Push1 27
  18076. fPush_5.0
  18077. push_1
  18078. push_0
  18079. fPush_0.0
  18080. CallNative "ADD_EXPLOSION" 8 0
  18081. :NaughtyOp1_28
  18082. StaticGet2 241
  18083. push_1
  18084. CallNative "GET_ENTITY_COORDS" 2 3
  18085. Push1 28
  18086. fPush_5.0
  18087. push_1
  18088. push_0
  18089. fPush_0.0
  18090. CallNative "ADD_EXPLOSION" 8 0
  18091. :NaughtyOp1_29
  18092. StaticGet2 241
  18093. push_1
  18094. CallNative "GET_ENTITY_COORDS" 2 3
  18095. Push1 29
  18096. fPush_5.0
  18097. push_1
  18098. push_0
  18099. fPush_0.0
  18100. CallNative "ADD_EXPLOSION" 8 0
  18101. :NaughtyOp1_30
  18102. StaticGet2 241
  18103. push_1
  18104. CallNative "GET_ENTITY_COORDS" 2 3
  18105. Push1 30
  18106. fPush_5.0
  18107. push_1
  18108. push_0
  18109. fPush_0.0
  18110. CallNative "ADD_EXPLOSION" 8 0
  18111. :NaughtyOp1_31
  18112. StaticGet2 241
  18113. push_1
  18114. CallNative "GET_ENTITY_COORDS" 2 3
  18115. Push1 31
  18116. fPush_5.0
  18117. push_1
  18118. push_0
  18119. fPush_0.0
  18120. CallNative "ADD_EXPLOSION" 8 0
  18121. :NaughtyOp1_32
  18122. StaticGet2 241
  18123. push_1
  18124. CallNative "GET_ENTITY_COORDS" 2 3
  18125. Push1 32
  18126. fPush_5.0
  18127. push_1
  18128. push_0
  18129. fPush_0.0
  18130. CallNative "ADD_EXPLOSION" 8 0
  18131. :NaughtyOp1_33
  18132. StaticGet2 241
  18133. push_1
  18134. CallNative "GET_ENTITY_COORDS" 2 3
  18135. Push1 33
  18136. fPush_5.0
  18137. push_1
  18138. push_0
  18139. fPush_0.0
  18140. CallNative "ADD_EXPLOSION" 8 0
  18141. :NaughtyOp1_34
  18142. StaticGet2 241
  18143. push_1
  18144. CallNative "GET_ENTITY_COORDS" 2 3
  18145. Push1 34
  18146. fPush_5.0
  18147. push_1
  18148. push_0
  18149. fPush_0.0
  18150. CallNative "ADD_EXPLOSION" 8 0
  18151. :NaughtyOp1_35
  18152. StaticGet2 241
  18153. push_1
  18154. CallNative "GET_ENTITY_COORDS" 2 3
  18155. Push1 35
  18156. fPush_5.0
  18157. push_1
  18158. push_0
  18159. fPush_0.0
  18160. CallNative "ADD_EXPLOSION" 8 0
  18161. :NaughtyOp1_36
  18162. StaticGet2 241
  18163. push_1
  18164. CallNative "GET_ENTITY_COORDS" 2 3
  18165. Push1 36
  18166. fPush_5.0
  18167. push_1
  18168. push_0
  18169. fPush_0.0
  18170. CallNative "ADD_EXPLOSION" 8 0
  18171. Jump @EndNetwork_NaughtyOptions
  18172. :NaughtyOp5_
  18173. Jump @EndNetwork_NaughtyOptions
  18174. :NaughtyOp6_
  18175. Jump @EndNetwork_NaughtyOptions
  18176. :NaughtyOp7_
  18177. Jump @EndNetwork_NaughtyOptions
  18178. :NaughtyOp8_
  18179. Jump @EndNetwork_NaughtyOptions
  18180. :NaughtyOp9_
  18181. Jump @EndNetwork_NaughtyOptions
  18182. :NaughtyOp10_
  18183. Jump @EndNetwork_NaughtyOptions
  18184. :NaughtyOp11_
  18185. Jump @EndNetwork_NaughtyOptions
  18186. :NaughtyOp12_
  18187. Jump @EndNetwork_NaughtyOptions
  18188. :NaughtyOp13_
  18189. Jump @EndNetwork_NaughtyOptions
  18190. :NaughtyOp14_
  18191. Jump @EndNetwork_NaughtyOptions
  18192. :EndNetwork_NaughtyOptions
  18193. Return 0 0
  18194. //< Network Object Options
  18195. :Network_ObjectsAndAttachments
  18196. Function 0 2 0
  18197. fPush 14
  18198. StaticSet1 3
  18199. Push 8
  18200. StaticSet1 8
  18201. Call @DrawBackground_
  18202. Call @DrawNormalOptionHighlight_
  18203. PushString "Objects!"
  18204. Call @AddInfoBox_
  18205. StaticGet2 239
  18206. Call @AddTitle_
  18207. fPush_1.0
  18208. PushString "Boulder"
  18209. Call @AddOption_
  18210. fPush_2.0
  18211. PushString "Trap In Cage"
  18212. Call @AddOption_
  18213. fPush_3.0
  18214. PushString "Giant Sculpture"
  18215. Call @AddOption_
  18216. fPush_4.0
  18217. PushString "Tv Static"
  18218. Call @AddOption_
  18219. fPush_5.0
  18220. PushString "UFO"
  18221. Call @AddOption_
  18222. fPush_6.0
  18223. PushString "Ferris Wheel"
  18224. Call @AddOption_
  18225. fPush_7.0
  18226. PushString "Tutorial Jet"
  18227. Call @AddOption_
  18228. fPush 8
  18229. PushString "Train Crash"
  18230. Call @AddOption_
  18231. fPush 9
  18232. PushString "Dead Corpse"
  18233. Call @AddOption_
  18234. fPush 10
  18235. PushString "Dog-Crap"
  18236. Call @AddOption_
  18237. fPush 11
  18238. PushString "Fake Cash"
  18239. Call @AddOption_
  18240. fPush 12
  18241. PushString "Ramp"
  18242. Call @AddOption_
  18243. fPush 13
  18244. PushString "Input Object Model"
  18245. Call @AddOption_
  18246. fPush 14
  18247. PushString "Object-Attachments (Page 2)"
  18248. Call @AddOption_
  18249. // Option's Functions
  18250. Call @CheckAPressed_
  18251. push_1
  18252. JumpEQ @Network_ObjectsAndAttachmentsController
  18253. Jump @EndNetwork_ObjectsAndAttachments
  18254. :Network_ObjectsAndAttachmentsController
  18255. PushString "SELECT"
  18256. Call @PlayFrontendSound_
  18257. StaticGet1 2
  18258. FtoI
  18259. Switch [1=@ObjectOp1_][2=@ObjectOp2_][3=@ObjectOp3_][4=@ObjectOp4_][5=@ObjectOp5_][6=@ObjectOp6_][7=@ObjectOp7_][8=@ObjectOp8_][9=@ObjectOp9_][10=@ObjectOp10_][11=@ObjectOp11_][12=@ObjectOp12_][13=@ObjectOp13_][14=@AttachmentsSubMenu_]
  18260. :ObjectOp1_
  18261. PushString "prop_test_boulder_03"
  18262. GetHash
  18263. StaticGet2 241
  18264. push_1
  18265. CallNative "GET_ENTITY_COORDS" 2 3
  18266. push_1
  18267. push_0
  18268. push_0
  18269. CallNative "CREATE_OBJECT" 7 1
  18270. CallNative "OBJ_TO_NET" 1 1
  18271. Drop
  18272. Jump @EndNetwork_ObjectsAndAttachments
  18273. :ObjectOp2_
  18274. PushString "prop_gold_cont_01"
  18275. GetHash
  18276. StaticGet2 241
  18277. push_1
  18278. CallNative "GET_ENTITY_COORDS" 2 3
  18279. push_1
  18280. push_0
  18281. push_0
  18282. CallNative "CREATE_OBJECT" 7 1
  18283. CallNative "OBJ_TO_NET" 1 1
  18284. Drop
  18285. Jump @EndNetwork_ObjectsAndAttachments
  18286. :ObjectOp3_
  18287. PushString "prop_sculpt_fix"
  18288. GetHash
  18289. StaticGet2 241
  18290. push_1
  18291. CallNative "GET_ENTITY_COORDS" 2 3
  18292. push_1
  18293. push_0
  18294. push_0
  18295. CallNative "CREATE_OBJECT" 7 1
  18296. CallNative "OBJ_TO_NET" 1 1
  18297. Drop
  18298. Jump @EndNetwork_ObjectsAndAttachments
  18299. :ObjectOp4_
  18300. PushString "prop_tt_screenstatic"
  18301. GetHash
  18302. StaticGet2 241
  18303. push_1
  18304. CallNative "GET_ENTITY_COORDS" 2 3
  18305. push_1
  18306. push_0
  18307. push_0
  18308. CallNative "CREATE_OBJECT" 7 1
  18309. CallNative "OBJ_TO_NET" 1 1
  18310. Drop
  18311. Jump @EndNetwork_ObjectsAndAttachments
  18312. :ObjectOp5_
  18313. PushString "p_spinning_anus_s"
  18314. GetHash
  18315. StaticGet2 241
  18316. push_1
  18317. CallNative "GET_ENTITY_COORDS" 2 3
  18318. push_1
  18319. push_0
  18320. push_0
  18321. CallNative "CREATE_OBJECT" 7 1
  18322. CallNative "OBJ_TO_NET" 1 1
  18323. Drop
  18324. Jump @EndNetwork_ObjectsAndAttachments
  18325. :ObjectOp6_
  18326. PushString "prop_ld_ferris_wheel"
  18327. GetHash
  18328. StaticGet2 241
  18329. push_1
  18330. CallNative "GET_ENTITY_COORDS" 2 3
  18331. push_1
  18332. push_0
  18333. push_0
  18334. CallNative "CREATE_OBJECT" 7 1
  18335. CallNative "OBJ_TO_NET" 1 1
  18336. Drop
  18337. Jump @EndNetwork_ObjectsAndAttachments
  18338. :ObjectOp7_
  18339. PushString "p_cs_mp_jet_01_s"
  18340. GetHash
  18341. StaticGet2 241
  18342. push_1
  18343. CallNative "GET_ENTITY_COORDS" 2 3
  18344. push_1
  18345. push_0
  18346. push_0
  18347. CallNative "CREATE_OBJECT" 7 1
  18348. CallNative "OBJ_TO_NET" 1 1
  18349. Drop
  18350. Jump @EndNetwork_ObjectsAndAttachments
  18351. :ObjectOp8_
  18352. PushString "p_tram_crash_s"
  18353. GetHash
  18354. StaticGet2 241
  18355. push_1
  18356. CallNative "GET_ENTITY_COORDS" 2 3
  18357. push_1
  18358. push_0
  18359. push_0
  18360. CallNative "CREATE_OBJECT" 7 1
  18361. CallNative "OBJ_TO_NET" 1 1
  18362. Drop
  18363. Jump @EndNetwork_ObjectsAndAttachments
  18364. :ObjectOp9_
  18365. PushString "prop_water_corpse_01"
  18366. GetHash
  18367. StaticGet2 241
  18368. push_1
  18369. CallNative "GET_ENTITY_COORDS" 2 3
  18370. push_1
  18371. push_0
  18372. push_0
  18373. CallNative "CREATE_OBJECT" 7 1
  18374. CallNative "OBJ_TO_NET" 1 1
  18375. Drop
  18376. Jump @EndNetwork_ObjectsAndAttachments
  18377. :ObjectOp10_
  18378. PushString "prop_big_shit_02"
  18379. GetHash
  18380. StaticGet2 241
  18381. push_1
  18382. CallNative "GET_ENTITY_COORDS" 2 3
  18383. push_1
  18384. push_0
  18385. push_0
  18386. CallNative "CREATE_OBJECT" 7 1
  18387. CallNative "OBJ_TO_NET" 1 1
  18388. Drop
  18389. Jump @EndNetwork_ObjectsAndAttachments
  18390. :ObjectOp11_
  18391. PushString "prop_cash_pile_01"
  18392. GetHash
  18393. StaticGet2 241
  18394. push_1
  18395. CallNative "GET_ENTITY_COORDS" 2 3
  18396. push_1
  18397. push_0
  18398. push_0
  18399. CallNative "CREATE_OBJECT" 7 1
  18400. CallNative "OBJ_TO_NET" 1 1
  18401. Drop
  18402. Jump @EndNetwork_ObjectsAndAttachments
  18403. :ObjectOp12_
  18404. PushString "prop_mp_ramp_02"
  18405. GetHash
  18406. CallNative "PLAYER_PED_ID" 0 1
  18407. push_1
  18408. CallNative "GET_ENTITY_COORDS" 2 3
  18409. push_1
  18410. push_0
  18411. push_0
  18412. CallNative "CREATE_OBJECT" 7 1
  18413. CallNative "OBJ_TO_NET" 1 1
  18414. Drop
  18415. Jump @EndNetwork_ObjectsAndAttachments
  18416. :ObjectOp13_
  18417. StaticGet2 241
  18418. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  18419. JumpFalse @Network_ObjectSub_Custom_OnFoot
  18420. StaticGet2 241
  18421. push_0
  18422. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  18423. StaticSet2 481
  18424. Jump @Network_ObjectSub_Custom_Input
  18425. :Network_ObjectSub_Custom_OnFoot
  18426. StaticGet2 241
  18427. StaticSet2 481
  18428. :Network_ObjectSub_Custom_Input
  18429. Push 255
  18430. Call @PromptUser_
  18431. CallNative "GET_HASH_KEY" 1 1
  18432. StaticSet1 12
  18433. :Network_ObjectSub_Custom_DoIt
  18434. StaticGet1 12
  18435. CallNative "REQUEST_MODEL" 1 0
  18436. StaticGet1 12
  18437. CallNative "IS_MODEL_VALID" 1 1
  18438. JumpFalse @Network_ObjectSub_ModelNotValid
  18439. StaticGet1 12
  18440. CallNative "REQUEST_MODEL" 1 0
  18441. StaticGet1 12
  18442. StaticGet2 481
  18443. push_1
  18444. CallNative "GET_ENTITY_COORDS" 2 3
  18445. push_1
  18446. push_1
  18447. push_0
  18448. CallNative "CREATE_OBJECT" 7 1
  18449. StaticSet1 12
  18450. StaticGet1 12
  18451. CallNative "OBJ_TO_NET" 1 1
  18452. Drop
  18453. StaticGet1 12
  18454. StaticGet2 481
  18455. Jump @EndNetwork_ObjectsAndAttachments
  18456. :Network_ObjectSub_ModelNotValid
  18457. PushString "~r~Error:~s~ Incorrect Model."
  18458. PushS 2000
  18459. Call @PrintStringBottomCentre_
  18460. Jump @EndNetwork_ObjectsAndAttachments
  18461. :AttachmentsSubMenu_
  18462. Push 21
  18463. StaticSet1 1
  18464. Call @ChangeSubmenu_
  18465. Jump @EndNetwork_ObjectsAndAttachments
  18466. :EndNetwork_ObjectsAndAttachments
  18467. Return 0 0
  18468. //< Network Attachments Options
  18469. :Network_Attachments
  18470. Function 0 2 0
  18471. fPush 14
  18472. StaticSet1 3
  18473. Push 20
  18474. StaticSet1 8
  18475. Call @DrawBackground_
  18476. Call @DrawNormalOptionHighlight_
  18477. PushString "Object-Attachments!"
  18478. Call @AddInfoBox_
  18479. StaticGet2 239
  18480. Call @AddTitle_
  18481. fPush_1.0
  18482. PushString "Cover In Dog-Crap"
  18483. Call @AddOption_
  18484. fPush_2.0
  18485. PushString "Cover In Fire"
  18486. Call @AddOption_
  18487. fPush_3.0
  18488. PushString "Attach Boulder"
  18489. Call @AddOption_
  18490. fPush_4.0
  18491. PushString "Katana"
  18492. Call @AddOption_
  18493. fPush_5.0
  18494. PushString "Boxing Glove"
  18495. Call @AddOption_
  18496. fPush_6.0
  18497. PushString "Headset"
  18498. Call @AddOption_
  18499. fPush_7.0
  18500. PushString "Corpse"
  18501. Call @AddOption_
  18502. fPush 8
  18503. PushString "Cowboy Hat"
  18504. Call @AddOption_
  18505. fPush 9
  18506. PushString "Clock"
  18507. Call @AddOption_
  18508. fPush 10
  18509. PushString "Road Cone"
  18510. Call @AddOption_
  18511. fPush 11
  18512. PushString "Snowman"
  18513. Call @AddOption_
  18514. fPush 12
  18515. PushString "Screen Static"
  18516. Call @AddOption_
  18517. fPush 13
  18518. PushString "Input Object Model"
  18519. Call @AddOption_
  18520. fPush 14
  18521. PushString "Empty"
  18522. Call @AddOption_
  18523. // Option's Functions
  18524. Call @CheckAPressed_
  18525. push_1
  18526. JumpEQ @Network_AttachmentsController
  18527. Jump @EndNetwork_Attachments
  18528. :Network_AttachmentsController
  18529. PushString "SELECT"
  18530. Call @PlayFrontendSound_
  18531. StaticGet1 2
  18532. FtoI
  18533. Switch [1=@AttachmentsOp1_][2=@AttachmentsOp2_][3=@AttachmentsOp3_][4=@AttachmentsOp4_][5=@AttachmentsOp5_][6=@AttachmentsOp6_][7=@AttachmentsOp7_][8=@AttachmentsOp8_][9=@AttachmentsOp9_][10=@AttachmentsOp10_][11=@AttachmentsOp11_][12=@AttachmentsOp12_][13=@AttachmentsOp13_][14=@AttachmentsOp14_]
  18534. :AttachmentsOp1_
  18535. push_0
  18536. CallNative "WAIT" 1 0
  18537. StaticGet1 23
  18538. Add1 1
  18539. StaticSet1 23
  18540. StaticGet2 241
  18541. PushS 31086
  18542. CallNative "GET_PED_BONE_INDEX" 2 1
  18543. StaticSet1 12
  18544. PushString "prop_big_shit_02"
  18545. GetHash
  18546. StaticGet2 241
  18547. push_1
  18548. CallNative "GET_ENTITY_COORDS" 2 3
  18549. push_1
  18550. push_1
  18551. push_0
  18552. CallNative "CREATE_OBJECT" 7 1
  18553. StaticGet2 241
  18554. StaticGet1 12
  18555. fPush 0.1
  18556. fPush 0.02
  18557. fPush_0.0
  18558. fPush_0.0
  18559. fPush 90.0
  18560. fPush_0.0
  18561. push_1
  18562. push_1
  18563. push_0
  18564. push_0
  18565. push_2
  18566. push_1
  18567. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18568. Jumpfalse @Crap2_
  18569. :Crap2_
  18570. push_0
  18571. CallNative "WAIT" 1 0
  18572. StaticGet1 23
  18573. Add1 1
  18574. StaticSet1 23
  18575. StaticGet2 241
  18576. PushS 28422
  18577. CallNative "GET_PED_BONE_INDEX" 2 1
  18578. StaticSet1 12
  18579. PushString "prop_big_shit_02"
  18580. GetHash
  18581. StaticGet2 241
  18582. push_1
  18583. CallNative "GET_ENTITY_COORDS" 2 3
  18584. push_1
  18585. push_1
  18586. push_0
  18587. CallNative "CREATE_OBJECT" 7 1
  18588. StaticGet2 241
  18589. StaticGet1 12
  18590. fPush 0.056
  18591. fPush 0.05
  18592. fPush -0.01
  18593. fPush -77.0
  18594. fPush 10.6
  18595. fPush 0
  18596. push_1
  18597. push_1
  18598. push_0
  18599. push_0
  18600. push_2
  18601. push_1
  18602. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18603. StaticGet1 23
  18604. Push1 10
  18605. JumpFalse @Crap3_
  18606. :Crap3_
  18607. push_0
  18608. CallNative "WAIT" 1 0
  18609. StaticGet1 23
  18610. Add1 1
  18611. StaticSet1 23
  18612. PushString "prop_big_shit_02"
  18613. GetHash
  18614. StaticGet2 241
  18615. push_1
  18616. CallNative "GET_ENTITY_COORDS" 2 3
  18617. push_1
  18618. push_1
  18619. push_0
  18620. CallNative "CREATE_OBJECT" 7 1
  18621. StaticGet2 241
  18622. push_0
  18623. push_0
  18624. push_0
  18625. push_0
  18626. push_0
  18627. push_0
  18628. push_0
  18629. push_1
  18630. push_1
  18631. push_0
  18632. push_0
  18633. push_2
  18634. push_1
  18635. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18636. StaticGet1 23
  18637. Push 10
  18638. Jump @EndNetwork_Attachments
  18639. :AttachmentsOp2_
  18640. push_0
  18641. CallNative "WAIT" 1 0
  18642. StaticGet1 23
  18643. Add1 1
  18644. StaticSet1 23
  18645. StaticGet2 241
  18646. PushS 31086
  18647. CallNative "GET_PED_BONE_INDEX" 2 1
  18648. StaticSet1 12
  18649. PushString "prop_beach_fire"
  18650. GetHash
  18651. StaticGet2 241
  18652. push_1
  18653. CallNative "GET_ENTITY_COORDS" 2 3
  18654. push_1
  18655. push_1
  18656. push_0
  18657. CallNative "CREATE_OBJECT" 7 1
  18658. StaticGet2 241
  18659. StaticGet1 12
  18660. fPush 0.1
  18661. fPush 0.02
  18662. fPush_0.0
  18663. fPush_0.0
  18664. fPush 90.0
  18665. fPush_0.0
  18666. push_1
  18667. push_1
  18668. push_0
  18669. push_0
  18670. push_2
  18671. push_1
  18672. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18673. Jumpfalse @Fire2_
  18674. :Fire2_
  18675. push_0
  18676. CallNative "WAIT" 1 0
  18677. StaticGet1 23
  18678. Add1 1
  18679. StaticSet1 23
  18680. StaticGet2 241
  18681. PushS 28422
  18682. CallNative "GET_PED_BONE_INDEX" 2 1
  18683. StaticSet1 12
  18684. PushString "prop_beach_fire"
  18685. GetHash
  18686. StaticGet2 241
  18687. push_1
  18688. CallNative "GET_ENTITY_COORDS" 2 3
  18689. push_1
  18690. push_1
  18691. push_0
  18692. CallNative "CREATE_OBJECT" 7 1
  18693. StaticGet2 241
  18694. StaticGet1 12
  18695. fPush 0.056
  18696. fPush 0.05
  18697. fPush -0.01
  18698. fPush -77.0
  18699. fPush 10.6
  18700. fPush 0
  18701. push_1
  18702. push_1
  18703. push_0
  18704. push_0
  18705. push_2
  18706. push_1
  18707. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18708. StaticGet1 23
  18709. Push1 10
  18710. JumpFalse @Fire3_
  18711. :Fire3_
  18712. push_0
  18713. CallNative "WAIT" 1 0
  18714. StaticGet1 23
  18715. Add1 1
  18716. StaticSet1 23
  18717. PushString "prop_beach_fire"
  18718. GetHash
  18719. StaticGet2 241
  18720. push_1
  18721. CallNative "GET_ENTITY_COORDS" 2 3
  18722. push_1
  18723. push_1
  18724. push_0
  18725. CallNative "CREATE_OBJECT" 7 1
  18726. StaticGet2 241
  18727. push_0
  18728. push_0
  18729. push_0
  18730. push_0
  18731. push_0
  18732. push_0
  18733. push_0
  18734. push_1
  18735. push_1
  18736. push_1
  18737. push_0
  18738. push_0
  18739. push_2
  18740. push_1
  18741. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18742. StaticGet1 23
  18743. Push 10
  18744. Jump @EndNetwork_Attachments
  18745. :AttachmentsOp3_
  18746. push_0
  18747. CallNative "WAIT" 1 0
  18748. StaticGet1 23
  18749. Add1 1
  18750. StaticSet1 23
  18751. PushString "prop_test_boulder_03"
  18752. GetHash
  18753. StaticGet2 241
  18754. push_1
  18755. CallNative "GET_ENTITY_COORDS" 2 3
  18756. push_1
  18757. push_1
  18758. push_0
  18759. CallNative "CREATE_OBJECT" 7 1
  18760. StaticGet2 241
  18761. push_0
  18762. push_0
  18763. push_0
  18764. push_0
  18765. push_0
  18766. push_0
  18767. push_0
  18768. push_1
  18769. push_1
  18770. push_0
  18771. push_0
  18772. push_2
  18773. push_1
  18774. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18775. StaticGet1 23
  18776. Push 10
  18777. Jump @EndNetwork_Attachments
  18778. :AttachmentsOp4_
  18779. Push -491126417
  18780. CallNative "REQUEST_MODEL" 1 0
  18781. StaticGet2 241
  18782. PushS 28422
  18783. CallNative "GET_PED_BONE_INDEX" 2 1
  18784. StaticSet1 12
  18785. Push -491126417
  18786. StaticGet2 241
  18787. push_1
  18788. CallNative "GET_ENTITY_COORDS" 2 3
  18789. push_1
  18790. push_1
  18791. push_0
  18792. CallNative "CREATE_OBJECT" 7 1
  18793. StaticGet2 241
  18794. StaticGet1 12
  18795. fPush 0.056
  18796. fPush 0.05
  18797. fPush -0.01
  18798. fPush -77.0
  18799. fPush 10.6
  18800. fPush 0
  18801. push_1
  18802. push_1
  18803. push_0
  18804. push_0
  18805. push_2
  18806. push_1
  18807. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18808. Jump @EndNetwork_Attachments
  18809. :AttachmentsOp5_
  18810. Push 335898267
  18811. CallNative "REQUEST_MODEL" 1 0
  18812. StaticGet2 241
  18813. PushS 28422
  18814. CallNative "GET_PED_BONE_INDEX" 2 1
  18815. StaticSet1 12
  18816. Push 335898267
  18817. StaticGet2 241
  18818. push_1
  18819. CallNative "GET_ENTITY_COORDS" 2 3
  18820. push_1
  18821. push_1
  18822. push_0
  18823. CallNative "CREATE_OBJECT" 7 1
  18824. StaticGet2 241
  18825. StaticGet1 12
  18826. fPush 0.013
  18827. fPush 0
  18828. fPush -0.04
  18829. fPush 90.0
  18830. fPush 180.0
  18831. fPush -90.0
  18832. push_1
  18833. push_1
  18834. push_0
  18835. push_0
  18836. push_2
  18837. push_1
  18838. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18839. Jump @EndNetwork_Attachments
  18840. :AttachmentsOp6_
  18841. Push -409048857
  18842. CallNative "REQUEST_MODEL" 1 0
  18843. StaticGet2 241
  18844. PushS 31086
  18845. CallNative "GET_PED_BONE_INDEX" 2 1
  18846. StaticSet1 12
  18847. Push -409048857
  18848. StaticGet2 241
  18849. push_1
  18850. CallNative "GET_ENTITY_COORDS" 2 3
  18851. push_1
  18852. push_1
  18853. push_0
  18854. CallNative "CREATE_OBJECT" 7 1
  18855. StaticGet2 241
  18856. StaticGet1 12
  18857. fPush 0.1
  18858. fPush 0.02
  18859. fPush_0.0
  18860. fPush_0.0
  18861. fPush 90.0
  18862. fPush 180
  18863. push_1
  18864. push_1
  18865. push_0
  18866. push_0
  18867. push_2
  18868. push_1
  18869. Jump @EndNetwork_Attachments
  18870. :AttachmentsOp7_
  18871. Push -1240857364
  18872. CallNative "REQUEST_MODEL" 1 0
  18873. StaticGet2 241
  18874. PushS 31086
  18875. CallNative "GET_PED_BONE_INDEX" 2 1
  18876. StaticSet1 12
  18877. Push -1240857364
  18878. StaticGet2 241
  18879. push_1
  18880. CallNative "GET_ENTITY_COORDS" 2 3
  18881. push_1
  18882. push_1
  18883. push_0
  18884. CallNative "CREATE_OBJECT" 7 1
  18885. StaticGet2 241
  18886. StaticGet1 12
  18887. fPush 0.1
  18888. fPush 0.02
  18889. fPush_0.0
  18890. fPush_0.0
  18891. fPush 90.0
  18892. fPush 180
  18893. push_1
  18894. push_1
  18895. push_0
  18896. push_0
  18897. push_2
  18898. push_1
  18899. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18900. Jump @EndNetwork_Attachments
  18901. :AttachmentsOp8_
  18902. Push -1929385697
  18903. CallNative "REQUEST_MODEL" 1 0
  18904. StaticGet2 241
  18905. PushS 31086
  18906. CallNative "GET_PED_BONE_INDEX" 2 1
  18907. StaticSet1 12
  18908. Push -1929385697
  18909. StaticGet2 241
  18910. push_1
  18911. CallNative "GET_ENTITY_COORDS" 2 3
  18912. push_1
  18913. push_1
  18914. push_0
  18915. CallNative "CREATE_OBJECT" 7 1
  18916. StaticGet2 241
  18917. StaticGet1 12
  18918. fPush 0.1
  18919. fPush 0.02
  18920. fPush_0.0
  18921. fPush_0.0
  18922. fPush 90.0
  18923. fPush 180
  18924. push_1
  18925. push_1
  18926. push_0
  18927. push_0
  18928. push_2
  18929. push_1
  18930. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18931. Jump @EndNetwork_Attachments
  18932. :AttachmentsOp9_
  18933. Push -346427197
  18934. CallNative "REQUEST_MODEL" 1 0
  18935. StaticGet2 241
  18936. PushS 31086
  18937. CallNative "GET_PED_BONE_INDEX" 2 1
  18938. StaticSet1 12
  18939. Push -346427197
  18940. StaticGet2 241
  18941. push_1
  18942. CallNative "GET_ENTITY_COORDS" 2 3
  18943. push_1
  18944. push_1
  18945. push_0
  18946. CallNative "CREATE_OBJECT" 7 1
  18947. StaticGet2 241
  18948. StaticGet1 12
  18949. fPush 0.1
  18950. fPush 0.02
  18951. fPush_0.0
  18952. fPush_0.0
  18953. fPush 90.0
  18954. fPush_0.0
  18955. push_1
  18956. push_1
  18957. push_0
  18958. push_0
  18959. push_2
  18960. push_1
  18961. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18962. Jump @EndNetwork_Attachments
  18963. :AttachmentsOp10_
  18964. Push -1059647297
  18965. CallNative "REQUEST_MODEL" 1 0
  18966. StaticGet2 241
  18967. PushS 31086
  18968. CallNative "GET_PED_BONE_INDEX" 2 1
  18969. StaticSet1 12
  18970. Push -1059647297
  18971. StaticGet2 241
  18972. push_1
  18973. CallNative "GET_ENTITY_COORDS" 2 3
  18974. push_1
  18975. push_1
  18976. push_0
  18977. CallNative "CREATE_OBJECT" 7 1
  18978. StaticGet2 241
  18979. StaticGet1 12
  18980. fPush 0.1
  18981. fPush 0.02
  18982. fPush_0.0
  18983. fPush_0.0
  18984. fPush 90.0
  18985. fPush_0.0
  18986. push_1
  18987. push_1
  18988. push_0
  18989. push_0
  18990. push_2
  18991. push_1
  18992. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  18993. Jump @EndNetwork_Attachments
  18994. :AttachmentsOp11_
  18995. Push -1617412079
  18996. CallNative "REQUEST_MODEL" 1 0
  18997. Push -1617412079
  18998. StaticGet2 241
  18999. push_1
  19000. CallNative "GET_ENTITY_COORDS" 2 3
  19001. push_1
  19002. push_1
  19003. push_0
  19004. CallNative "CREATE_OBJECT" 7 1
  19005. StaticGet2 241
  19006. fPush -1
  19007. fPush_0.0
  19008. fPush_0.0
  19009. fPush_0.0
  19010. fPush_0.0
  19011. fPush_0.0
  19012. fPush_0.0
  19013. push_1
  19014. push_1
  19015. push_0
  19016. push_0
  19017. push_2
  19018. push_1
  19019. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  19020. Jump @EndNetwork_Attachments
  19021. :AttachmentsOp12_
  19022. push_0
  19023. CallNative "WAIT" 1 0
  19024. StaticGet1 23
  19025. Add1 1
  19026. StaticSet1 23
  19027. PushString "prop_tt_screenstatic"
  19028. GetHash
  19029. StaticGet2 241
  19030. push_1
  19031. CallNative "GET_ENTITY_COORDS" 2 3
  19032. push_1
  19033. push_1
  19034. push_0
  19035. CallNative "CREATE_OBJECT" 7 1
  19036. StaticGet2 241
  19037. push_0
  19038. push_0
  19039. push_0
  19040. push_0
  19041. push_0
  19042. push_0
  19043. push_0
  19044. push_1
  19045. push_1
  19046. push_0
  19047. push_0
  19048. push_2
  19049. push_1
  19050. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  19051. Jump @EndNetwork_Attachments
  19052. :AttachmentsOp13_
  19053. StaticGet2 241
  19054. CallNative "IS_PED_SITTING_IN_ANY_VEHICLE" 1 1
  19055. JumpFalse @Network_ObjectSub_Custom_OnFoot2
  19056. StaticGet2 241
  19057. push_0
  19058. CallNative "GET_VEHICLE_PED_IS_IN" 2 1
  19059. StaticSet2 481
  19060. Jump @Network_ObjectSub_Custom_Input2
  19061. :Network_ObjectSub_Custom_OnFoot2
  19062. StaticGet2 241
  19063. StaticSet2 481
  19064. :Network_ObjectSub_Custom_Input2
  19065. Push 255
  19066. Call @PromptUser_
  19067. CallNative "GET_HASH_KEY" 1 1
  19068. StaticSet1 12
  19069. :Network_ObjectSub_Custom_DoIt2
  19070. StaticGet1 12
  19071. CallNative "REQUEST_MODEL" 1 0
  19072. StaticGet1 12
  19073. CallNative "IS_MODEL_VALID" 1 1
  19074. JumpFalse @Network_ObjectSub_ModelNotValid2
  19075. StaticGet1 12
  19076. CallNative "REQUEST_MODEL" 1 0
  19077. StaticGet1 12
  19078. StaticGet2 481
  19079. push_1
  19080. CallNative "GET_ENTITY_COORDS" 2 3
  19081. push_1
  19082. push_1
  19083. push_0
  19084. CallNative "CREATE_OBJECT" 7 1
  19085. StaticSet1 12
  19086. StaticGet1 12
  19087. CallNative "OBJ_TO_NET" 1 1
  19088. Drop
  19089. StaticGet1 12
  19090. StaticGet2 481
  19091. push_0
  19092. push_0
  19093. push_0
  19094. push_0
  19095. push_0
  19096. push_0
  19097. push_0
  19098. push_1
  19099. push_1
  19100. push_0
  19101. push_0
  19102. push_2
  19103. push_1
  19104. CallNative "ATTACH_ENTITY_TO_ENTITY" 15 0
  19105. Jump @EndNetwork_Attachments
  19106. :Network_ObjectSub_ModelNotValid2
  19107. PushString "~r~Error:~s~ Incorrect Model."
  19108. PushS 2000
  19109. Call @PrintStringBottomCentre_
  19110. Jump @EndNetwork_ObjectsAndAttachments
  19111. :AttachmentsOp14_
  19112. Jump @EndNetwork_Attachments
  19113. :EndNetwork_Attachments
  19114. Return 0 0e_
  19115. Jump @EndNetwork_ObjectsAndAttachments
  19116. :AttachmentsOp14_
  19117. Jump @EndNetwork_Attachments
  19118. :EndNetwork_Attachments
  19119. Return 0 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement