Advertisement
Guest User

Untitled

a guest
Nov 26th, 2017
2,189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.60 KB | None | 0 0
  1. {$CLEO .cs}
  2. {$INCLUDE SF}
  3. 0000:
  4. thread "TrollBoss"
  5.  
  6. //-------------------------------COMMANDS-------------------------------
  7. 0B34: "tb.cmds" @CMDS
  8. 0B34: "tb.panic" @PANIC_CMD
  9. 0B34: "tb.flip" @FLIP_CMD
  10. 0B34: "tb.fly" @FLY_CMD
  11. 0B34: "tb.fire" @FIRE_CMD
  12. 0B34: "tb.load" @LOAD_CMD
  13. 0B34: "tb.pop" @POP_CMD
  14. 0B34: "tb.ocean" @OCEAN_CMD
  15. 0B34: "tb.jack" @JACK_CMD
  16. 0B34: "tb.tpto" @TPTO_CMD
  17. 0B34: "tb.heaven" @HEAVEN_CMD
  18. 0B34: "tb.kick" @KICK_CMD
  19. 0B34: "tb.ground" @GROUND_CMD
  20. 0B34: "tb.slag" @SLAG_CMD
  21. 0B34: "tb.kill" @KILL_CMD
  22. 0B34: "tb.killall" @KILLALL_CMD
  23. 0B34: "tb.magnet" @MAGNET_CMD
  24. 0B34: "tb.random" @RANDOM_CMD
  25. //-------------------------------COMMANDS-------------------------------
  26. 0@ = 0
  27. //-------------------------------MAIN-----------------------------------
  28. :MAIN
  29. wait 0
  30. if
  31. 0@ == 1
  32. then
  33. jump @FLIP_ACT
  34. end
  35.  
  36. if
  37. 0@ == 2
  38. then
  39. jump @FLY_ACT
  40. end
  41.  
  42. if
  43. 0@ == 3
  44. then
  45. jump @FIRE_ACT
  46. end
  47.  
  48. if
  49. 0@ == 4
  50. then
  51. jump @LOAD_ACT
  52. end
  53.  
  54. if
  55. 0@ == 5
  56. then
  57. jump @POP_ACT
  58. end
  59.  
  60. //
  61.  
  62. if
  63. 0@ == 7
  64. then
  65. jump @OCEAN_ACT
  66. end
  67.  
  68. if
  69. 0@ == 8
  70. then
  71. jump @JACK_ACT
  72. end
  73.  
  74. if
  75. 0@ == 9
  76. then
  77. jump @TPTO_ACT
  78. end
  79.  
  80. if
  81. 0@ == 10
  82. then
  83. jump @HEAVEN_ACT
  84. end
  85.  
  86. if
  87. 0@ == 11
  88. then
  89. jump @KICK_ACT
  90. end
  91.  
  92. if
  93. 0@ == 12
  94. then
  95. jump @GROUND_ACT
  96. end
  97.  
  98. if
  99. 0@ == 13
  100. then
  101. jump @SLAG_ACT
  102. end
  103.  
  104. if
  105. 0@ == 14
  106. then
  107. jump @KILL_ACT
  108. end
  109.  
  110. if
  111. 0@ == 15
  112. then
  113. jump @KILLALL_ACT
  114. end
  115.  
  116. if
  117. 0@ == 16
  118. then
  119. jump @MAGNET_ACT
  120. end
  121.  
  122. if
  123. 0@ == 17
  124. then
  125. jump @RANDOM_ACT
  126. end
  127.  
  128. 0@ = 0
  129. SAMP.CmdRet()
  130. jump @MAIN
  131. //-------------------------------MAIN-----------------------------------
  132.  
  133. //-------------------------------ACTIONS--------------------------------
  134. :FLIP_ACT
  135. wait 0
  136. 6@ = Actor.CurrentCar(4@)
  137. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  138. if
  139. Actor.Driving($PLAYER_ACTOR)
  140. then
  141. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  142. 036A: put_actor $PLAYER_ACTOR in_car 6@
  143. wait 150
  144. Car.SetSpeedInstantly(6@, 0.0)
  145. 0731: set_car 6@ y_angle_to -180.0
  146. wait 400
  147. 036A: put_actor $PLAYER_ACTOR in_car 5@
  148. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  149. 036A: put_actor $PLAYER_ACTOR in_car 5@
  150. else
  151. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  152. wait 500
  153. 036A: put_actor $PLAYER_ACTOR in_car 6@
  154. wait 150
  155. Car.SetSpeedInstantly(6@, 0.0)
  156. 0731: set_car 6@ y_angle_to -180.0
  157. wait 400
  158. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  159. wait 200
  160. Camera.Restore_WithJumpCut()
  161. end
  162. 0@ = 0
  163. SAMP.CmdRet()
  164. jump @MAIN
  165.  
  166. :FLY_ACT
  167. wait 0
  168. 6@ = Actor.CurrentCar(4@)
  169. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  170. if
  171. Actor.Driving($PLAYER_ACTOR)
  172. then
  173. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  174. 036A: put_actor $PLAYER_ACTOR in_car 6@
  175. wait 150
  176. 0407: store_coords_to 10@ 11@ 12@ from_car 6@ with_offset 0.0 0.0 150.0
  177. Car.PutAt(6@, 10@, 11@, 12@)
  178. wait 150
  179. Car.SetSpeedInstantly(6@, 350.0)
  180. wait 250
  181. 036A: put_actor $PLAYER_ACTOR in_car 5@
  182. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  183. 036A: put_actor $PLAYER_ACTOR in_car 5@
  184. else
  185. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  186. wait 500
  187. 036A: put_actor $PLAYER_ACTOR in_car 6@
  188. wait 150
  189. 0407: store_coords_to 10@ 11@ 12@ from_car 6@ with_offset 0.0 0.0 150.0
  190. Car.PutAt(6@, 10@, 11@, 12@)
  191. wait 150
  192. Car.SetSpeedInstantly(6@, 350.0)
  193. wait 250
  194. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  195. wait 200
  196. Camera.Restore_WithJumpCut()
  197. end
  198. 0@ = 0
  199. SAMP.CmdRet()
  200. jump @MAIN
  201.  
  202. :FIRE_ACT
  203. wait 0
  204. 6@ = Actor.CurrentCar(4@)
  205. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  206. if
  207. Actor.Driving($PLAYER_ACTOR)
  208. then
  209. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  210. 036A: put_actor $PLAYER_ACTOR in_car 6@
  211. wait 150
  212. 0224: set_car 6@ health_to 200
  213. wait 400
  214. 036A: put_actor $PLAYER_ACTOR in_car 5@
  215. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  216. 036A: put_actor $PLAYER_ACTOR in_car 5@
  217. else
  218. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  219. wait 500
  220. 036A: put_actor $PLAYER_ACTOR in_car 6@
  221. wait 150
  222. 0224: set_car 6@ health_to 200
  223. wait 400
  224. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  225. wait 200
  226. Camera.Restore_WithJumpCut()
  227. end
  228. 0@ = 0
  229. SAMP.CmdRet()
  230. jump @MAIN
  231.  
  232. :LOAD_ACT
  233. wait 0
  234. 6@ = Actor.CurrentCar(4@)
  235. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  236. if
  237. Actor.Driving($PLAYER_ACTOR)
  238. then
  239. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  240. 036A: put_actor $PLAYER_ACTOR in_car 6@
  241. wait 250
  242. Car.PutAt(6@, -1.792915E38, -1.25, 5019.66)
  243. wait 400
  244. 036A: put_actor $PLAYER_ACTOR in_car 5@
  245. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  246. 036A: put_actor $PLAYER_ACTOR in_car 5@
  247. else
  248. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  249. wait 500
  250. 036A: put_actor $PLAYER_ACTOR in_car 6@
  251. wait 250
  252. Car.PutAt(6@, -1.792915E38, -1.25, 5019.66)
  253. wait 500
  254. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  255. end
  256. wait 250
  257. Camera.Restore_WithJumpCut()
  258. 0@ = 0
  259. SAMP.CmdRet()
  260. jump @MAIN
  261.  
  262. :POP_ACT
  263. wait 0
  264. 6@ = Actor.CurrentCar(4@)
  265. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  266. if
  267. Actor.Driving($PLAYER_ACTOR)
  268. then
  269. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  270. 036A: put_actor $PLAYER_ACTOR in_car 6@
  271. wait 150
  272. 04FE: deflate_tire 1 on_car 6@
  273. 04FE: deflate_tire 2 on_car 6@
  274. 04FE: deflate_tire 3 on_car 6@
  275. 04FE: deflate_tire 4 on_car 6@
  276. wait 250
  277. 036A: put_actor $PLAYER_ACTOR in_car 5@
  278. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  279. 036A: put_actor $PLAYER_ACTOR in_car 5@
  280. else
  281. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  282. wait 500
  283. 036A: put_actor $PLAYER_ACTOR in_car 6@
  284. wait 150
  285. 04FE: deflate_tire 1 on_car 6@
  286. 04FE: deflate_tire 2 on_car 6@
  287. 04FE: deflate_tire 3 on_car 6@
  288. 04FE: deflate_tire 4 on_car 6@
  289. wait 250
  290. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  291. wait 200
  292. Camera.Restore_WithJumpCut()
  293. end
  294. 0@ = 0
  295. SAMP.CmdRet()
  296. jump @MAIN
  297.  
  298. :OCEAN_ACT
  299. wait 0
  300. 6@ = Actor.CurrentCar(4@)
  301. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  302. if
  303. Actor.Driving($PLAYER_ACTOR)
  304. then
  305. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  306. 036A: put_actor $PLAYER_ACTOR in_car 6@
  307. wait 250
  308. Car.PutAt(6@, -4000.0, 4000.0, -30.0)
  309. wait 400
  310. 036A: put_actor $PLAYER_ACTOR in_car 5@
  311. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  312. 036A: put_actor $PLAYER_ACTOR in_car 5@
  313. else
  314. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  315. wait 500
  316. 036A: put_actor $PLAYER_ACTOR in_car 6@
  317. wait 250
  318. Car.PutAt(6@, -4000.0, 4000.0, -30.0)
  319. wait 400
  320. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  321. end
  322. wait 250
  323. Camera.Restore_WithJumpCut()
  324. 0@ = 0
  325. SAMP.CmdRet()
  326. jump @MAIN
  327.  
  328. :JACK_ACT
  329. wait 0
  330. 6@ = Actor.CurrentCar(4@)
  331. 036A: put_actor $PLAYER_ACTOR in_car 6@
  332. 0@ = 0
  333. SAMP.CmdRet()
  334. jump @MAIN
  335.  
  336. :TPTO_ACT
  337. wait 0
  338. 6@ = Actor.CurrentCar(4@)
  339. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  340. if
  341. 056D: actor 11@ defined
  342. then
  343. Actor.StorePos(11@, 12@, 13@, 14@)
  344. if
  345. Actor.Driving($PLAYER_ACTOR)
  346. then
  347. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  348. 036A: put_actor $PLAYER_ACTOR in_car 6@
  349. wait 250
  350. Car.PutAt(6@, 12@, 13@, 14@)
  351. wait 400
  352. 036A: put_actor $PLAYER_ACTOR in_car 5@
  353. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  354. 036A: put_actor $PLAYER_ACTOR in_car 5@
  355. else
  356. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  357. wait 500
  358. 036A: put_actor $PLAYER_ACTOR in_car 6@
  359. wait 250
  360. Car.PutAt(6@, 12@, 13@, 14@)
  361. wait 400
  362. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  363. end
  364. else
  365. 0B2F: samp get_streamed_out_player_pos 11@ to 12@ 13@ 14@
  366. if
  367. Actor.Driving($PLAYER_ACTOR)
  368. then
  369. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  370. 036A: put_actor $PLAYER_ACTOR in_car 6@
  371. wait 250
  372. Car.PutAt(6@, 12@, 13@, 14@)
  373. wait 500
  374. 036A: put_actor $PLAYER_ACTOR in_car 5@
  375. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  376. 036A: put_actor $PLAYER_ACTOR in_car 5@
  377. else
  378. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  379. wait 500
  380. 036A: put_actor $PLAYER_ACTOR in_car 6@
  381. wait 250
  382. Car.PutAt(6@, 12@, 13@, 14@)
  383. wait 400
  384. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  385. end
  386. end
  387. wait 500
  388. Camera.Restore_WithJumpCut()
  389. 0@ = 0
  390. SAMP.CmdRet()
  391. jump @MAIN
  392.  
  393. :HEAVEN_ACT
  394. wait 0
  395. 6@ = Actor.CurrentCar(4@)
  396. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  397. 0407: store_coords_to 10@ 11@ 12@ from_car 6@ with_offset 0.0 0.0 20000.0
  398. if
  399. Actor.Driving($PLAYER_ACTOR)
  400. then
  401. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  402. 036A: put_actor $PLAYER_ACTOR in_car 6@
  403. wait 150
  404. Car.PutAt(6@, 10@, 11@, 12@)
  405. wait 400
  406. 036A: put_actor $PLAYER_ACTOR in_car 5@
  407. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  408. 036A: put_actor $PLAYER_ACTOR in_car 5@
  409. else
  410. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  411. wait 500
  412. 036A: put_actor $PLAYER_ACTOR in_car 6@
  413. wait 150
  414. Car.PutAt(6@, 10@, 11@, 12@)
  415. wait 400
  416. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  417. end
  418. wait 250
  419. Camera.Restore_WithJumpCut()
  420. 0@ = 0
  421. SAMP.CmdRet()
  422. jump @MAIN
  423.  
  424. :KICK_ACT
  425. wait 0
  426. gosub @NEXT_CAR
  427. jump @KICK_ACT2
  428.  
  429. :KICK_ACT2
  430. wait 0
  431. if
  432. 056E: car 10@ defined
  433. jf @KICK_ACT
  434. 046C: 15@ = car 10@ driver
  435. if
  436. 856D: actor 15@ defined
  437. jf @KICK_ACT
  438. for 11@ = 0 to 50 step 1
  439. if and
  440. SAMP.IsPlayerConnected(3@)
  441. 056D: actor 4@ defined
  442. 056E: car 10@ defined
  443. then
  444. if not 0@ == 0
  445. then
  446. 04C4: store_coords_to 12@ 13@ 14@ from_actor 4@ with_offset 0.0 0.0 -1.0
  447. call @SendUnOccupiedVehicleSync 4 10@ 12@ 13@ 14@
  448. wait 10
  449. call @SendUnOccupiedVehicleSync 4 10@ 12@ 13@ 14@
  450. wait 10
  451. call @SendUnOccupiedVehicleSync 4 10@ 12@ 13@ 14@
  452. wait 10
  453. call @SendUnOccupiedVehicleSync 4 10@ 12@ 13@ 14@
  454. wait 10
  455. call @SendUnOccupiedVehicleSync 4 10@ 12@ 13@ 14@
  456. wait 10
  457. call @SendUnOccupiedVehicleSync 4 10@ 12@ 13@ 14@
  458. wait 10
  459. call @SendUnOccupiedVehicleSync 4 10@ 12@ 13@ 14@
  460. wait 300
  461. end
  462. end
  463. end
  464. 0@ = 0
  465. SAMP.CmdRet()
  466. jump @MAIN
  467.  
  468. :NEXT_CAR
  469. wait 0
  470. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  471. 0AE2: 10@ = random_vehicle_near_point 7@ 8@ 9@ in_radius 99999999999.0 find_next 1 pass_wrecked 1
  472. return
  473.  
  474. :GROUND_ACT
  475. wait 0
  476. 6@ = Actor.CurrentCar(4@)
  477. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  478. if
  479. Actor.Driving($PLAYER_ACTOR)
  480. then
  481. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  482. 036A: put_actor $PLAYER_ACTOR in_car 6@
  483. wait 400
  484. Car.SetSpeedInstantly(6@, 0.0)
  485. 0731: set_car 6@ y_angle_to 85.0
  486. wait 400
  487. 036A: put_actor $PLAYER_ACTOR in_car 5@
  488. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  489. 036A: put_actor $PLAYER_ACTOR in_car 5@
  490. else
  491. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  492. wait 500
  493. 036A: put_actor $PLAYER_ACTOR in_car 6@
  494. wait 400
  495. Car.SetSpeedInstantly(6@, 0.0)
  496. 0731: set_car 6@ y_angle_to 85.0
  497. wait 400
  498. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  499. wait 200
  500. Camera.Restore_WithJumpCut()
  501. end
  502. 0@ = 0
  503. SAMP.CmdRet()
  504. jump @MAIN
  505.  
  506. :SLAG_ACT
  507. wait 0
  508. 0A8D: 29@ = read_memory 0xB74494 size 4 virtual_protect 0
  509. 29@ += 0x4
  510. 0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
  511. for 30@ = 0 to 27904 step 0x100
  512. 0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
  513. 000A: 29@ += 0x1
  514. if and
  515. 0029: 31@ >= 0x00
  516. 001B: 0x80 > 31@
  517. then
  518. 005A: 31@ += 30@
  519. 036A: put_actor $PLAYER_ACTOR in_car 31@
  520. Car.PutAt(31@, 11@, 12@, 13@)
  521. wait 50
  522. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 14@ 15@ 16@
  523. end
  524. end
  525. SAMP.CmdRet()
  526. jump @MAIN
  527.  
  528. :KILL_ACT
  529. wait 0
  530. if and
  531. SAMP.IsPlayerConnected(3@)
  532. 056D: actor 4@ defined
  533. not Actor.Dead(4@)
  534. then
  535. 0470: 5@ = actor $PLAYER_ACTOR current_weapon
  536. wait 10
  537. call @SendBulletData 2 4@ 5@
  538. else
  539. 0@ = 0
  540. end
  541. SAMP.CmdRet()
  542. jump @MAIN
  543.  
  544. :KILLALL_ACT
  545. wait 0
  546. 0A8D: 29@ = read_memory 0xB74490 size 4 virtual_protect 0
  547. 000A: 29@ += 0x4
  548. 0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
  549. for 30@ = 0 to 35584 step 0x100
  550. 0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
  551. 000A: 29@ += 0x1
  552. if and
  553. 0029: 31@ >= 0x00
  554. 001B: 0x80 > 31@
  555. then
  556. 005A: 31@ += 30@
  557. if and
  558. 803B: 31@ == $PLAYER_ACTOR // (int)
  559. 056D: actor 31@ defined
  560. then
  561. 0470: 5@ = actor $PLAYER_ACTOR current_weapon
  562. wait 10
  563. call @SendBulletData 2 31@ 5@
  564. end
  565. end
  566. end
  567. SAMP.CmdRet()
  568. jump @MAIN
  569.  
  570. :MAGNET_ACT
  571. wait 0
  572. 6@ = Actor.CurrentCar(4@)
  573. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  574. if
  575. Actor.Driving($PLAYER_ACTOR)
  576. then
  577. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  578. 036A: put_actor $PLAYER_ACTOR in_car 6@
  579. wait 250
  580. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  581. wait 100
  582. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  583. wait 100
  584. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  585. wait 100
  586. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  587. wait 100
  588. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  589. wait 200
  590. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  591. wait 500
  592. 036A: put_actor $PLAYER_ACTOR in_car 5@
  593. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  594. 036A: put_actor $PLAYER_ACTOR in_car 5@
  595. else
  596. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  597. wait 500
  598. 036A: put_actor $PLAYER_ACTOR in_car 6@
  599. wait 250
  600. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  601. wait 100
  602. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  603. wait 100
  604. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  605. wait 100
  606. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  607. wait 100
  608. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  609. wait 200
  610. Car.PutAt(6@, -1569.30, 97.87, 14.60)
  611. wait 500
  612. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  613. end
  614. wait 1000
  615. Camera.Restore_WithJumpCut()
  616. 0@ = 0
  617. SAMP.CmdRet()
  618. jump @MAIN
  619.  
  620. :RANDOM_ACT
  621. wait 0
  622. 6@ = Actor.CurrentCar(4@)
  623. Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
  624. if
  625. Actor.Driving($PLAYER_ACTOR)
  626. then
  627. 5@ = Actor.CurrentCar($PLAYER_ACTOR)
  628. 036A: put_actor $PLAYER_ACTOR in_car 6@
  629. wait 250
  630. 0208: 10@ = random_float_in_ranges 3000.0 -3000.0
  631. Car.PutAt(6@, 10@, 10@, 70.0)
  632. wait 400
  633. 036A: put_actor $PLAYER_ACTOR in_car 5@
  634. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  635. 036A: put_actor $PLAYER_ACTOR in_car 5@
  636. else
  637. 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
  638. wait 500
  639. 036A: put_actor $PLAYER_ACTOR in_car 6@
  640. wait 250
  641. 0208: 10@ = random_float_in_ranges 3000.0 -3000.0
  642. Car.PutAt(6@, 10@, 10@, 70.0)
  643. wait 400
  644. 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
  645. end
  646. wait 250
  647. Camera.Restore_WithJumpCut()
  648. 0@ = 0
  649. SAMP.CmdRet()
  650. jump @MAIN
  651.  
  652. //-------------------------------ACTIONS--------------------------------
  653.  
  654. //-------------------------------COMMANDS-------------------------
  655. :FLIP_CMD
  656. wait 0
  657. SAMP.IsCommandTyped(1@)
  658. if
  659. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  660. then
  661. if
  662. SAMP.IsPlayerConnected(3@)
  663. then
  664. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  665. if
  666. 056D: actor 4@ defined
  667. then
  668. if
  669. Actor.Driving(4@)
  670. then
  671. 0@ = 1
  672. else
  673. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.flip: {FFFFFF}Target must be driving!" 0xFFFFFF
  674. end
  675. else
  676. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.flip: {FFFFFF}Target too far away!" 0xFFFFFF
  677. end
  678. else
  679. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.flip: {FFFFFF}Invalid ID!" 0xFFFFFF
  680. end
  681. else
  682. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.flip: {FFFFFF}/tb.flip <ID>" 0xFFFFFF
  683. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.flip: {FFFFFF}Flip someone's car!" 0xFFFFFF
  684. end
  685. SAMP.CmdRet()
  686. jump @MAIN
  687.  
  688. :FLY_CMD
  689. wait 0
  690. SAMP.IsCommandTyped(1@)
  691. if
  692. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  693. then
  694. if
  695. SAMP.IsPlayerConnected(3@)
  696. then
  697. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  698. if
  699. 056D: actor 4@ defined
  700. then
  701. if
  702. Actor.Driving(4@)
  703. then
  704. 0@ = 2
  705. else
  706. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fly: {FFFFFF}Target must be driving!" 0xFFFFFF
  707. end
  708. else
  709. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fly: {FFFFFF}Target too far away!" 0xFFFFFF
  710. end
  711. else
  712. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fly: {FFFFFF}Invalid ID!" 0xFFFFFF
  713. end
  714. else
  715. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fly: {FFFFFF}/tb.fly <ID>" 0xFFFFFF
  716. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fly: {FFFFFF}Make someone's car fly away!" 0xFFFFFF
  717. end
  718. SAMP.CmdRet()
  719. jump @MAIN
  720.  
  721. :FIRE_CMD
  722. wait 0
  723. SAMP.IsCommandTyped(1@)
  724. if
  725. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  726. then
  727. if
  728. SAMP.IsPlayerConnected(3@)
  729. then
  730. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  731. if
  732. 056D: actor 4@ defined
  733. then
  734. if
  735. Actor.Driving(4@)
  736. then
  737. 0@ = 3
  738. else
  739. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fire: {FFFFFF}Target must be driving!" 0xFFFFFF
  740. end
  741. else
  742. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fire: {FFFFFF}Target too far away!" 0xFFFFFF
  743. end
  744. else
  745. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fire: {FFFFFF}Invalid ID!" 0xFFFFFF
  746. end
  747. else
  748. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fire: {FFFFFF}/tb.fire <ID>" 0xFFFFFF
  749. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fire: {FFFFFF}Put someone's car on fire!" 0xFFFFFF
  750. end
  751. SAMP.CmdRet()
  752. jump @MAIN
  753.  
  754. :LOAD_CMD
  755. wait 0
  756. SAMP.IsCommandTyped(1@)
  757. if
  758. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  759. then
  760. if
  761. SAMP.IsPlayerConnected(3@)
  762. then
  763. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  764. if
  765. 056D: actor 4@ defined
  766. then
  767. if
  768. Actor.Driving(4@)
  769. then
  770. 0@ = 4
  771. else
  772. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.load: {FFFFFF}Target must be driving!" 0xFFFFFF
  773. end
  774. else
  775. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.load: {FFFFFF}Target too far away!" 0xFFFFFF
  776. end
  777. else
  778. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.load: {FFFFFF}Invalid ID!" 0xFFFFFF
  779. end
  780. else
  781. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.load: {FFFFFF}/tb.load <ID>" 0xFFFFFF
  782. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.load: {FFFFFF}Throw someone to loading screen!" 0xFFFFFF
  783. end
  784. SAMP.CmdRet()
  785. jump @MAIN
  786.  
  787. :POP_CMD
  788. wait 0
  789. SAMP.IsCommandTyped(1@)
  790. if
  791. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  792. then
  793. if
  794. SAMP.IsPlayerConnected(3@)
  795. then
  796. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  797. if
  798. 056D: actor 4@ defined
  799. then
  800. if
  801. Actor.Driving(4@)
  802. then
  803. 0@ = 5
  804. else
  805. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.pop: {FFFFFF}Target must be driving!" 0xFFFFFF
  806. end
  807. else
  808. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.pop: {FFFFFF}Target too far away!" 0xFFFFFF
  809. end
  810. else
  811. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.pop: {FFFFFF}Invalid ID!" 0xFFFFFF
  812. end
  813. else
  814. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.pop: {FFFFFF}/tb.pop <ID>" 0xFFFFFF
  815. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.pop: {FFFFFF}Pop a car's tires!" 0xFFFFFF
  816. end
  817. SAMP.CmdRet()
  818. jump @MAIN
  819.  
  820. :OCEAN_CMD
  821. wait 0
  822. SAMP.IsCommandTyped(1@)
  823. if
  824. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  825. then
  826. if
  827. SAMP.IsPlayerConnected(3@)
  828. then
  829. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  830. if
  831. 056D: actor 4@ defined
  832. then
  833. if
  834. Actor.Driving(4@)
  835. then
  836. 0@ = 7
  837. else
  838. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ocean: {FFFFFF}Target must be driving!" 0xFFFFFF
  839. end
  840. else
  841. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ocean: {FFFFFF}Target too far away!" 0xFFFFFF
  842. end
  843. else
  844. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ocean: {FFFFFF}Invalid ID!" 0xFFFFFF
  845. end
  846. else
  847. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ocean: {FFFFFF}/tb.ocean <ID>" 0xFFFFFF
  848. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ocean: {FFFFFF}Teleport someone's car to the ocean!" 0xFFFFFF
  849. end
  850. SAMP.CmdRet()
  851. jump @MAIN
  852.  
  853. :JACK_CMD
  854. wait 0
  855. SAMP.IsCommandTyped(1@)
  856. if
  857. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  858. then
  859. if
  860. not Actor.Driving($PLAYER_ACTOR)
  861. then
  862. if
  863. SAMP.IsPlayerConnected(3@)
  864. then
  865. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  866. if
  867. 056D: actor 4@ defined
  868. then
  869. if
  870. Actor.Driving(4@)
  871. then
  872. 0@ = 8
  873. else
  874. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack: {FFFFFF}Target must be driving!" 0xFFFFFF
  875. end
  876. else
  877. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack: {FFFFFF}Target too far away!" 0xFFFFFF
  878. end
  879. else
  880. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack {FFFFFF}Invalid ID!" 0xFFFFFF
  881. end
  882. else
  883. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack: {FFFFFF}You must be onfoot!" 0xFFFFFF
  884. end
  885. else
  886. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack: {FFFFFF}/tb.jack <ID>" 0xFFFFFF
  887. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack: {FFFFFF}Jack someone's car!" 0xFFFFFF
  888. end
  889. SAMP.CmdRet()
  890. jump @MAIN
  891.  
  892. :TPTO_CMD
  893. wait 0
  894. SAMP.IsCommandTyped(1@)
  895. if
  896. 0AD4: 2@ = scan_string 1@ format "%d %d" 3@ 10@
  897. then
  898. if and
  899. SAMP.IsPlayerConnected(3@)
  900. SAMP.IsPlayerConnected(10@)
  901. then
  902. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  903. 11@ = SAMP.GetActorHandleByPlayerID(10@)
  904. if
  905. 056D: actor 4@ defined
  906. then
  907. if
  908. Actor.Driving(4@)
  909. then
  910. 0@ = 9
  911. else
  912. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.tpto: {FFFFFF}Target must be driving!" 0xFFFFFF
  913. end
  914. else
  915. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.tpto: {FFFFFF}Target too far away!" 0xFFFFFF
  916. end
  917. else
  918. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.tpto: {FFFFFF}Invalid IDs!" 0xFFFFFF
  919. end
  920. else
  921. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.tpto: {FFFFFF}/tb.tpto <Target ID> <Player ID>" 0xFFFFFF
  922. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.tpto: {FFFFFF}Teleport your target to another player!" 0xFFFFFF
  923. end
  924. SAMP.CmdRet()
  925. jump @MAIN
  926.  
  927. :HEAVEN_CMD
  928. wait 0
  929. SAMP.IsCommandTyped(1@)
  930. if
  931. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  932. then
  933. if
  934. SAMP.IsPlayerConnected(3@)
  935. then
  936. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  937. if
  938. 056D: actor 4@ defined
  939. then
  940. if
  941. Actor.Driving(4@)
  942. then
  943. 0@ = 10
  944. else
  945. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.heaven: {FFFFFF}Target must be driving!" 0xFFFFFF
  946. end
  947. else
  948. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.heaven: {FFFFFF}Target too far away!" 0xFFFFFF
  949. end
  950. else
  951. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.heaven: {FFFFFF}Invalid ID!" 0xFFFFFF
  952. end
  953. else
  954. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.heaven: {FFFFFF}/tb.heaven <ID>" 0xFFFFFF
  955. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.heaven: {FFFFFF}Teleport someone's car REALLY REALLY high up!" 0xFFFFFF
  956. end
  957. SAMP.CmdRet()
  958. jump @MAIN
  959.  
  960. :KICK_CMD
  961. wait 0
  962. SAMP.IsCommandTyped(1@)
  963. if
  964. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  965. then
  966. if
  967. SAMP.IsPlayerConnected(3@)
  968. then
  969. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  970. if
  971. 056D: actor 4@ defined
  972. then
  973. 0@ = 11
  974. else
  975. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kick: {FFFFFF}Target too far away!" 0xFFFFFF
  976. end
  977. else
  978. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kick: {FFFFFF}Invalid ID!" 0xFFFFFF
  979. end
  980. else
  981. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kick: {FFFFFF}/tb.kick <ID>" 0xFFFFFF
  982. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kick: {FFFFFF}Kick someone far away!" 0xFFFFFF
  983. end
  984. SAMP.CmdRet()
  985. jump @MAIN
  986.  
  987. :GROUND_CMD
  988. wait 0
  989. SAMP.IsCommandTyped(1@)
  990. if
  991. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  992. then
  993. if
  994. SAMP.IsPlayerConnected(3@)
  995. then
  996. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  997. if
  998. 056D: actor 4@ defined
  999. then
  1000. if
  1001. Actor.Driving(4@)
  1002. then
  1003. 0@ = 12
  1004. else
  1005. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ground: {FFFFFF}Target must be driving!" 0xFFFFFF
  1006. end
  1007. else
  1008. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ground: {FFFFFF}Target too far away!" 0xFFFFFF
  1009. end
  1010. else
  1011. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ground: {FFFFFF}Invalid ID!" 0xFFFFFF
  1012. end
  1013. else
  1014. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ground: {FFFFFF}/tb.ground <ID>" 0xFFFFFF
  1015. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ground: {FFFFFF}Stuck someone's car on the ground!" 0xFFFFFF
  1016. end
  1017. SAMP.CmdRet()
  1018. jump @MAIN
  1019.  
  1020. :SLAG_CMD
  1021. wait 0
  1022. SAMP.IsCommandTyped(1@)
  1023. if
  1024. not Actor.Driving($PLAYER_ACTOR)
  1025. then
  1026. 04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 20.0 0.0
  1027. Actor.StorePos($PLAYER_ACTOR, 14@, 15@, 16@)
  1028. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.slag: {FFFFFF}Producing stream lag.." 0xFFFFFF
  1029. 0@ = 13
  1030. else
  1031. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.slag: {FFFFFF}You must be onfoot!" 0xFFFFFF
  1032. end
  1033. SAMP.CmdRet()
  1034. jump @MAIN
  1035.  
  1036. :KILL_CMD
  1037. wait 0
  1038. SAMP.IsCommandTyped(1@)
  1039. if
  1040. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  1041. then
  1042. if
  1043. SAMP.IsPlayerConnected(3@)
  1044. then
  1045. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  1046. if
  1047. 056D: actor 4@ defined
  1048. then
  1049. 0@ = 14
  1050. else
  1051. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kill: {FFFFFF}Target too far away!" 0xFFFFFF
  1052. end
  1053. else
  1054. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kill: {FFFFFF}Invalid ID!" 0xFFFFFF
  1055. end
  1056. else
  1057. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kill: {FFFFFF}/tb.kill <ID>" 0xFFFFFF
  1058. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kill: {FFFFFF}Kill someone instantly!" 0xFFFFFF
  1059. end
  1060. SAMP.CmdRet()
  1061. jump @MAIN
  1062.  
  1063. :KILLALL_CMD
  1064. wait 0
  1065. SAMP.IsCommandTyped(1@)
  1066. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.killall: {FFFFFF}Killing all streamed players.." 0xFFFFFF
  1067. 0@ = 15
  1068. SAMP.CmdRet()
  1069. jump @MAIN
  1070.  
  1071. :MAGNET_CMD
  1072. wait 0
  1073. SAMP.IsCommandTyped(1@)
  1074. if
  1075. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  1076. then
  1077. if
  1078. SAMP.IsPlayerConnected(3@)
  1079. then
  1080. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  1081. if
  1082. 056D: actor 4@ defined
  1083. then
  1084. if
  1085. Actor.Driving(4@)
  1086. then
  1087. 0@ = 16
  1088. else
  1089. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.magnet: {FFFFFF}Target must be driving!" 0xFFFFFF
  1090. end
  1091. else
  1092. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.magnet: {FFFFFF}Target too far away!" 0xFFFFFF
  1093. end
  1094. else
  1095. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.magnet: {FFFFFF}Invalid ID!" 0xFFFFFF
  1096. end
  1097. else
  1098. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.magnet: {FFFFFF}/tb.magnet <ID>" 0xFFFFFF
  1099. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.magnet: {FFFFFF}Hang someone's car on magnet crane!" 0xFFFFFF
  1100. end
  1101. SAMP.CmdRet()
  1102. jump @MAIN
  1103.  
  1104. :RANDOM_CMD
  1105. wait 0
  1106. SAMP.IsCommandTyped(1@)
  1107. if
  1108. 0AD4: 2@ = scan_string 1@ format "%d" 3@
  1109. then
  1110. if
  1111. SAMP.IsPlayerConnected(3@)
  1112. then
  1113. 4@ = SAMP.GetActorHandleByPlayerID(3@)
  1114. if
  1115. 056D: actor 4@ defined
  1116. then
  1117. if
  1118. Actor.Driving(4@)
  1119. then
  1120. 0@ = 17
  1121. else
  1122. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.random: {FFFFFF}Target must be driving!" 0xFFFFFF
  1123. end
  1124. else
  1125. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.random: {FFFFFF}Target too far away!" 0xFFFFFF
  1126. end
  1127. else
  1128. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.random: {FFFFFF}Invalid ID!" 0xFFFFFF
  1129. end
  1130. else
  1131. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.random: {FFFFFF}/tb.random <ID>" 0xFFFFFF
  1132. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.random: {FFFFFF}Teleport someone's car to a random place!" 0xFFFFFF
  1133. end
  1134. SAMP.CmdRet()
  1135. jump @MAIN
  1136.  
  1137. :CMDS
  1138. wait 0
  1139. 0AC6: 30@ = label @CMDS_DIALOG offset
  1140. SAMP.ShowDialog(1, "{FF0000}TrollBoss {FFFFFF}- {FF0000}Commands", 30@, "Close", "", 0)
  1141. SAMP.CmdRet()
  1142.  
  1143. :CMDS_DIALOG
  1144. hex
  1145. 7b 46 46 30 30 30 30 7d 2f 74 62 2e 63 6d 64 73
  1146. 20 2d 20 7b 46 46 46 46 46 46 7d 53 68 6f 77 20
  1147. 61 6c 6c 20 63 6f 6d 6d 61 6e 64 73 21 0d 0a 7b
  1148. 46 46 30 30 30 30 7d 2f 74 62 2e 70 61 6e 69 63
  1149. 20 2d 20 7b 46 46 46 46 46 46 7d 53 74 6f 70 20
  1150. 65 76 65 72 79 74 68 69 6e 67 21 0d 0a 7b 46 46
  1151. 30 30 30 30 7d 2f 74 62 2e 66 6c 69 70 20 2d 20
  1152. 7b 46 46 46 46 46 46 7d 46 6c 69 70 20 73 6f 6d
  1153. 65 6f 6e 65 27 73 20 63 61 72 20 75 70 73 69 64
  1154. 65 20 64 6f 77 6e 21 0d 0a 7b 46 46 30 30 30 30
  1155. 7d 2f 74 62 2e 66 6c 79 20 2d 20 7b 46 46 46 46
  1156. 46 46 7d 4d 61 6b 65 20 73 6f 6d 65 6f 6e 65 27
  1157. 73 20 63 61 72 20 66 6c 79 20 61 77 61 79 21 0d
  1158. 0a 7b 46 46 30 30 30 30 7d 2f 74 62 2e 66 69 72
  1159. 65 20 2d 20 7b 46 46 46 46 46 46 7d 50 75 74 20
  1160. 73 6f 6d 65 6f 6e 65 27 73 20 63 61 72 20 6f 6e
  1161. 20 66 69 72 65 21 0d 0a 7b 46 46 30 30 30 30 7d
  1162. 2f 74 62 2e 6c 6f 61 64 20 2d 20 7b 46 46 46 46
  1163. 46 46 7d 54 68 72 6f 77 20 73 6f 6d 65 6f 6e 65
  1164. 20 74 6f 20 6c 6f 61 64 69 6e 67 21 0d 0a 7b 46
  1165. 46 30 30 30 30 7d 2f 74 62 2e 70 6f 70 20 2d 20
  1166. 7b 46 46 46 46 46 46 7d 50 6f 70 20 61 20 63 61
  1167. 72 27 73 20 74 69 72 65 73 21 0d 0a 7b 46 46 30
  1168. 30 30 30 7d 2f 74 62 2e 6f 63 65 61 6e 20 2d 20
  1169. 7b 46 46 46 46 46 46 7d 54 65 6c 65 70 6f 72 74
  1170. 20 73 6f 6d 65 6f 6e 65 27 73 20 63 61 72 20 74
  1171. 6f 20 74 68 65 20 6f 63 65 61 6e 21 0d 0a 7b 46
  1172. 46 30 30 30 30 7d 2f 74 62 2e 6a 61 63 6b 20 2d
  1173. 20 7b 46 46 46 46 46 46 7d 4a 61 63 6b 20 73 6f
  1174. 6d 65 6f 6e 65 27 73 20 63 61 72 21 0d 0a 7b 46
  1175. 46 30 30 30 30 7d 2f 74 62 2e 74 70 74 6f 20 2d
  1176. 20 7b 46 46 46 46 46 46 7d 54 65 6c 65 70 6f 72
  1177. 74 20 79 6f 75 72 20 74 61 72 67 65 74 20 74 6f
  1178. 20 61 6e 6f 74 68 65 72 20 70 6c 61 79 65 72 21
  1179. 0d 0a 7b 46 46 30 30 30 30 7d 2f 74 62 2e 68 65
  1180. 61 76 65 6e 20 2d 20 7b 46 46 46 46 46 46 7d 54
  1181. 65 6c 65 70 6f 72 74 20 73 6f 6d 65 6f 6e 65 27
  1182. 73 20 63 61 72 20 52 45 41 4c 4c 59 20 68 69 67
  1183. 68 21 0d 0a 7b 46 46 30 30 30 30 7d 2f 74 62 2e
  1184. 6b 69 63 6b 20 2d 20 7b 46 46 46 46 46 46 7d 4b
  1185. 69 63 6b 20 73 6f 6d 65 6f 6e 65 20 66 61 72 20
  1186. 61 77 61 79 21 0d 0a 7b 46 46 30 30 30 30 7d 2f
  1187. 74 62 2e 67 72 6f 75 6e 64 20 2d 20 7b 46 46 46
  1188. 46 46 46 7d 53 74 75 63 6b 20 73 6f 6d 65 6f 6e
  1189. 65 27 73 20 63 61 72 20 6f 6e 20 74 68 65 20 67
  1190. 72 6f 75 6e 64 21 0d 0a 7b 46 46 30 30 30 30 7d
  1191. 2f 74 62 2e 73 6c 61 67 20 2d 20 7b 46 46 46 46
  1192. 46 46 7d 50 72 6f 64 75 63 65 20 73 74 72 65 61
  1193. 6d 20 6c 61 67 21 0d 0a 7b 46 46 30 30 30 30 7d
  1194. 2f 74 62 2e 6b 69 6c 6c 20 2d 20 7b 46 46 46 46
  1195. 46 46 7d 4b 69 6c 6c 20 73 6f 6d 65 6f 6e 65 20
  1196. 69 6e 73 74 61 6e 74 6c 79 21 0d 0a 7b 46 46 30
  1197. 30 30 30 7d 2f 74 62 2e 6b 69 6c 6c 61 6c 6c 20
  1198. 2d 20 7b 46 46 46 46 46 46 7d 4b 69 6c 6c 20 61
  1199. 6c 6c 20 73 74 72 65 61 6d 65 64 20 70 6c 61 79
  1200. 65 72 73 21 0d 0a 7b 46 46 30 30 30 30 7d 2f 74
  1201. 62 2e 6d 61 67 6e 65 74 20 2d 20 7b 46 46 46 46
  1202. 46 46 7d 48 61 6e 67 20 73 6f 6d 65 6f 6e 65 27
  1203. 73 20 63 61 72 20 6f 6e 20 6d 61 67 6e 65 74 20
  1204. 63 72 61 6e 65 21 0d 0a 7b 46 46 30 30 30 30 7d
  1205. 2f 74 62 2e 72 61 6e 64 6f 6d 20 2d 20 7b 46 46
  1206. 46 46 46 46 7d 54 65 6c 65 70 6f 72 74 20 73 6f
  1207. 6d 65 6f 6e 65 20 74 6f 20 61 20 72 61 6e 64 6f
  1208. 6d 20 70 6c 61 63 65 216 46 7d 50 6f 70 20 61 20
  1209. 63 61 72 27 73 20 74 69 72 65 73 21 0d 0a 7b 46
  1210. 46 30 30 30 30 7d 2f 74 62 2e 6f 63 65 61 6e 20
  1211. 2d 20 7b 46 46 46 46 46 46 7d 54 65 6c 65 70 6f
  1212. 72 74 20 73 6f 6d 65 6f 6e 65 27 73 20 63 61 72
  1213. 20 74 6f 20 74 68 65 20 6f 63 65 61 6e 21 0d 0a
  1214. 7b 46 46 30 30 30 30 7d 2f 74 62 2e 6a 61 63 6b
  1215. 20 2d 20 7b 46 46 46 46 46 46 7d 4a 61 63 6b 20
  1216. 73 6f 6d 65 6f 6e 65 27 73 20 63 61 72 21 0d 0a
  1217. 7b 46 46 30 30 30 30 7d 2f 74 62 2e 74 70 74 6f
  1218. 20 2d 20 7b 46 46 46 46 46 46 7d 54 65 6c 65 70
  1219. 6f 72 74 20 79 6f 75 72 20 74 61 72 67 65 74 20
  1220. 74 6f 20 61 6e 6f 74 68 65 72 20 70 6c 61 79 65
  1221. 72 21 0d 0a 7b 46 46 30 30 30 30 7d 2f 74 62 2e
  1222. 68 65 61 76 65 6e 20 2d 20 7b 46 46 46 46 46 46
  1223. 7d 54 65 6c 65 70 6f 72 74 20 73 6f 6d 65 6f 6e
  1224. 65 27 73 20 63 61 72 20 52 45 41 4c 4c 59 20 68
  1225. 69 67 68 21 0d 0a 7b 46 46 30 30 30 30 7d 2f 74
  1226. 62 2e 6b 69 63 6b 20 2d 20 7b 46 46 46 46 46 46
  1227. 7d 4b 69 63 6b 20 73 6f 6d 65 6f 6e 65 20 66 61
  1228. 72 20 61 77 61 79 21 0d 0a 7b 46 46 30 30 30 30
  1229. 7d 2f 74 62 2e 67 72 6f 75 6e 64 20 2d 20 7b 46
  1230. 46 46 46 46 46 7d 53 74 75 63 6b 20 73 6f 6d 65
  1231. 6f 6e 65 27 73 20 63 61 72 20 6f 6e 20 74 68 65
  1232. 20 67 72 6f 75 6e 64 21 0d 0a 7b 46 46 30 30 30
  1233. 30 7d 2f 74 62 2e 73 6c 61 67 20 2d 20 7b 46 46
  1234. 46 46 46 46 7d 50 72 6f 64 75 63 65 20 73 74 72
  1235. 65 61 6d 20 6c 61 67 21 0d 0a 7b 46 46 30 30 30
  1236. 30 7d 2f 74 62 2e 6b 69 6c 6c 20 2d 20 7b 46 46
  1237. 46 46 46 46 7d 4b 69 6c 6c 20 73 6f 6d 65 6f 6e
  1238. 65 20 69 6e 73 74 61 6e 74 6c 79 21 0d 0a 7b 46
  1239. 46 30 30 30 30 7d 2f 74 62 2e 6b 69 6c 6c 61 6c
  1240. 6c 20 2d 20 7b 46 46 46 46 46 46 7d 4b 69 6c 6c
  1241. 20 61 6c 6c 20 73 74 72 65 61 6d 65 64 20 70 6c
  1242. 61 79 65 72 73 21 0d 0a 7b 46 46 30 30 30 30 7d
  1243. 2f 74 62 2e 6d 61 67 6e 65 74 20 2d 20 7b 46 46
  1244. 46 46 46 46 7d 48 61 6e 67 20 73 6f 6d 65 6f 6e
  1245. 65 27 73 20 63 61 72 20 6f 6e 20 6d 61 67 6e 65
  1246. 74 20 63 72 61 6e 65 21 0d 0a 7b 46 46 30 30 30
  1247. 30 7d 2f 74 62 2e 72 61 6e 64 6f 6d 20 2d 20 7b
  1248. 46 46 46 46 46 46 7d 54 65 6c 65 70 6f 72 74 20
  1249. 73 6f 6d 65 6f 6e 65 20 74 6f 20 61 20 72 61 6e
  1250. 64 6f 6d 20 70 6c 61 63 65 21
  1251. end
  1252.  
  1253. :PANIC_CMD
  1254. wait 0
  1255. 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.panic: {FFFFFF}Stopped everything!" 0xFFFFFF
  1256. 0@ = 0
  1257. SAMP.CmdRet()
  1258. jump @MAIN
  1259. //-------------------------------COMMANDS-------------------------
  1260.  
  1261. //-------------------------------SNIPPETS-------------------------
  1262. :SendUnOccupiedVehicleSync
  1263. 7@ = SAMP.GetSAMPVehicleIDByCarHandle(0@)
  1264. Car.PutAt(0@, 1@, 2@, 3@)
  1265. alloc 4@ 67
  1266. 0C0D: struct 4@ offset 0 size 2 = 7@
  1267. 0C0D: struct 4@ offset 2 size 1 = 1
  1268. 0C0D: struct 4@ offset 3 size 4 = -1.0
  1269. 0C0D: struct 4@ offset 7 size 4 = -0.01
  1270. 0C0D: struct 4@ offset 11 size 4 = 0.05
  1271. 0C0D: struct 4@ offset 15 size 4 = 0.09
  1272. 0C0D: struct 4@ offset 19 size 4 = -1.0
  1273. 0C0D: struct 4@ offset 23 size 4 = 0.02
  1274. 0C0D: struct 4@ offset 27 size 4 = 1@
  1275. 0C0D: struct 4@ offset 31 size 4 = 2@
  1276. 0C0D: struct 4@ offset 35 size 4 = 3@
  1277. 0C0D: struct 4@ offset 39 size 4 = 0.0
  1278. 0C0D: struct 4@ offset 43 size 4 = 0.0
  1279. 0C0D: struct 4@ offset 47 size 4 = 400.0
  1280. 0C0D: struct 4@ offset 51 size 4 = 0.0
  1281. 0C0D: struct 4@ offset 55 size 4 = 0.0
  1282. 0C0D: struct 4@ offset 59 size 4 = 0.0
  1283. 0C0D: struct 4@ offset 63 size 4 = 1000.0
  1284. 5@ = RakNet.NewBitStream()
  1285. Raknet.Write(5@, 209, BS_TYPE_BYTE, 1)
  1286. Raknet.Write(5@, 4@, BS_TYPE_ARRAY, 67)
  1287. RakNet.LiteSend(5@)
  1288. RakNet.DeleteBitStream(5@)
  1289. free 4@
  1290. ret 0
  1291.  
  1292. :SendBulletData
  1293. 0AC8: 8@ = allocate_memory_size 40
  1294. 7@ = SAMP.GetSAMPPlayerIDByActorHandle(0@)
  1295. 0C0D: struct 8@ offset 0 size 1 = 1
  1296. 0C0D: struct 8@ offset 1 size 2 = 7@
  1297. 00A0: store_actor $PLAYER_ACTOR position_to 11@ 12@ 13@
  1298. 0C0D: struct 8@ offset 3 size 4 = 11@
  1299. 0C0D: struct 8@ offset 7 size 4 = 12@
  1300. 0C0D: struct 8@ offset 11 size 4 = 13@
  1301. 00A0: store_actor 0@ position_to 4@ 5@ 6@
  1302. 0C0D: struct 8@ offset 15 size 4 = 4@
  1303. 0C0D: struct 8@ offset 19 size 4 = 5@
  1304. 0C0D: struct 8@ offset 23 size 4 = 6@
  1305. 0C0D: struct 8@ offset 27 size 4 = 0.0
  1306. 0C0D: struct 8@ offset 31 size 4 = 0.0
  1307. 0C0D: struct 8@ offset 35 size 4 = 0.5
  1308. 0C0D: struct 8@ offset 39 size 1 = 1@
  1309. 0B3D: raknet 9@ = new_bit_stream
  1310. 0B40: raknet bit_stream 9@ write 206 type BS_TYPE_BYTE size 1
  1311. 0B40: raknet bit_stream 9@ write 8@ type BS_TYPE_ARRAY size 40
  1312. 0B8B: raknet send bit_stream 9@
  1313. 0B3E: raknet delete_bit_stream 9@
  1314. 0AC9: free_allocated_memory 8@
  1315. 0AB2: ret 0
  1316. //-------------------------------SNIPPETS-------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement