Отображает кол-во игроков в стриме в правом верхнем углу, не всегда точно и с медленным обновлением, но всё же :) Активация/деактивация: F5
PHP:
{$CLEO .cs}
0662: NOP "CLEO : Players In Stream"
0662: NOP "gcode: acheats.ru : blasthack.net"
thread "playersinstream"
if
8AF7: get_samp_base_to 33@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available
0B5A: get_screen_resolution 28@ 27@
28@ -= 50
/* Dialog Start */
0B80: samp 29@ = create_dialog ""
0B91: samp dialog 29@ add_static id 1 text "" pos_XY 28@ 20 size 30 20
0B86: samp dialog 29@ set_visible false
/* Dialog End */
while true
wait 0
0B2B: samp 24@ = get_player_id_by_actor_handle $PLAYER_ACTOR
0AC8: 27@ = allocate_memory_size 32
0AD3: 27@ = format "%d" 26@
26@ = 0
0B94: samp dialog 29@ set_control 1 text_to 27@
0AC9: free_allocated_memory 27@
for 28@ = 0 to 999
wait 0
if
003B: 28@ == 24@
then
Continue
end
if
0B23: samp is_player_connected 28@
then
if
0B20: samp 27@ = actor_handle_from_samp_playerid 28@
then
Actor.StorePos(27@,25@,24@,23@)
if or
not 25@ == 0.0
not 24@ == 0.0
not 23@ == 0.0
then
26@ += 1
end
end
end
if
0AB0: key_pressed 116
then
if
30@ == 0
then
30@ = 1
0B86: samp dialog 29@ set_visible true
else
30@ = 0
0B86: samp dialog 29@ set_visible false
end
repeat
wait 0
until 8AB0: not key_pressed 116
end
end
end