CLEO Help Reconnect Snippet?

CLEO related
Status
Not open for further replies.

minijackc123

New member
Joined
Feb 18, 2014
Messages
1
Reaction score
0
Hey guys im just making a clone from the DayZ weapon hack and i cant find out how to make itself reconnect to the server after the weapon was Given.
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
Here's a simple function.
Code:
:setgamestate
0AA2: 1@ = loadlib "samp.dll"
1@ += 0x212A80
0A8D: 2@ = read_memory 1@ size 4 vp 0
2@ += 0x190
0A8C: write_memory 2@ size 4 value 0@ vp 0
0AA3: 1@
0AB2: ret 0

Or you can use
Code:
0B28: samp disconnect_with_reason 0
wait N ms
0B27: samp set_gamestate 1
 
Status
Not open for further replies.
Top