I have tried the "Player List" cleo on servers such as Freeroam and DM's and the cleo works correctly, it shows all the players in the list with the tracking lines.
This cleo do visible the name of the people who appears in Ped Slots Used, but it doesn't work when the player is invisible to the radar or have "blocked tag"
But when I want to access a RolePlay server, the cleo just doesn't work, it doesn't show anything
I want to know if is it possible to do this cleo works when the people is invisible to the radar.
Any possible help is welcome, thanks
This cleo do visible the name of the people who appears in Ped Slots Used, but it doesn't work when the player is invisible to the radar or have "blocked tag"
But when I want to access a RolePlay server, the cleo just doesn't work, it doesn't show anything
I want to know if is it possible to do this cleo works when the people is invisible to the radar.
Any possible help is welcome, thanks
CLEO:
{$CLEO .cs}
0000: NOP
0662: "PopandauL"
thread '$PopandauL'
if
8AF7: get_samp_base_to 33@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available
wait 0
26@ = 0
0B6D: render 0@ = create_font "Arial" height 9 flags 0x04
0B34: samp register_client_command "togpl" to_label @toggle
0B34: samp register_client_command "fstop" to_label @endthread
while true
wait 0
if and
26@ == 1
Player.Defined($PLAYER_ACTOR)
02CB: actor $PLAYER_ACTOR bounding_sphere_visible
then
1@ = 325
16@ = 0
for 30@ = 0 to 1000
if
0B23: samp is_player_connected 30@
then
if
0B20: samp 31@ = actor_handle_by_samp_player_id 30@
then
if
803C: $PLAYER_ACTOR == 31@
then
16@ += 1
15@ = 45
0085: 17@ = 16@
17@ /= 20
17@ *= 225
005A: 15@ += 17@
if or
16@ == 20
16@ == 40
16@ == 60
16@ == 80
16@ == 100
16@ == 120
then
1@ = 325
end
1@ += 14
if 120 >= 16@
then
04C4: store_coords_to 9@ 10@ 11@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
04C4: store_coords_to 12@ 13@ 14@ from_actor 31@ with_offset 0.0 0.0 0.0
050A: 17@ = distance_between_XYZ 9@ 10@ 11@ and_XYZ 12@ 13@ 14@
0B55: convert_3D_coords 9@ 10@ 11@ to_screen 5@ 6@
0B55: convert_3D_coords 12 @ 13 @ 14 @ to_screen 7 @ 8 @
0B2B: samp 2 @ = get_player_id_by_actor_handle 31 @
0B36: samp 3 @ = get_player_nickname 2 @
0B37: samp 4 @ = get_player_color 2 @
0AC8: 20 @ = 256
0AD3: 20 @ = "% s [% 0.2f]" 3 @ 17 @
0B6F: render font 0 @ draw_text 20 @ pos 15 @ 1 @ color 4 @
0AC9: 20 @
end
if and
02CB: actor 31 @ bounding_sphere_visible
803C: $ PLAYER_ACTOR == 31 @
8118: actor 31 @ dead
then
0B68: render draw_line_point1 5 @ 6 @ point2 7 @ 8 @ width 1 color 4 @
end
end
end
end
end
end
end
: toggle
wait 0
0B12: 26 @ = 26 @ XOR 1
if 26 @ == 1
then
0AD1: show_formatted_text_highpriority "~ w ~ Player List ~ g ~ Activated ~ w ~" time 1200
else
0AD1: show_formatted_text_highpriority "~ w ~ Player List ~ r ~ Deactivated ~ w ~" time 1200
end
Samp.CmdRet ()
: endthread
wait 0
0A93: end_custom_thread
Samp.CmdRet () [/ CODE]
Вложения
Последнее редактирование: