pepeelpubero
Well-known member
- Joined
- Jan 21, 2014
- Messages
- 433
- Reaction score
- 1
I'm trying to change the color on a render text but i cant.
I have this: 0xFFF00000 = red color
I know that is hex code but when i change it on the CLEO, the text doesn't appears. I use a colour creator for pawno, they are the same i think.
For example i change on the program to green colour, and i have this:
0x00FF00FF = green color
But when i change that on the code the text doesn't appear.
I have this: 0xFFF00000 = red color
I know that is hex code but when i change it on the CLEO, the text doesn't appears. I use a colour creator for pawno, they are the same i think.
For example i change on the program to green colour, and i have this:
0x00FF00FF = green color
But when i change that on the code the text doesn't appear.
Code:
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP IS READY
0B6D: 31@ CREATE_FONT "BigText" HEIGHT 20 FLAGS 0x4
10@ = 400
11@ = 400
WHILE TRUE
WAIT 0
0AC8: 0@ = allocate_memory_size 260
0209: 1@ = random_int_in_ranges 1 9999
0AD3: 0@ = "PEPEELPUBERO %d" 1@
0B6F: FONT 31@ draw_text 0@ pos 10@ 11@ color 0x00FF00FF
0AC9: free_allocated_memory 0@
IF
0B21: samp is_chat_opened
THEN
0B5E: get_cursor_pos 10@ 11@
0AD1: show_formatted_text_highpriority "TEXTPOS: %d x %d" time 100 10@ 11@
END
END