[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
#2

Icons in 3d labels?
I can't imagine that, lol.
Reply
#3

great ideeas
+1
Reply
#4

Actually supporting floating dialogs will be the best,
but I remember Kalcor said he will not do that

Another drive-by mode means you can drive-by when you're driving?
Reply
#5

@Driveby modes, what do you mean? Different crosshairs?
Reply
#6

I've always thought of the icons ideas since I started scripting in SA:MP, I hope it will be added one day!
Reply
#7

Wow. I love those ideas. I've tought about floating dialogs too, but instead of X and Y co-ordinates it should use something like percents (%), because peoples monitor sizes are different. top/bottom & left/right -X and -Y co-ordinates or something.
Reply
#8

nope they are on 640x480 but they show up the same on every resolution (at least textdraws work like that) correct me if I'm wrong
Reply
#9

good is supposed to be so...

ah about what the drive by I mean how to shoot while driving, say 0 is the typical style used Q and E to shoot to the side, 1 would try the driver fire as passengers, as shown in the image
Reply
#10

Quote:
Originally Posted by Cacoby
Посмотреть сообщение
good is supposed to be so...

ah about what the drive by I mean how to shoot while driving, say 0 is the typical style used Q and E to shoot to the side, 1 would try the driver fire as passengers, as shown in the image
I don't know If you're supposed to be able to driveby like that as a driver, he could be using hacks
that allows him to.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)