[SUGGESTION] My all ideas :D
#1

Dialog Position

pawn Код:
SetDialogPosition(playerid,dilogid,posx, posy);
Image here

Also, looking at this picture shows the idea following another, more than one dialog at a time

pawn Код:
ShowPlayerDialog(playerid,123,DIALOG_STYLE_INPUT,"Caption"," ","Button1","Button2");
SetDialogPosition(playerid,123,posx, posy);
ShowPlayerDialog(playerid,456,DIALOG_STYLE_LIST,"Caption","Info","Button1","Button2");
SetDialogPosition(playerid,456,posx, posy);
Icons in dialogs, 3dlabels, messages and more

Very similar to the color code used in the text

pawn Код:
{ic1-63}
Examples:

In Dialog [IMAGE]

pawn Код:
ShowPlayerDialog(playerid,dialogid,DIALOG_STYLE_LIST,"Caption","{ic45} Shop\n {ic49} Bar\n {ic50} Restaurant \n {ic55} Gas Station","Button1","Button2");"
Using in a chat [IMAGE]

pawn Код:
stock IconInText(text[])
{
    enum
        IconEnum
        {
            IconName[16],
            Iconid[5]
        }
    ;
    new
        IconInfo[][IconEnum] =
        {
            { "<3",             "21" },
            { "car",            "55" },
            { "house",          "31" },
            { "pistol1",        "6" },
            { "pistol2",        "18" },
            { "pizza",          "29" },
            { "Spray",          "63" },
            { "Disco",          "48" },
            { "Clothes",        "45" },
            { "Question",       "37" },
            { "Truck",          "51" }
        },
        string[(128 + 32)],
        tempString[16],
        pos = -1,
        x
    ;
    strmid(string, text, 0, 128, sizeof(string));

    for( ; x != sizeof(IconInfo); ++x)
    {
        format(tempString, sizeof(tempString), "&%s", IconInfo[x][IconName]);

        while((pos = strfind(string, tempString, true, (pos + 1))) != -1)
        {
            new
                tempLen = strlen(tempString),
                tempVar,
                i = pos
            ;
            format(tempString, sizeof(tempString), "{ic%s}", IconInfo[x][Iconid]);

            if(tempLen < 8)
            {
                for(new j; j != (8 - tempLen); ++j)
                {
                    strins(string, " ", pos);
                }
            }
            for( ; ((string[i] != 0) && (tempVar != 8)) ; ++i, ++tempVar)
            {
                string[i] = tempString[tempVar];
            }
            if(tempLen > 8)
            {
                strdel(string, i, (i + (tempLen - 8)));
            }
            x = -1;
        }
    }
    return string;
}
this is a small example of how you would treat these icons in the chat, this idea of removing it from the Ryder inc - Colored Chat

Drive By Modes

We could put that nose using such " DriveByMode (0); ", this would be for condutor

0 = Normal mode

1 = Another mode to drive by - Example

[All ideas for me Karkanos - Cacoby] cool that would be successful in creating

Sorry for my fucking bad english
Reply


Messages In This Thread
Dialog Position, Icons, Drive by - by Cacoby - 13.12.2010, 22:45
Re: [SUGGESTION] My all ideas :D - by [MWR]Blood - 14.12.2010, 06:50
Re: [SUGGESTION] My all ideas :D - by Raul_Ro - 14.12.2010, 07:03
Re: [SUGGESTION] My all ideas :D - by leong124 - 14.12.2010, 07:07
Re: [SUGGESTION] My all ideas :D - by Retardedwolf - 14.12.2010, 07:17
Re: [SUGGESTION] My all ideas :D - by [03]Garsino - 14.12.2010, 13:12
Re: [SUGGESTION] My all ideas :D - by Auxxx - 14.12.2010, 13:19
Re: [SUGGESTION] My all ideas :D - by MPKaboose - 14.12.2010, 13:39
Re: [SUGGESTION] My all ideas :D - by Cacoby - 14.12.2010, 13:47
Re: [SUGGESTION] My all ideas :D - by Mike Garber - 14.12.2010, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)