13.12.2010, 22:45
(
Последний раз редактировалось Cacoby; 14.12.2010 в 01:25.
)
Dialog Position
Image here 
Also, looking at this picture shows the idea following another, more than one dialog at a time
Icons in dialogs, 3dlabels, messages and more 
Very similar to the color code used in the text
Examples:
In Dialog [IMAGE]
Using in a chat [IMAGE]
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
pawn Код:
SetDialogPosition(playerid,dilogid,posx, posy);

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);

Very similar to the color code used in the text
pawn Код:
{ic1-63}
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");"
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;
}
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
