Hey,
i tried to change the key of desync.cleo, heres the code:
When I changed the activation to my key (0x74 is my key => F5), and when I try to compile it says that SF couldnt be found..
I read something about remove the line with include sf, but when I do this, it gives me another compile error "incorrect directive: samp.available"...
Can someone help me?
i tried to change the key of desync.cleo, heres the code:
Code:
{$CLEO .cs}
{$INCLUDE SF}
0000:
repeat
wait 0
until samp.Available()
$desync = false
0BE4: raknet setup_incoming_packet_hook @InPacketHook
0BE3: raknet setup_incoming_rpc_hook @InRpcHook
while true
wait 0
if key_down 0x74
then
if $desync == true
then
$desync = false
wait 1500
else
$desync = true
wait 1500
end
end
end
:InRpcHook
wait 0
0BE5: raknet 0@ = get_hook_param PARAM_PACKETID
if 0@ == RPC_SCRSETPLAYERHEALTH
then
if $desync == true
then 0BE0: raknet hook_ret false
end
end
0BE0: raknet hook_ret true
:InPacketHook
wait 0
0BE5: raknet 0@ = get_hook_param PARAM_PACKETID
if or
0@ == PACKET_PLAYER_SYNC
0@ == PACKET_VEHICLE_SYNC
0@ == PACKET_PASSENGER_SYNC
0@ == PACKET_BULLET_SYNC
then
if $desync == true
then 0BE0: raknet hook_ret false
end
end
0BE0: raknet hook_ret true
I read something about remove the line with include sf, but when I do this, it gives me another compile error "incorrect directive: samp.available"...
Can someone help me?