3D Text Labels
#1


(Click the image to see it fullscreen)

I've got this problem. No matter what color I change it to, it stays that exact color and transparency. Here's the code I use;

pawn Код:
case DIALOG_ENTRANCES_EDIT_COLOUR:
        {
            if( response )
            {
                if( isnull( inputtext ) || strlen( inputtext ) > 14 )
                {
                    new
                        cStr [ 32 ],
                        iStr [ 128 ];

                    format( cStr, 32, "Editing: Entrance #%d", plEditingEntrance [ playerid ] );
                    format( iStr, 128, ""#I_RoyalBlue"Current Colour: "#I_White"%s\n\nEntry Point colour is the colour that you see the pickup text as.", EntranceInfo [ plEditingEntrance[ playerid ] ] [ Colour ] );
                    ShowPlayerDialog( playerid, DIALOG_ENTRANCES_EDIT_COLOUR, DIALOG_STYLE_INPUT, cStr, iStr, "Change", "Back" );
                    return false;
                }

                new
                    Str [ 128 ];

                format( EntranceInfo [ plEditingEntrance [ playerid ] ] [ Colour ], 15, inputtext );
                SaveEntrance( plEditingEntrance [ playerid ] );
                LoadEntrance( plEditingEntrance [ playerid ] );

                format( Str, 128, "* Entry Point #"#I_LimeGreen"%d's "#I_White"colour has been set to "#I_RoyalBlue"%s", plEditingEntrance [ playerid ], inputtext );
                SendClientMessage( playerid, -1, Str );
            }
        }
I've already debugged it, and the EntranceInfo for Colour IS being set correctly. So what's the problem?
Reply


Messages In This Thread
3D Text Labels - by 2KY - 17.11.2012, 03:28
Re: 3D Text Labels - by cessil - 17.11.2012, 03:50
Re: 3D Text Labels - by 2KY - 17.11.2012, 16:04
Re: 3D Text Labels - by Ballu Miaa - 17.11.2012, 16:35
Re: 3D Text Labels - by 2KY - 17.11.2012, 16:39

Forum Jump:


Users browsing this thread: 2 Guest(s)