CLEO Help Add samp chat msg to all streamed players

CLEO related
Status
Not open for further replies.

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
So , i want know.. possible add samp msg to all streamed players?
I mean like this.:
0AF8: samp add_message_to_chat 1@ color 2@
this msg must see all streamed players..

else

Maybe know how to make Anti-uncoupling trailer cleo ?
And Anti-uncoupling trailer when teleporting with truck ?


Thanks for answers..

@monday
@springfield
@supahdupahnubah
@Opcode.eXe
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
0AF8 is not synced and will show message to you only.

First run a for loop for 0 to 1000 and check if that matches to any sa-mp player ids and if it does then /pm them via 0af9
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Every server has some sort of private message command, find it and use it via 0af9.


Code:
{$CLEO}

THREAD "SAY"

REPEAT
WAIT 0
UNTIL SAMP.Available()

WHILE TRUE
WAIT 0
        FOR 0@ = 0 TO 1000
            IF
                0B20: 1@ = 0@
            THEN
                SAY "/PM %d Hi there!" 0@
            END
        END
END
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
Me destination is send msg when me nick name not see in msg text...
So i say again need like this.:
0AF8: samp add_message_to_chat 1@ color 2@
But must see streamed player etc..
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Not possible with 0af8, you will need to find another way if that's possible without sending the nick
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
273
As said above, you can't. Your only option is to use something like pm/sms, but even so, the server will format your message, and or limit your messages count(spam).
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Maybe you can succeed without sampfuncs and by sending messages via memory hacking and enlisting custom parameters - http://ugbase.eu/Thread-SNIPPET-Write-in-chat-without-SFUNCS-0AF8-0AF9
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
springfield said:
As said above, you can't. Your only option is to use something like pm/sms, but even so, the server will format your message, and or limit your messages count(spam).

Maybe know how to make Anti-uncoupling trailer cleo ?
And Anti-uncoupling trailer when teleporting with truck ?
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
11
Parazitas said:
springfield said:
As said above, you can't. Your only option is to use something like pm/sms, but even so, the server will format your message, and or limit your messages count(spam).

Maybe know how to make Anti-uncoupling trailer cleo ?
And Anti-uncoupling trailer when teleporting with truck ?

i guess it will be useless since s0beit has got a function for it
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Will not work for teleporting because when you teleport, you only tp with the truck not with the trailer, so it will get unattached.
 

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
11
0B36 said:
Will not work for teleporting because when you teleport, you only tp with the truck not with the trailer, so it will get unattached.

it was worked for me while i using cp syncer. just activate keep trailers attached, syncer is not actually teleporting you in your screen so it willl work.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
That's sending fake teleporting sync, you're not actually teleporting but you're sending fake position sync. I made that CLEO with that intent as a workaround for those who lose their trailers as a result of teleporting. You can deactivate keep trailers attached and it will still work because you're not physically teleporting.
 
Status
Not open for further replies.
Top