21.08.2012, 23:23
pawn Код:
(Line 70): public OnPlayerConnect(playerid)
{
new pname[MAX_PLAYER_NAME], string[63 + MAX_PLAYER_NAME];
SendClientMessage(playerid,COLOR_GREEN,"Welcome to San Andreas *****");
SendClientMessage(playerid,COLOR_GREEN,"Make sure you read and Abide by our /rules, and obey our admins.");
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"{F81414}San Andreas City Cops and Robbers","{FFFFFF}Welcome, Type your password below to login.\nIf it's not you, relog with a different username","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"{F81414}San Andreas City Cops and Robbers ","{FFFFFF}Welcome, Type your password below to register a new account.","Register","Quit");
}
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "%s has Joined the server.", pname);
SendClientMessageToAll(COLOR_CYAN, string);
{
new C_Rules
BigString[1900];
strcat(BigString, "\n", 1900);
strcat(BigString, "\n", 1900);
strcat(BigString, "\n", 1900);
strcat(BigString, "\n", 1900);
strcat(BigString, "\n", 1900);
strcat(BigString, "\n", 1900);
strcat(BigString, "\n", 1900);
strcat(BigString, "\n", 1900);
strcat(BigString, "\n", 1900);
ShowPlayerDialog(playerid,C_Rules, DIALOG_STYLE_MSGBOX, "{ff0000}Rules", BigString, "Accept","Don't Accept";
return 1;
}
} (<<<<Line 102)
Код:
D:\SAMP\Server\SARP\gamemodes\SACCNR.pwn(99) : error 029: invalid expression, assumed zero D:\SAMP\Server\SARP\gamemodes\SACCNR.pwn(99) : warning 215: expression has no effect D:\SAMP\Server\SARP\gamemodes\SACCNR.pwn(99) : warning 215: expression has no effect D:\SAMP\Server\SARP\gamemodes\SACCNR.pwn(99) : warning 215: expression has no effect D:\SAMP\Server\SARP\gamemodes\SACCNR.pwn(99) : warning 215: expression has no effect D:\SAMP\Server\SARP\gamemodes\SACCNR.pwn(99) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.