CLEO Help Player colors

CLEO related
Status
Not open for further replies.

Badonga

Active member
Joined
Aug 5, 2013
Messages
71
Reaction score
0
Hello, does anyone here knows how to make a condition like this pseudo-code:

Code:
if or
SAMP.GetPlayerColor = Orange
SAMP.GetPlayerColor = Red
... do something
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
Code:
const
RED = 0xFFFF0000
GREEN = 0xFF00FF00
BLUE = 0xFF0000FF
end

-snip-
0B37: samp 1@ = get_player_color 0@
if or 
    1@ == RED
    1@ == GREEN
    1@ == BLUE
then
     player.isClown
end
 
Status
Not open for further replies.
Top