Dialog color doesn't change - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dialog color doesn't change (
/showthread.php?tid=422250)
Dialog color doesn't change -
Jaber_Brown - 12.03.2013
I got this
pawn Код:
ShowPlayerDialog(playerid,200,DIALOG_STYLE_INPUT,"{525292} Login to your account","{525292}Note - {FFFFFF}An account with this name was found inside the database,\n If this is your account,type in your password\n if not press cancel.","Login","Cancel");
SetTimerEx("KickTimer",120000,0,"i",playerid);
fclose(hFile);
return true;
}
else
{
ShowPlayerDialog(playerid,100,DIALOG_STYLE_INPUT,"{525292} Register your account","{525292}Note - {FFFFFF}An account with this name was not found inside the database.\n if you would like to register this account,\n type in the password you would like to register with.","Register","Cancel");
SpawnPlayer(playerid);
When I compile and test IG the old color stays, it supposed to be like this color
http://www.colorhexa.com/525292 but it doesn't change, it stays in a light blue (The old one)
Re: Dialog color doesn't change -
MP2 - 12.03.2013
Are you sure you compiled and restarted the server correctly? Try changing the text and see if it changes in-game - if it doesn't you're either not compiling, not restarting or editing the wrong dialog.