WaTTi
Well-known member
- Joined
- Jan 4, 2015
- Messages
- 260
- Reaction score
- 8
So... i made this function, but it's buggy and idk why.
Code:
IF 0AB1: @samecolor 1 player id 0@
THEN
chatmsg "SAMECOLOR" -1
END
:samecolor
0B37: samp 1@ = get_player_color 0@
0B2B: samp 2@ = get_player_id_by_actor_handle $PLAYER_ACTOR
0B37: samp 3@ = get_player_color 2@
if 003A: 3@ == 1@
then 0485: return_true
else 059A: return_false
end
ret 0