stock my_ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button1[], button2[])
{
strins(caption, "{B800C6}", 0, 8);
strins(info, "{FFFFFF}", 0, 8);
ShowPlayerDialog(playerid, dialogid, style, caption, info, button1, button2);
return 1;
}
#if defined _ALS_ShowPlayerDialog
#undef ShowPlayerDialog
#else
#define _ALS_ShowPlayerDialog
#endif
#define ShowPlayerDialog my_ShowPlayerDialog
new lstring[256];
format(lstring, sizeof(lstring), "This name ({FFFF82}%s{FFFFFF}) is registered. You must login to continue.\nIf this is your account, please enter the password you chose when registering below.\nIf not, please quit and reconnect with a different name.", pName[playerid]);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login", lstring, "Login", "Quit");
#define ShowPlayerDialogEx(%0,%1,%2,%3,%4,%5,%6) \
ShowPlayerDialog((%0), (%1), (%2), "{B800C6}" %3, "{FFFFFF}" %4, (%5), (%6))
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\NewServer.pwn(99) : error 001: expected token: "-string end-", but found "-identifier-" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\NewServer.pwn(99) : warning 215: expression has no effect C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\NewServer.pwn(99) : warning 215: expression has no effect C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\NewServer.pwn(99) : warning 215: expression has no effect C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\NewServer.pwn(99) : error 001: expected token: ";", but found ")" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\NewServer.pwn(99) : error 029: invalid expression, assumed zero C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\NewServer.pwn(99) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
new lstring[256];
format(lstring, sizeof(lstring), "This name ({FFFF82}%s{FFFFFF}) is registered. You must login to continue.\nIf this is your account, please enter the password you chose when registering below.\nIf not, please quit and reconnect with a different name.", pName[playerid]);
ShowPlayerDialogEx(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login", lstring, "Login", "Quit");