- 4,794
- 6,468
Скрипт защищает от скрипта кикающего Вас через пустой кар. На арп бесполезен, т.к. кикер на них фикс!
Для активации/деактивации введите в чат команду /Antikicker
Скачать готовый
PHP:
{$CLEO .cs}
{$include includes\RakNetDefines.txt}
0000: NOP
wait 20000
:Label2
0001: wait 400 ms
0AFA: is_samp_load
004D: jump_if_false @Label2
wait 0
0B2E: 28@ = read_samp_memory offset 0x14480 size 2
0B2E: 29@ = read_samp_memory offset 0x6060 size 1
0AF8: samp msg "Àíòè-êèêåð ïîäãðóæåí." color 53576
0B34: samp register_client_command "Antikicker" to_label @on
:_
wait 0
jump @_
:0
wait 0
0B2D: write_samp_memory offset 0x14480 value 28@ size 2
0B2D: write_samp_memory offset 0x6060 value 29@ size 1
if
80DF: not actor $PLAYER_ACTOR driving
jf @1
00A0: store_actor $PLAYER_ACTOR position_to 0@ 1@ 2@
3@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
3@ = SAMP.GetPlayerStruct(3@)
3@ += 109
0AC8: 4@ = allocate_memory_size 68
0C10: memcpy destination 4@ source 3@ size 68
0C0D: struct 4@ offset 38 size 4 = 0@
0C0D: struct 4@ offset 42 size 4 = 1@
0C0D: struct 4@ offset 46 size 4 = 2@
0B3D: raknet 5@ = new_bit_stream
0B40: raknet bit_stream 5@ write PACKET_PLAYER_SYNC type BS_TYPE_BYTE size 1
0B40: raknet bit_stream 5@ write 4@ type BS_TYPE_ARRAY size 68
0B42: raknet send bit_stream 5@ priority PRIORITY_HIGH reliability UNRELIABLE_SEQUENCED ordering_channel 0
0B3E: raknet delete_bit_stream 5@
0AC9: free_allocated_memory 4@
jump @2
:1
wait 0
03C0: 7@ = actor $PLAYER_ACTOR car
0B2C: samp 3@ = get_vehicle_id_by_car_handle 7@
00A0: store_actor $PLAYER_ACTOR position_to 0@ 1@ 2@
4@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
4@ = SAMP.GetPlayerStruct(5@)
4@ += 177
0AC8: 5@ = allocate_memory_size 63
0C10: memcpy destination 5@ source 4@ size 63
0C0D: struct 5@ offset 0 size 2 = 3@
0C0D: struct 5@ offset 36 size 4 = 0@
0C0D: struct 5@ offset 40 size 4 = 1@
0C0D: struct 5@ offset 44 size 4 = 2@
0B3D: raknet 6@ = new_bit_stream
0B40: raknet bit_stream 6@ write PACKET_VEHICLE_SYNC type BS_TYPE_BYTE size 1
0B40: raknet bit_stream 6@ write 5@ type BS_TYPE_ARRAY size 63
0B42: raknet send bit_stream 6@ priority PRIORITY_HIGH reliability UNRELIABLE_SEQUENCED ordering_channel 0
0B3E: raknet delete_bit_stream 6@
0AC9: free_allocated_memory 5@
046C: 8@ = car 7@ driver
if
80DB: actor 8@ in_car 7@
jf @2
0B2D: write_samp_memory offset 0x14480 value 0xC390 size 2
0B2D: write_samp_memory offset 0x6060 value 0xC3 size 1
:2
wait 50
00A0: store_actor $PLAYER_ACTOR position_to 10@ 11@ 12@
050A: 9@ = distance_between_XYZ 0@ 1@ 2@ and_XYZ 10@ 11@ 12@
if
9@ > 24.999
jf @3
00A1: put_actor $PLAYER_ACTOR 10@ 11@ 12@
04D7: set_actor $PLAYER_ACTOR locked 0
01B4: set_player $PLAYER_CHAR can_move 1
04E4: refresh_game_renderer_at 10@ 11@
02EB: restore_camera_with_jumpcut
0373: set_camera_directly_behind_player
:3
wait 0
if
00DF: actor $PLAYER_ACTOR driving
jf @0
jump @1
:on
0001: wait 0 ms
00D6: if
0039: 10@ == 0
004D: jump_if_false @off
0006: 10@ = 1
0ACD: show_text_highpriority "Antikicker ON" time 3000
0002: jump @0
:off
0001: wait 0 ms
0006: 10@ = 0
0ACD: show_text_highpriority "Antikicker OFF" time 3000
0002: jump @_
Скачать готовый