30.07.2010, 19:03
Try this
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1 && response)
{
switch(listitem)
{
case 0:
{
SetPlayerColor(playerid, invi);
}
case 1:
{
SetPlayerColor(playerid, blue);
}
case 2:
{
SetPlayerColor(playerid, red);
}
}
return 1;
}
return 0;
}