This cleo disconnects you from the server you are connected to if the player's life goes down more than 10 :D
requirements
cleo 4 and sampfuncs 5.3.3
activation /desactivation
type nodie // cheat code
[attachment=5164]
With this cleo, it will automatically disconnect from the server if the player's life equals 10 or less
Activate/deactivate
cheat code= nodie
Update 23.11.2017
Added file 10hp-d.ini to configure
Source code: https://pastebin.com/EuFPpL8n
[attachment=5169]
why does not compare the text of the variable $p_name with the file 2@
alloc $p_name 50
0AC8: 14@ = allocate_memory_size 256
if
0A9A: 0@ = openfile "cleo\names.txt" mode "r"
then
wait 100
0AC8: 2@ = allocate_memory_size 4096...
example
alloc 1@ 32
while true
wait 0
for 0@ = 0 to 1000
if 0B23: samp is_player_connected 0@
then
0B36: samp 1@ = get_player_nickname 0@
if
// nickname contains the...
can someone tell me where the error is
code
chatlog
[19:51:28] Excellent delivery! Your earnings are: {00CC00}$2250{FFFFFF} and {FF3300} 7 pieces{FFFFFF} to create weapons.
{$CLEO .cs}
0000: NOP
alloc 2@ 280
while true
wait 0
if or
00DD: actor $PLAYER_ACTOR driving_car_with_model #YANKEE...
I need the code or cleo incardata 0.3.7 r1
some pass it to me
it's like this
0B2E: 3@ = read_samp_memory offset 0x4D10 size 1
0B2D: write_samp_memory offset 0x4D10 value 0xC3 size 1
a code to let me know when minutes have passed from the game time someone could pass it to me
I'm not very good with this
{$CLEO .cs}
0000: NOP
while true
wait 0
00BF: 27@ = current_time_hours, 27@ = current_time_minutes
if
then
chatmsg "6" -1
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.