Advertisement
TeHArGiS10

Untitled

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