help with code

Status
Not open for further replies.

Erlandokaz

Member
Joined
Jun 5, 2018
Messages
9
Reaction score
0
So i'm not a coder, but i managed to change up something to make me on a "GOD MODE" when i press "Q", but there is no way to turning it off so i cant accidentally turn it on.

Can anyone help me to make it if you write /blood (in chat) it can turn on/off. thanks for help

Code:
{$CLEO .cs}
thread "INV"
:16
wait 0
key_down 81
8B21: not  samp is_chat_opened
jf @16
wait 1000

:99
wait 0
key_down 81
8B21: not  samp is_chat_opened
jf @99
wait 0
Actor.SetImmunities($PLAYER_ACTOR, 1, 1, 1, 1, 1)
0A8C: write_memory 4928287 size 6 value -1869574000 virtual_protect 1

:149
wait 0
not key_down 81
8B21: not  samp is_chat_opened
jf @149
Actor.SetImmunities($PLAYER_ACTOR, 0, 0, 0, 0, 0)
wait 1000
0@ = 137
0A8C: write_memory 4928287 size 1 value 0@ virtual_protect 1
0@ = 150
0A8C: write_memory 4928288 size 1 value 0@ virtual_protect 1
0@ = 64
0A8C: write_memory 4928289 size 1 value 0@ virtual_protect 1
0@ = 5
0A8C: write_memory 4928290 size 1 value 0@ virtual_protect 1
0@ = 0
0A8C: write_memory 4928291 size 1 value 0@ virtual_protect 1
0@ = 0
0A8C: write_memory 4928292 size 1 value 0@ virtual_protect 1

:377
wait 0
key_down 81
8B21: not  samp is_chat_opened
jf @377
jump @16
 
Status
Not open for further replies.
Top