01.08.2010, 09:32
Try This
Try use [pawn] tags they are better than [code]
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == YOUR_DIALOG_ID)
{
if(response)
{
switch(listitem)
{
case 0:
{
SetPlayerColor(playerid, 0xFF0000AA);
}
case 1:
{
SetPlayerColor(playerid, 0xFF9900AA);
}
case 2:
{
SetPlayerColor(playerid, 0xFFC0CBFF);
}
case 3:
{
//ect
}
}
}
}
return 1;
}