- 0
Eroare Dialog
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
infinity1
Incerc sa adaug o comanda unde trebuie sa utilizez urmatorul dialog:
if(dialogid == 6666) { if (!response) return 1; if (sscanf( inputtext, "h", inputtext[0])) return ShowPlayerDialog( playerid, DIALOG_WRITE_HEX, DIALOG_STYLE_INPUT, "Type a HEX Code", "{FF0000}Invalid HEX code ! Type it like: 'FFFF00'", "Set", "Cancel"); if (strlen( inputtext[0])!=6) return ShowPlayerDialog( playerid, DIALOG_WRITE_HEX, DIALOG_STYLE_INPUT, "Type a HEX Code", "{FF0000}Invalid HEX code ! Type it like: 'FFFF00'", "Set", "Cancel"); PlayerInfo[playerid][p_TextColor]=inputtext[0]; FormatMSG(playerid, ~1, "You set your chat color to {%06x}this", PlayerInfo[playerid][p_TextColor]); return 1; }Iar cand dau compile primesc urmatorile erori/warninguri: Astea fiind liniile 10812, 10813, 10814:return ShowPlayerDialog( playerid, DIALOG_WRITE_HEX, DIALOG_STYLE_INPUT, "Type a HEX Code", "{FF0000}Invalid HEX code ! Type it like: 'FFFF00'", "Set", "Cancel"); PlayerInfo[playerid][p_TextColor]=inputtext[0]; FormatMSG(playerid, ~1, "You set your chat color to {%06x}this", PlayerInfo[playerid][p_TextColor]);Stie careva cum sa le rezolv ?
4 answers to this question
Recommended Posts