- 49
- 5
Я крч сделал так xDпримерно вдуплил. ясна
CLEO:
// Добавил
0B34: samp register_client_command "fpson" to_label @fpson
0B34: samp register_client_command "fpsoff" to_label @fpsoff
// При вводе команды /fpson включается фпс
repeat
wait 0
if 0@ == true
then
wait 0
2@ = 30
:NONAME_11
wait 0
1@ = 0
32@ = 0
:NONAME_29
wait 0
1@ += 1
03F0: enable_text_draw 1
0342: set_text_draw_centered 1
0340: set_text_draw_RGBA 180 180 180 255
045A: draw_text_1number 630.0 434.0 GXT 'NUMBER' number 2@ // ~1~
if
32@ > 999
else_jump @NONAME_29
03F0: enable_text_draw 1
0342: set_text_draw_centered 1
0340: set_text_draw_RGBA 180 180 180 255
045A: draw_text_1number 630.0 434.0 GXT 'NUMBER' number 1@ // ~1~
0085: 2@ = 1@ // (int)
jump @NONAME_11
end
until false
:fpson
0B12: 0@ = 0 XOR 1
SAMP.CmdRet()
// При вводе /fpsoff и изменил кординаты показателя ФПС . Фпс показывается где-то за экраном xD
:fpsoff
wait 0
2@ = 30
:NONAME_9
wait 0
1@ = 0
32@ = 0
:NONAME_10
wait 0
1@ += 1
03F0: enable_text_draw 1
0342: set_text_draw_centered 1
0340: set_text_draw_RGBA 180 180 180 255
045A: draw_text_1number 1000.0 1000.0 GXT 'NUMBER' number 2@ // ~1~
if
32@ > 999
else_jump @NONAME_10
03F0: enable_text_draw 1
0342: set_text_draw_centered 1
0340: set_text_draw_RGBA 180 180 180 255
045A: draw_text_1number 1000.0 1000.0 GXT 'NUMBER' number 1@ // ~1~
0085: 2@ = 1@ // (int)
jump @NONAME_9