CLEO Help Print text in SA-MP chat during server connect

CLEO related
Status
Not open for further replies.

SiraBots

Active member
Joined
Aug 11, 2013
Messages
50
Reaction score
0
Location
Norway
Hey.
I want my script to say "Psykotikum loaded" during the SA-MP server connect, but I can't get it to work. How can I do this?

Example: In the 0.3.7 wallhack, the script says "WallHack Plus 0.3.7 - UGBASE.EU"
JIs4UlN.png


Thanks in advance.
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,734
Solutions
2
Reaction score
117
At the top of the script where it says "thread" "nop" or what not you can add this to the top of the script.

Code:
0AF8: samp add_message_to_chat 1@ color 2@

So basically as soon as your script is loaded into the game it will display the message.
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,734
Solutions
2
Reaction score
117
replace 1@ with our text and 2@ with your color code for example 0xFF0000 is red you can find em on www.colorpicker.com

example :

Code:
0AF8: samp add_message_to_chat "Test" color 0xFF0000
 
Status
Not open for further replies.
Top