CLEO Help Private messages to everyone

CLEO related
Status
Not open for further replies.

Papiezator

New member
Joined
Aug 3, 2015
Messages
2
Reaction score
0
Hello everyone, i have a problem with my script
Code:
{$CLEO}
0000:
thread "uhe"

0B34: samp register_client_command "podrabiaj" to_label [member=13292]Nick[/member]
1@ = 0
:WOOP
wait 0  
jump @WOOP

:NICK   

say "/w " 1@ " MESSAGE HERE"
  1@ += 1
       
Samp.CmdRet()
at first after typing /podrabianie it should send private message to id:0,  then to id:1 etc.. it doesn't work it keeps crashing me, what is wrong? how do I put variable 1@ in the middle of string?

thanks in advance
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,492
Reaction score
236
Location
( ͡° ͜ʖ ͡°)
Code:
{$CLEO .cs}
0000:


REPEAT
    WAIT 0
UNTIL 0AFA:  SAMP_IS_READY
0B34: "SPAM" @SPAM


WHILE TRUE
    WAIT 0
    IF
    0@ == TRUE
    THEN
        FOR 1@ = 0 TO 1000
            IF
            0B23:  samp is_player_connected 1@
            THEN
                0AF9: samp say_msg "/w %d MessageLOL" 1@
                WAIT 500
            END
        END
        0@ = FALSE
    END
END


:SPAM
0@ = TRUE
0B43: CMD_RET
 
Status
Not open for further replies.
Top