04.01.2013, 17:44
Error:
Line 258:
Full command of that line:
Thanks.
pawn Код:
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\reglog.pwn(258) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\reglog.pwn(258) : warning 215: expression has no effect
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\reglog.pwn(258) : error 001: expected token: ";", but found ")"
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\reglog.pwn(258) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\XFreedom V.0.1\filterscripts\reglog.pwn(258) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
new INI:File = INI_Open(UserPath(playerid));
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
if(IsBeingSpeced[playerid] == 1)
{
foreach(Player,i)
{
if(spectatorid[i] == playerid)
{
TogglePlayerSpectating(i,false);
}
}
}
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"VIP",Vip[playerid]);
INI_Close(File);
if(IsPlayerConnected(playerid)) {
IsLogged[playerid] = false;
}
return 1;
}