Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$CLEO .cs}
- thread "Rejoin + Change NickName"
- 0662: NOP "Made by FYP"
- const
- self = $PLAYER_ACTOR
- VK_RCONTROL = 0xA3
- VK_KEY_3 = 0x33
- VK_KEY_4 = 0x34
- SAMP_BASE = 29@
- DISCONNECT_QUIT = 0
- DISCONNECT_TIMEOUT = 1
- GAMESTATE_NONE = 0
- GAMESTATE_WAIT_CONNECT = 1
- GAMESTATE_AWAIT_JOIN = 2
- GAMESTATE_CONNECTING = 3
- GAMESTATE_CONNECTED = 4
- GAMESTATE_RESTARTING = 5
- GAMESTATE_DISCONNECTED = 6
- TIME_RECONNECT = 15
- end
- if
- 8AF7: get_samp_base_to SAMP_BASE
- then
- 0A93: end_custom_thread
- end
- repeat
- wait 400
- until 0AFA: is_samp_structures_available
- // ================================== MAIN ================================== //
- while true
- wait 0
- if and
- player.Defined(0)
- 8B21: not samp is_chat_not_opened
- 0AB0: VK_RCONTROL
- then
- if 0AB0: VK_KEY_3
- then
- 0B28: samp disconnect_with_reason DISCONNECT_QUIT
- wait TIME_RECONNECT
- 0B27: samp set_gamestate GAMESTATE_WAIT_CONNECT
- repeat
- wait 20
- until 8AB0: VK_KEY_3
- else if 0AB0: VK_KEY_4
- then
- 0209: 1@ = random_int_in_ranges 65 91 // A-Z
- 0B29: samp set_local_name "BlastHack.Net[%c]" 1@
- 0AF8: samp add_message_to_chat "[SF]: New NickName BlastHack.Net[%c]" color 0x00DD00 1@
- 0B28: samp disconnect_with_reason DISCONNECT_TIMEOUT
- 0B27: samp set_gamestate GAMESTATE_WAIT_CONNECT
- repeat
- wait 20
- until 8AB0: VK_KEY_4
- end
- end
- end
- end
- // ============================== END OF MAIN ============================== //
Advertisement
Add Comment
Please, Sign In to add comment