diva
Известный
- 248
- 47
i don't know why when i type nodie cleo mod is activate but when i have in game 50hp i dont auto-disconnect and reconnect in game just die and respawn without gun ? please help here code
CLEO:
0000:
0662: printstring "Made by Noob213"
0662: printstring "For ugbase.eu"
0@ = 0
var
4@: int
5@: int
end // var
while not samp.Available()
wait 400
end
while true
wait 0
if
0ADC: test_cheat "nodie"
then
if
0@ == 0
then
0@ = 1
0AD1: show_formatted_text_highpriority "~g~NODIE ON" time 1500
wait 200
else
0@ = 0
0AD1: show_formatted_text_highpriority "~r~NODIE OFF" time 1500
wait 200
end
end
if
0@ == 1
then
0AF0: 5@ = get_int_from_ini_file "cleo\10hp-d.ini" section "Settings" key "HP"
0226: 4@ = actor $PLAYER_ACTOR health
if
4@ <= 5@
then
0B28: samp disconnect_with_reason 0
wait 2500
0223: set_actor $PLAYER_ACTOR health_to 100
wait 1000
0B27: samp set_gamestate 1
end
end
Последнее редактирование модератором: