CLEO Help Copy color variable

CLEO related
Status
Not open for further replies.

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
Hi, is there any simple way to copy a variable which is holding a color?
Something like:
Code:
0B37: samp 1@ = get_player_color 0@
xxxx: 2@ = 1@
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,486
Reaction score
227
Location
( ͡° ͜ʖ ͡°)
You do it like this:

:computer_guy: THINK... THINK... THINK..

1 second later:

:surprised: aHHHHHHHHHHHHH!!!! I KNOW IT  :lol:

0B37: samp 1@ = get_player_color 0@
0B37: samp 2@ = get_player_color 0@
0B37: samp 3@ = get_player_color 0@
0B37: samp 4@ = get_player_color 0@
0B37: samp 5@ = get_player_color 0@


now variable 1@ to 5@ have the color  :somuchwin:
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
Hmm, the point is that during the time when I'd like to copy it the specified player may be offline. I'd like to pass the colour from one variable to another, is it possible?
 
Status
Not open for further replies.
Top