Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$CLEO .cs}
- 0000:
- thread "TrollBoss"
- //-------------------------------COMMANDS-------------------------------
- 0B34: "tb.cmds" @CMDS
- 0B34: "tb.panic" @PANIC_CMD
- 0B34: "tb.flip" @FLIP_CMD
- 0B34: "tb.fly" @FLY_CMD
- 0B34: "tb.fire" @FIRE_CMD
- 0B34: "tb.load" @LOAD_CMD
- 0B34: "tb.pop" @POP_CMD
- 0B34: "tb.color" @COLOR_CMD
- 0B34: "tb.ocean" @OCEAN_CMD
- 0B34: "tb.jack" @JACK_CMD
- 0B34: "tb.tpto" @TPTO_CMD
- 0B34: "tb.heaven" @HEAVEN_CMD
- 0B34: "tb.kick" @KICK_CMD
- 0B34: "tb.ground" @GROUND_CMD
- 0B34: "tb.slag" @SLAG_CMD
- //-------------------------------COMMANDS-------------------------------
- 0@ = 0
- //-------------------------------MAIN-----------------------------------
- :MAIN
- wait 0
- if
- 0@ == 1
- then
- jump @FLIP_ACT
- end
- if
- 0@ == 2
- then
- jump @FLY_ACT
- end
- if
- 0@ == 3
- then
- jump @FIRE_ACT
- end
- if
- 0@ == 4
- then
- jump @LOAD_ACT
- end
- if
- 0@ == 5
- then
- jump @POP_ACT
- end
- if
- 0@ == 6
- then
- jump @COLOR_ACT
- end
- if
- 0@ == 7
- then
- jump @OCEAN_ACT
- end
- if
- 0@ == 8
- then
- jump @JACK_ACT
- end
- if
- 0@ == 9
- then
- jump @TPTO_ACT
- end
- if
- 0@ == 10
- then
- jump @HEAVEN_ACT
- end
- if
- 0@ == 11
- then
- jump @KICK_ACT
- end
- if
- 0@ == 12
- then
- jump @GROUND_ACT
- end
- if
- 0@ == 13
- then
- jump @SLAG_ACT
- end
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- //-------------------------------MAIN-----------------------------------
- //-------------------------------ACTIONS--------------------------------
- :FLIP_ACT
- wait 0
- 6@ = Actor.CurrentCar(4@)
- Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
- if
- Actor.Driving($PLAYER_ACTOR)
- then
- 5@ = Actor.CurrentCar($PLAYER_ACTOR)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- Car.SetSpeedInstantly(6@, 0.0)
- 0731: set_car 6@ y_angle_to -180.0
- wait 400
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- else
- 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- Car.SetSpeedInstantly(6@, 0.0)
- 0731: set_car 6@ y_angle_to -180.0
- wait 400
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- wait 200
- Camera.Restore_WithJumpCut()
- end
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :FLY_ACT
- wait 0
- 6@ = Actor.CurrentCar(4@)
- Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
- if
- Actor.Driving($PLAYER_ACTOR)
- then
- 5@ = Actor.CurrentCar($PLAYER_ACTOR)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- 0407: store_coords_to 10@ 11@ 12@ from_car 6@ with_offset 0.0 0.0 150.0
- Car.PutAt(6@, 10@, 11@, 12@)
- wait 150
- Car.SetSpeedInstantly(6@, 350.0)
- wait 250
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- else
- 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- 0407: store_coords_to 10@ 11@ 12@ from_car 6@ with_offset 0.0 0.0 150.0
- Car.PutAt(6@, 10@, 11@, 12@)
- wait 150
- Car.SetSpeedInstantly(6@, 350.0)
- wait 250
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- wait 200
- Camera.Restore_WithJumpCut()
- end
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :FIRE_ACT
- wait 0
- 6@ = Actor.CurrentCar(4@)
- Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
- if
- Actor.Driving($PLAYER_ACTOR)
- then
- 5@ = Actor.CurrentCar($PLAYER_ACTOR)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- 0224: set_car 6@ health_to 200
- wait 400
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- else
- 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- 0224: set_car 6@ health_to 200
- wait 400
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- wait 200
- Camera.Restore_WithJumpCut()
- end
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :LOAD_ACT
- wait 0
- 6@ = Actor.CurrentCar(4@)
- Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
- if
- Actor.Driving($PLAYER_ACTOR)
- then
- 5@ = Actor.CurrentCar($PLAYER_ACTOR)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 250
- Car.PutAt(6@, -1.792915E38, -1.25, 5019.66)
- wait 400
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- else
- 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 250
- Car.PutAt(6@, -1.792915E38, -1.25, 5019.66)
- wait 400
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- end
- wait 250
- Camera.Restore_WithJumpCut()
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :POP_ACT
- wait 0
- 6@ = Actor.CurrentCar(4@)
- Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
- if
- Actor.Driving($PLAYER_ACTOR)
- then
- 5@ = Actor.CurrentCar($PLAYER_ACTOR)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- 04FE: deflate_tire 1 on_car 6@
- 04FE: deflate_tire 2 on_car 6@
- 04FE: deflate_tire 3 on_car 6@
- 04FE: deflate_tire 4 on_car 6@
- wait 250
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- else
- 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- 04FE: deflate_tire 1 on_car 6@
- 04FE: deflate_tire 2 on_car 6@
- 04FE: deflate_tire 3 on_car 6@
- 04FE: deflate_tire 4 on_car 6@
- wait 250
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- wait 200
- Camera.Restore_WithJumpCut()
- end
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :COLOR_ACT
- wait 0
- 6@ = Actor.CurrentCar(4@)
- 10@ = SAMP.GetSAMPVehicleIDByCarHandle(6@)
- Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
- if
- Actor.Driving($PLAYER_ACTOR)
- then
- 5@ = Actor.CurrentCar($PLAYER_ACTOR)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- SAMP.SendSCMEvent(10@, COLOR, 11@, 12@)
- 0229: set_car 6@ primary_color_to 11@ secondary_color_to 12@
- wait 400
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- else
- 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- SAMP.SendSCMEvent(10@, COLOR, 11@, 12@)
- 0229: set_car 6@ primary_color_to 11@ secondary_color_to 12@
- wait 400
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- wait 200
- Camera.Restore_WithJumpCut()
- end
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :OCEAN_ACT
- wait 0
- 6@ = Actor.CurrentCar(4@)
- Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
- if
- Actor.Driving($PLAYER_ACTOR)
- then
- 5@ = Actor.CurrentCar($PLAYER_ACTOR)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 250
- Car.PutAt(6@, -4000.0, 4000.0, -30.0)
- wait 400
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- else
- 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 250
- Car.PutAt(6@, -4000.0, 4000.0, -30.0)
- wait 400
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- end
- wait 250
- Camera.Restore_WithJumpCut()
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :JACK_ACT
- wait 0
- 6@ = Actor.CurrentCar(4@)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :TPTO_ACT
- wait 0
- 6@ = Actor.CurrentCar(4@)
- Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
- if
- 056D: actor 11@ defined
- then
- Actor.StorePos(11@, 12@, 13@, 14@)
- if
- Actor.Driving($PLAYER_ACTOR)
- then
- 5@ = Actor.CurrentCar($PLAYER_ACTOR)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 250
- Car.PutAt(6@, 12@, 13@, 14@)
- wait 400
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- else
- 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 250
- Car.PutAt(6@, 12@, 13@, 14@)
- wait 400
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- end
- else
- 0B2F: samp get_streamed_out_player_pos 11@ to 12@ 13@ 14@
- if
- Actor.Driving($PLAYER_ACTOR)
- then
- 5@ = Actor.CurrentCar($PLAYER_ACTOR)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 250
- Car.PutAt(6@, 12@, 13@, 14@)
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- else
- 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 250
- Car.PutAt(6@, 12@, 13@, 14@)
- wait 400
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- end
- end
- wait 500
- Camera.Restore_WithJumpCut()
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :HEAVEN_ACT
- wait 0
- 6@ = Actor.CurrentCar(4@)
- Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
- 0407: store_coords_to 10@ 11@ 12@ from_car 6@ with_offset 0.0 0.0 20000.0
- if
- Actor.Driving($PLAYER_ACTOR)
- then
- 5@ = Actor.CurrentCar($PLAYER_ACTOR)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- Car.PutAt(6@, 10@, 11@, 12@)
- wait 400
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- else
- 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 150
- Car.PutAt(6@, 10@, 11@, 12@)
- wait 400
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- end
- wait 250
- Camera.Restore_WithJumpCut()
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :KICK_ACT
- wait 0
- gosub @NEXT_CAR
- jump @KICK_ACT2
- :KICK_ACT2
- wait 0
- if
- 056E: car 10@ defined
- jf @KICK_ACT
- 046C: 15@ = car 10@ driver
- if
- 856D: actor 15@ defined
- jf @KICK_ACT
- for 11@ = 0 to 50 step 1
- if and
- SAMP.IsPlayerConnected(3@)
- 056D: actor 4@ defined
- 056E: car 10@ defined
- then
- 04C4: store_coords_to 12@ 13@ 14@ from_actor 4@ with_offset 0.0 0.0 -1.0
- call @SendUnOccupiedVehicleSync 4 10@ 12@ 13@ 14@
- wait 10
- call @SendUnOccupiedVehicleSync 4 10@ 12@ 13@ 14@
- wait 10
- call @SendUnOccupiedVehicleSync 4 10@ 12@ 13@ 14@
- wait 10
- call @SendUnOccupiedVehicleSync 4 10@ 12@ 13@ 14@
- wait 500
- end
- end
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :NEXT_CAR
- wait 0
- Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
- 0AE2: 10@ = random_vehicle_near_point 7@ 8@ 9@ in_radius 99999999999.0 find_next 1 pass_wrecked 1
- return
- :GROUND_ACT
- wait 0
- 6@ = Actor.CurrentCar(4@)
- Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
- if
- Actor.Driving($PLAYER_ACTOR)
- then
- 5@ = Actor.CurrentCar($PLAYER_ACTOR)
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 400
- Car.SetSpeedInstantly(6@, 0.0)
- 0731: set_car 6@ y_angle_to 85.0
- wait 400
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- 036A: put_actor $PLAYER_ACTOR in_car 5@
- else
- 0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
- wait 500
- 036A: put_actor $PLAYER_ACTOR in_car 6@
- wait 400
- Car.SetSpeedInstantly(6@, 0.0)
- 0731: set_car 6@ y_angle_to 85.0
- wait 400
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
- wait 200
- Camera.Restore_WithJumpCut()
- end
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :SLAG_ACT
- wait 0
- 04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
- 0A8D: 29@ = read_memory 0xB74494 size 4 virtual_protect 0
- 29@ += 0x4
- 0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
- for 30@ = 0 to 27904 step 0x100
- 0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
- 000A: 29@ += 0x1
- if and
- 0029: 31@ >= 0x00
- 001B: 0x80 > 31@
- then
- 005A: 31@ += 30@
- 036A: put_actor $PLAYER_ACTOR in_car 31@
- Car.PutAt(31@, 11@, 12@, 13@)
- wait 50
- 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 11@ 12@ 13@
- end
- end
- SAMP.CmdRet()
- jump @MAIN
- //-------------------------------ACTIONS--------------------------------
- //-------------------------------COMMANDS-------------------------
- :FLIP_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d" 3@
- then
- if
- SAMP.IsPlayerConnected(3@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- if
- 056D: actor 4@ defined
- then
- if
- Actor.Driving(4@)
- then
- 0@ = 1
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.flip: {FFFFFF}Target must be driving!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.flip: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.flip: {FFFFFF}Invalid ID!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.flip: {FFFFFF}/tb.flip <ID>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.flip: {FFFFFF}Flip someone's car!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :FLY_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d" 3@
- then
- if
- SAMP.IsPlayerConnected(3@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- if
- 056D: actor 4@ defined
- then
- if
- Actor.Driving(4@)
- then
- 0@ = 2
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fly: {FFFFFF}Target must be driving!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fly: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fly: {FFFFFF}Invalid ID!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fly: {FFFFFF}/tb.fly <ID>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fly: {FFFFFF}Make someone's car fly away!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :FIRE_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d" 3@
- then
- if
- SAMP.IsPlayerConnected(3@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- if
- 056D: actor 4@ defined
- then
- if
- Actor.Driving(4@)
- then
- 0@ = 3
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fire: {FFFFFF}Target must be driving!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fire: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fire: {FFFFFF}Invalid ID!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fire: {FFFFFF}/tb.fire <ID>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.fire: {FFFFFF}Put someone's car on fire!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :LOAD_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d" 3@
- then
- if
- SAMP.IsPlayerConnected(3@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- if
- 056D: actor 4@ defined
- then
- if
- Actor.Driving(4@)
- then
- 0@ = 4
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.load: {FFFFFF}Target must be driving!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.load: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.load: {FFFFFF}Invalid ID!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.load: {FFFFFF}/tb.load <ID>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.load: {FFFFFF}Throw someone to loading screen!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :POP_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d" 3@
- then
- if
- SAMP.IsPlayerConnected(3@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- if
- 056D: actor 4@ defined
- then
- if
- Actor.Driving(4@)
- then
- 0@ = 5
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.pop: {FFFFFF}Target must be driving!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.pop: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.pop: {FFFFFF}Invalid ID!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.pop: {FFFFFF}/tb.pop <ID>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.pop: {FFFFFF}Pop a car's tires!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :COLOR_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d %d %d" 3@ 11@ 12@
- then
- if
- SAMP.IsPlayerConnected(3@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- if
- 056D: actor 4@ defined
- then
- if
- Actor.Driving(4@)
- then
- 0@ = 6
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.color: {FFFFFF}Target must be driving!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.color: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.color: {FFFFFF}Invalid ID!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.color: {FFFFFF}/tb.color <ID> <COLOR1> <COLOR2>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.color: {FFFFFF}Change someone's car color!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :OCEAN_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d" 3@
- then
- if
- SAMP.IsPlayerConnected(3@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- if
- 056D: actor 4@ defined
- then
- if
- Actor.Driving(4@)
- then
- 0@ = 7
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ocean: {FFFFFF}Target must be driving!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ocean: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ocean: {FFFFFF}Invalid ID!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ocean: {FFFFFF}/tb.ocean <ID>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ocean: {FFFFFF}Teleport someone's car to the ocean!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :JACK_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d" 3@
- then
- if
- not Actor.Driving($PLAYER_ACTOR)
- then
- if
- SAMP.IsPlayerConnected(3@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- if
- 056D: actor 4@ defined
- then
- if
- Actor.Driving(4@)
- then
- 0@ = 8
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack: {FFFFFF}Target must be driving!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack {FFFFFF}Invalid ID!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack: {FFFFFF}You must be onfoot!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack: {FFFFFF}/tb.jack <ID>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.jack: {FFFFFF}Jack someone's car!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :TPTO_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d %d" 3@ 10@
- then
- if and
- SAMP.IsPlayerConnected(3@)
- SAMP.IsPlayerConnected(10@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- 11@ = SAMP.GetActorHandleByPlayerID(10@)
- if
- 056D: actor 4@ defined
- then
- if
- Actor.Driving(4@)
- then
- 0@ = 9
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.tpto: {FFFFFF}Target must be driving!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.tpto: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.tpto: {FFFFFF}Invalid IDs!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.tpto: {FFFFFF}/tb.tpto <Target ID> <Player ID>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.tpto: {FFFFFF}Teleport your target to another player!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :HEAVEN_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d" 3@
- then
- if
- SAMP.IsPlayerConnected(3@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- if
- 056D: actor 4@ defined
- then
- if
- Actor.Driving(4@)
- then
- 0@ = 10
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.heaven: {FFFFFF}Target must be driving!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.heaven: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.heaven: {FFFFFF}Invalid ID!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.heaven: {FFFFFF}/tb.heaven <ID>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.heaven: {FFFFFF}Teleport someone's car REALLY REALLY high up!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :KICK_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d" 3@
- then
- if
- SAMP.IsPlayerConnected(3@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- if
- 056D: actor 4@ defined
- then
- 0@ = 11
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kick: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kick: {FFFFFF}Invalid ID!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kick: {FFFFFF}/tb.kick <ID>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.kick: {FFFFFF}Kick someone far away!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :GROUND_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- 0AD4: 2@ = scan_string 1@ format "%d" 3@
- then
- if
- SAMP.IsPlayerConnected(3@)
- then
- 4@ = SAMP.GetActorHandleByPlayerID(3@)
- if
- 056D: actor 4@ defined
- then
- if
- Actor.Driving(4@)
- then
- 0@ = 12
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ground: {FFFFFF}Target must be driving!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ground: {FFFFFF}Target too far away!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ground: {FFFFFF}Invalid ID!" 0xFFFFFF
- end
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ground: {FFFFFF}/tb.ground <ID>" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.ground: {FFFFFF}Stuck someone's car on the ground!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :SLAG_CMD
- wait 0
- SAMP.IsCommandTyped(1@)
- if
- not Actor.Driving($PLAYER_ACTOR)
- then
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.slag: {FFFFFF}Producing stream lag.." 0xFFFFFF
- 0@ = 13
- else
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}tb.slag: {FFFFFF}You must be onfoot!" 0xFFFFFF
- end
- SAMP.CmdRet()
- jump @MAIN
- :PANIC_CMD
- wait 0
- 0@ = 0
- SAMP.CmdRet()
- jump @MAIN
- :CMDS
- wait 0
- 0AF8: samp add_message_to_chat "{FF0000}[TrollBoss] {FFFFFF}> {FF0000}Commands" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}-------------------------------------------------" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.cmds - {FFFFFF}Show all commands!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.panic - {FFFFFF}Stop everything!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.flip - {FFFFFF}Flip someone's car upside down!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.fly - {FFFFFF}Make someone's car fly away!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.fire - {FFFFFF}Put someone's car on fire!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.load - {FFFFFF}Throw someone to loading! (Supports 0.3.7 R1 client)" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.pop - {FFFFFF}Pop a car's tires!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.color - {FFFFFF}Change someone's car color!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.ocean - {FFFFFF}Teleport someone's car to the ocean!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.jack - {FFFFFF}Jack someone's car!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.tpto - {FFFFFF}Teleport your target to another player!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.heaven - {FFFFFF}Teleport someone's car REALLY REALLY high!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.kick - {FFFFFF}Kick someone far away!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.ground - {FFFFFF}Stuck someone's car on the ground!" 0xFFFFFF
- 0AF8: samp add_message_to_chat "{FF0000}/tb.slag - {FFFFFF}Produce stream lag!" 0xFFFFFF
- SAMP.CmdRet()
- //-------------------------------COMMANDS-------------------------
- //-------------------------------SNIPPETS-------------------------
- :SendUnOccupiedVehicleSync
- 7@ = SAMP.GetSAMPVehicleIDByCarHandle(0@)
- Car.PutAt(0@, 1@, 2@, 3@)
- alloc 4@ 67
- 0C0D: struct 4@ offset 0 size 2 = 7@
- 0C0D: struct 4@ offset 2 size 1 = 1
- 0C0D: struct 4@ offset 3 size 4 = -1.0
- 0C0D: struct 4@ offset 7 size 4 = -0.01
- 0C0D: struct 4@ offset 11 size 4 = 0.05
- 0C0D: struct 4@ offset 15 size 4 = 0.09
- 0C0D: struct 4@ offset 19 size 4 = -1.0
- 0C0D: struct 4@ offset 23 size 4 = 0.02
- 0C0D: struct 4@ offset 27 size 4 = 1@
- 0C0D: struct 4@ offset 31 size 4 = 2@
- 0C0D: struct 4@ offset 35 size 4 = 3@
- 0C0D: struct 4@ offset 39 size 4 = 0.0
- 0C0D: struct 4@ offset 43 size 4 = 0.0
- 0C0D: struct 4@ offset 47 size 4 = 400.0
- 0C0D: struct 4@ offset 51 size 4 = 0.0
- 0C0D: struct 4@ offset 55 size 4 = 0.0
- 0C0D: struct 4@ offset 59 size 4 = 0.0
- 0C0D: struct 4@ offset 63 size 4 = 1000.0
- 5@ = RakNet.NewBitStream()
- Raknet.Write(5@, 209, BS_TYPE_BYTE, 1)
- Raknet.Write(5@, 4@, BS_TYPE_ARRAY, 67)
- RakNet.LiteSend(5@)
- RakNet.DeleteBitStream(5@)
- free 4@
- ret 0
- //-------------------------------SNIPPETS-------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement