CLEO Help Incompatible label

CLEO related
Status
Not open for further replies.

JaggerJam

Active member
Joined
Sep 14, 2017
Messages
98
Solutions
1
Reaction score
21
[font=Georgia,]Why isn't taking the red color? On SF 5.2 the label is working, but on SF 5.3 isn't working......[/font]
[font=Georgia,]
PHP:
[/font][/SIZE][/color]
[color=#2c2c2c][SIZE=3][font=Georgia,]:copcmd_main
[/font][/SIZE][/color]
[shcode] 
WAIT 0

    IF 31@ == 1

    THEN

        FOR 0@ = 0 to 999 

            IF SAMP.IsPlayerConnected(0@)

            THEN 

                IF 1@ = SAMP.GetActorHandleByPlayerID(0@) 

                THEN

                    16@ = SAMP.GetPlayerColor(0@)

                    IF 16@ == COLOR

                    THEN

                    IF

                    056D:   actor 1@ defined

                    THEN 0AF9: samp say_msg "/find %d" 0@

                    0AF9: samp say_msg "/mdc %d" 0@

                    WAIT 1000

                    13@ += 1 

                    END

                END

            END

        END

    END

        IF 14@ == 0

        then

        wait 0

        else

        chatmsg "[CopCMD]: {FF8000}Have found %d with wanted." -1 13@

        13@ = 0

        end 

        31@ = 0

    END

FOR 22@ = 0 to 999 

    IF SAMP.IsPlayerConnected(22@)

    THEN 

        IF 1@ = SAMP.GetActorHandleByPlayerID(22@) 

        THEN

            16@ = SAMP.GetPlayerColor(22@)

            IF 16@ == COLOR

            THEN 

            23@ += 1 

            END

        END

    END

END

if 4@ == 1

then

    if 23@ == 0

    then

    03F0: enable_text_draw 1 

    format 24@ "Wanted Players: %d" 23@ 

    0AA8: call_function_method 6946896 struct 12694336 num_params 1 pop 0 'CRED002' 17@  

    0AA5: call 7439872 num_params 2 pop 2 17@ 24@

    033F: set_text_draw_letter_size 0.33 1.2 

    081C: draw_text_outline 1 RGBA 0 0 0 255 

    0340: set_text_draw_RGBA 255 255 255 255 

    0349: set_text_draw_font 1

    03E4: set_text_draw_align_right 1 

    033E: set_draw_text_position 375.0 430.0 GXT 'CRED002'

    23@ = 0

    else

    03F0: enable_text_draw 1 

    format 24@ "Wanted Players: %d" 23@ 

    0AA8: call_function_method 6946896 struct 12694336 num_params 1 pop 0 'CRED002' 17@  

    0AA5: call 7439872 num_params 2 pop 2 17@ 24@

    033F: set_text_draw_letter_size 0.33 1.2 

    081C: draw_text_outline 1 RGBA 0 0 0 255 

    0340: set_text_draw_RGBA 227 51 109 255 

    0349: set_text_draw_font 1

    03E4: set_text_draw_align_right 1 

    033E: set_draw_text_position 375.0 430.0 GXT 'CRED002'

    23@ = 0

    end    
[color=#2c2c2c][SIZE=3][font=Georgia,]end[/font][/SIZE][/color]

[/shcode]
 
Status
Not open for further replies.
Top