Скрипт не хайдит полоски с хп автоматический при заходе в игру, в чем проблема?
Код:
{$CLEO}
{$USE bitwise}
0000:
repeat
wait 0
until 0AFA:
0B34: samp register_client_command "dhp" to_label @DisableHP
While true
wait 0
end
:DisableHP
wait 0
0B12: 0@ = 0@ XOR 1
if
0@ == 1
then
0AF8: samp add_message_to_chat "{E3EB09}[DHP]: {FFFFFF}Disable HP is now {27F227}ON{FFFFFF}!" color -1
0B2E: 1@ = read_samp_memory offset 0x6FC30 size 2
0B2D: write_samp_memory offset 0x6FC30 value 0xC390 size 2
else
0AF8: samp add_message_to_chat "{E3EB09}[DHP]: {FFFFFF}Disable HP is now {F51B1F}OFF{FFFFFF}!" color -1
0B2D: write_samp_memory offset 0x6FC30 value 1@ size 2
end
0B43: samp cmd_ret