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
help me fix my code
I want the integer value obtained from the dialogue to be equal to or greater than 0 and less than 99000 as you can see my code does not work
I'm not very good at this if someone expert can fix the code to make it work well
{$CLEO .cs}
0000: NOP
while true
wait 0...
How do I make the text entered in the dialog appear in the chat
or how do I store the text of the dialogue in a variable someone knows
/// dialog_style_input
{$CLEO .cs}
0000: NOP
repeat
wait 0
until SAMP.Available()
0B34: samp register_client_command "sgt" to_label @cmd_mycmd
while...
I want to do something like a chronometer that counts the minutes after scanning the text in the chat even if the game is in pause keep counting the time
how can I do it?
with server time
0AC8: 2@ = allocate_memory_size 260
while true
wait 0
0AB1: call...
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]
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]
How can I write more than 16 bytes of text?
:cmd
0B35: samp 0@ = get_last_command_params
if
0AD4: 0@ = scan_string 0@ format "18+49 %s" 6@v
then
0AF1: write_int 18 to_ini_file "cleo\config.ini" section "Settings" key "intkey1"
0AF1: write_int 49 to_ini_file "cleo\config.ini" section "Settings"...
If the player takes the pickup continue down ..
that opcode is available which is ?
{$CLEO}
0000:
repeat
wait 0
until player.Defined($PLAYER_ACTOR)
while true
wait 0
if
0AB0: key_pressed 51
then
0213: 0@ = create_pickup 1318 type 3 at 2001.8024 -1445.972 13.5612
if
opcode for if the actor...
because the client command "build player" does not work try with a shorter command and if it works how can I make the command work with spaces
{$CLEO}
0000:
repeat
wait 100
until 0AFA: is_samp_available
Model.Load(#ARMY)
Model.Load(#M4)
038B: load_requested_models
0B34: samp...
resize the object
what is the opcode to resize the object?
{$CLEO .cs}
THREAD 'ABASDKJ'
:noname_13
wait 0
00D6: if and
0256: player $PLAYER_ACTOR defined
0ADC: test_cheat "SPC"
jf @noname_13
018C: play_sound 1052 at 0.0 0.0 0.0
0ACD: show_text_highpriority "Obect set 18948"...
sanny builder code to put objects to the player like the one seen in the image
here the cleo to put the object http://www.mediafire.com/file/2edemud71alqdc2/loro.cs
the problem is that the cleo is encrypted
I want the uncrypted code or how I put an object of this to the player...
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.