CLEO Help samp add_message_to_chat colors

CLEO related
Status
Not open for further replies.

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
Can anyone tell me what's the code for white please?
0AF8: samp add_message_to_chat "A" color WHITE
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
Thanks.
One more question, why do I get crashed? Did I do something wrong?
GTA SA V1.0 US
SAMPFUNCS 2.6
SAMP 0.3X RC1
CLEO 4.1
[20:40:46] {FFFFFF}SA-MP {B9C9BF}0.3x {FFFFFF}Started

[20:40:46] > ================================== <

[20:40:46]

[20:40:46] > SAMPFUNCS v2.6 for 0.3x SUCCESSFULLY LOADED!

[20:40:46] > Authors: FYP, MogAika

[20:40:46]

[20:40:46] > BlastHack © 2013

[20:40:46] > Website: http://blasthack.net

[20:40:46]

[20:40:46] > ================================== <

[20:40:49] Connecting to 89.33.242.95:7777...

[20:40:49] Connected. Joining the game...

[20:40:55] Connected to {B9C9BF}B-Zone: RPG Server 1 [0.3x]

[20:41:03] A

[20:41:03] Warning(s007): Exception 0xC0000005 at 0x0

[20:41:03] Warning(s007): Exception 0xC0000005 at 0x0

[20:41:03] Warning(s007): Exception 0xC0000005 at 0x0

[20:41:03] Warning(s007): Exception 0xC0000005 at 0x0

[20:41:03] Warning(s007): Exception 0xC0000005 at 0x0

[20:41:03] Warning(s007): Exception 0xC0000005 at 0x0

[20:41:03] Warning(s007): Exception 0xC0000005 at 0x0

[20:41:03] Warning(s007): Exception 0xC0000005 at 0x0

[20:41:03] Warning(s007): Exception 0xC0000005 at 0x0

[20:41:03] Warning(s007): Exception 0xC0000005 at 0x0

[20:41:03] Warning(s007): Exception 0xC0000005 at 0x0

--------------------------------------------------------------------------------------------------------------------------------

{$VERSION 3.1.0027}
{$CLEO .cs}

thread 'CHAT'

if
8AF7: get_samp_base_to 29@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available

:CHAT_01
wait 0
if
0AB0: key_pressed 123
else_jump @CHAT_01
0AF8: samp add_message_to_chat "A" color FFFFFF
jump @CHAT_01
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
change
0AF8: samp add_message_to_chat "A" color FFFFFF
to
0AF8: samp add_message_to_chat "A" color 0xFFFFFF
Thanks upcud, I don't get crashed anymore.
But why are the letters capital?

Code:
0AF8: samp add_message_to_chat "test abc 123" color 0xFFFFFF - not capital letters
wait 1000

rbamKox.png
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
8
In sanny builder, press F10, click on the "Format" tab, see the bottom right corner, choose "As is", and compile the cleo again.
 
Status
Not open for further replies.
Top