ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE" Type your password to login.","Login","Quit"); |
C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : warning 215: expression has no effect C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : error 001: expected token: ";", but found "-string-" C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : warning 215: expression has no effect C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"{FFFFFF}Login","{FFFFFF}Type your password to login.","Login","Quit");
C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : warning 215: expression has no effect C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : error 001: expected token: ";", but found "-string-" C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : warning 215: expression has no effect C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Ahmed\Desktop\samp037_svr_R2-1-1_win32\gamemodes\C5School.pwn(146) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
// above in defines
#define ClearChat(%0) for (new i = 0; i < 40; i++) SendClientMessage(%0, -1, " ")
public OnPlayerConnect(playerid)
{
ClearChat(playerid);
new string[SOS];
GetPlayerName(playerid, pInfo[playerid][Nick], 20);
GetPlayerIp(playerid, pInfo[playerid][Ip], 16);
format(string, SOS, "*** %s has joined the server.", pInfo[playerid][Nick]);
SendClientMessageToAll(ORANGE, string);
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"{FFFFFF}Login","{FFFFFF}Type your password to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"{FFFFFF}Registering...","{FFFFFF}Type your password to register","Register","Quit");
}
return 1;
}