22.08.2011, 00:00
How to send player defined key in message?
I know it works in GameTextForPlayer, TextDraws.. but in ShowPlayerDialog can work too?
pawn Code:
new string[256];
format(string, sizeof(string), "Aby zwiększyć lub zciszyć głośność radia\nnależy operować klawiszami "COL_RED"~k~~GO_LEFT~, "COL_DEF"aby zciszyć oraz "COL_RED"~k~~GO_RIGHT "COL_DEF"aby podgłośnić.\nAby zakończyć edycję należy nadusić klawisz "COL_RED"~k~~PED_SPRINT~");
ShowPlayerDialog(playerid, DIALOG_RADIO, DIALOG_STYLE_MSGBOX, "Zwiększenia głośności", string, "Okey", "");