Hello, i want to make a mod like that https://www.youtube.com/watch?v=GPeoRFHuLtQ anyone can help me? I don't know how to change the memory color.
Thank you!
Thank you!
Rebo link said:Thanks a lot, but I have a misunderstanding how can i find that the "textdraw id (0@)"? <<0C52: samp textdraw 0@ set_letter_size 1@ 2@ color 3@>>
for 0@ = 0 to 3000
if 0C5D: samp textdraw 0@ is_exists
then 0C5A: samp textdraw 0@ get_string_to 1@
0AF8: show_msg "%d, %s" -1 0@ 1@
end
end
{$CLEO .cs}
0000: NOP
CONST
R = 2@
G = 3@
B = 4@
END
WHILE TRUE
WAIT 0
R = 255
G = 0
B = 0
FOR B = 0 TO 255
WAIT 0
0B67: render a 0xFF r 2@ g 3@ b 4@ to_argb 5@
GOSUB @paris
END
B = 255
FOR R = 255 DOWNTO 0
WAIT 0
0B67: render a 0xFF r 2@ g 3@ b 4@ to_argb 5@
GOSUB @color
END
R = 0
FOR G = 0 TO 255
WAIT 0
0B67: render a 0xFF r 2@ g 3@ b 4@ to_argb 5@
GOSUB @color
END
G = 255
FOR B = 255 DOWNTO 0
WAIT 0
0B67: render a 0xFF r 2@ g 3@ b 4@ to_argb 5@
GOSUB @color
END
B = 0
FOR R = 0 TO 255
WAIT 0
0B67: render a 0xFF r 2@ g 3@ b 4@ to_argb 5@
GOSUB @color
END
R = 255
FOR G = 255 DOWNTO 0
WAIT 0
0B67: render a 0xFF r 2@ g 3@ b 4@ to_argb 5@
GOSUB @color
END
G = 0
END
:color
While true
wait 100
if 0C5D: samp textdraw 2054 is_exists
then 0C52: samp textdraw 2054 set_letter_size 1051931410 1067030938 color 5@
end
end
0AF8: samp add_message_to_chat "%f %f %x" color 0xFFFFFFFF 1@ 2@ 3@
{$CLEO .cs}
0000: NOP
CONST
R = 1@
G = 2@
B = 3@
END
WHILE TRUE
WAIT 0
R = 255
G = 0
B = 0
FOR B = 0 TO 255
WAIT 0
GOSUB @color
END
B = 255
FOR R = 255 DOWNTO 0
WAIT 0
GOSUB @color
END
R = 0
FOR G = 0 TO 255
WAIT 0
GOSUB @color
END
G = 255
FOR B = 255 DOWNTO 0
WAIT 0
GOSUB @color
END
B = 0
FOR R = 0 TO 255
WAIT 0
GOSUB @color
END
R = 255
FOR G = 255 DOWNTO 0
WAIT 0
GOSUB @color
END
G = 0
END
:color
While true
wait 100
if 0C5D: samp textdraw 2054 is_exists
then 0B67: render a 0xFF r 1@ g 2@ b 3@ to_argb 5@
0C52: samp textdraw 2054 set_letter_size 0.349999 1.200000 color 5@
end
end
return
{$CLEO .cs}
0000: NOP
WHILE TRUE
WAIT 0
1@ = 255
2@ = 0
3@ = 0
FOR 3@ = 0 TO 255
WAIT 0
GOSUB @color
END
3@ = 255
FOR 1@ = 255 DOWNTO 0
WAIT 0
GOSUB @color
END
1@ = 0
FOR 2@ = 0 TO 255
WAIT 0
GOSUB @color
END
2@ = 255
FOR 3@ = 255 DOWNTO 0
WAIT 0
GOSUB @color
END
3@ = 0
FOR 1@ = 0 TO 255
WAIT 0
GOSUB @color
END
1@ = 255
FOR 2@ = 255 DOWNTO 0
WAIT 0
GOSUB @color
END
2@ = 0
END
:color
While true
wait 100
if 0C5D: samp textdraw 2054 is_exists
then 0B67: render a 1@ r 2@ g 3@ b 0xFF to_argb 5@
0C52: samp textdraw 2054 set_letter_size 0.349999 1.200000 color 5@
end
end
return
{$CLEO .cs}
0000: NOP
REPEAT
WAIT 100
UNTIL SAMP.Available()
WHILE TRUE
WAIT 0
1@ = 255
2@ = 0
3@ = 0
FOR 3@ = 0 TO 255
WAIT 0
GOSUB @color
END
3@ = 255
FOR 1@ = 255 DOWNTO 0
WAIT 0
GOSUB @color
END
1@ = 0
FOR 2@ = 0 TO 255
WAIT 0
GOSUB @color
END
2@ = 255
FOR 3@ = 255 DOWNTO 0
WAIT 0
GOSUB @color
END
3@ = 0
FOR 1@ = 0 TO 255
WAIT 0
GOSUB @color
END
1@ = 255
FOR 2@ = 255 DOWNTO 0
WAIT 0
GOSUB @color
END
2@ = 0
END
:color
if 0C5D: samp textdraw 2054 is_exists
then
0B67: render a 1@ r 2@ g 3@ b 0xFF to_argb 5@
0C52: samp textdraw 2054 set_letter_size 0.349999 1.200000 color 5@
end
return