Souma
Member
- Joined
- May 17, 2014
- Messages
- 9
- Reaction score
- 0
Hello Hackers ! :me_gusta:
Im working for a big cleo hack , but this part crash when i use it ,its tp to player , i try fix it but nothing , can someone of The Pro in opcods fix this and find the wrong ?! Sampfuncs needed... :computer_guy:
_____________________________________________________________________________
thread "tpto"
if
8AF7: get_samp_base_to 30@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available
0B34: samp register_client_command "tpto" to_label @GOTO
while true
:LOL
wait 0
1@ == 9999
jump [member=179]lol[/member]
:GOTO
wait 0
0@ = samp.RegisterClientCommand()
0AD4: 4@ = scan_string 0@ format "%d" 1@ //IF and SET
if
not 0@ == 9999
jf @GOTOusage
10@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
if
803B: not 1@ == 10@
jf @GOTObad
if
SAMP.IsPlayerConnected(1@)
jf @GOTObad
0B2F: samp get_streamed_out_player_pos 1@ to 2@ 3@ 4@
Actor.PutAt($PLAYER_ACTOR, 2@, 3@, 4@)
0B20: samp 8@ = actor_handle_from_samp_playerid 1@
0B36: samp 22@ = get_player_nickname 1@
if
056D: actor 8@ defined
jf @GOTO2ndstage
04C4: store_coords_to 2@ 3@ 4@ from_actor 8@ with_offset 0.0 -1.0 -1.0
7@ = Actor.Angle(8@)
Actor.PutAt($PLAYER_ACTOR, 2@, 3@, 4@)
Actor.Angle($PLAYER_ACTOR) = 7@
0AF8: samp add_message_to_chat "[E4]Teleported to '%s' ID '%d'" color 0x33FF00 22@ 1@
Actor.RemoveReferences(8@)
jump [member=179]lol[/member]
:GOTO2ndstage
wait 0
0AF8: samp add_message_to_chat "[E4]Teleported to '%s' ID '%d'" color 0x33FF00 22@ 1@
Actor.RemoveReferences(8@)
jump [member=179]lol[/member]
:GOTObad
wait 0
0AF8: samp add_message_to_chat "[E4] the player is not connected" color 0xCC0000
jump [member=179]lol[/member]
:GOTOusage
wait 0
0AF8: samp add_message_to_chat "[E4]USAGE: /tpto <id>" color 0xCC0000
jump [member=179]lol[/member]
______________________________________________________________________________
Im working for a big cleo hack , but this part crash when i use it ,its tp to player , i try fix it but nothing , can someone of The Pro in opcods fix this and find the wrong ?! Sampfuncs needed... :computer_guy:
_____________________________________________________________________________
thread "tpto"
if
8AF7: get_samp_base_to 30@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available
0B34: samp register_client_command "tpto" to_label @GOTO
while true
:LOL
wait 0
1@ == 9999
jump [member=179]lol[/member]
:GOTO
wait 0
0@ = samp.RegisterClientCommand()
0AD4: 4@ = scan_string 0@ format "%d" 1@ //IF and SET
if
not 0@ == 9999
jf @GOTOusage
10@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
if
803B: not 1@ == 10@
jf @GOTObad
if
SAMP.IsPlayerConnected(1@)
jf @GOTObad
0B2F: samp get_streamed_out_player_pos 1@ to 2@ 3@ 4@
Actor.PutAt($PLAYER_ACTOR, 2@, 3@, 4@)
0B20: samp 8@ = actor_handle_from_samp_playerid 1@
0B36: samp 22@ = get_player_nickname 1@
if
056D: actor 8@ defined
jf @GOTO2ndstage
04C4: store_coords_to 2@ 3@ 4@ from_actor 8@ with_offset 0.0 -1.0 -1.0
7@ = Actor.Angle(8@)
Actor.PutAt($PLAYER_ACTOR, 2@, 3@, 4@)
Actor.Angle($PLAYER_ACTOR) = 7@
0AF8: samp add_message_to_chat "[E4]Teleported to '%s' ID '%d'" color 0x33FF00 22@ 1@
Actor.RemoveReferences(8@)
jump [member=179]lol[/member]
:GOTO2ndstage
wait 0
0AF8: samp add_message_to_chat "[E4]Teleported to '%s' ID '%d'" color 0x33FF00 22@ 1@
Actor.RemoveReferences(8@)
jump [member=179]lol[/member]
:GOTObad
wait 0
0AF8: samp add_message_to_chat "[E4] the player is not connected" color 0xCC0000
jump [member=179]lol[/member]
:GOTOusage
wait 0
0AF8: samp add_message_to_chat "[E4]USAGE: /tpto <id>" color 0xCC0000
jump [member=179]lol[/member]
______________________________________________________________________________