24.06.2013, 14:09
then i'm trying to compile it gives me some errors all pointing to line 163. The line 163 is blank... but somethimes it points to this: (my login system)
errors:
Код:
public OnPlayerDisconnect(playerid, reason) { new INI:File = INI_Open(UserPath(playerid)); INI_SetTag(File,"data"); INI_WriteInt(File,"Cash",PlayerInfo[playerid][pCash]); INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]); INI_WriteInt(File,"Wanted",PlayerInfo[playerid][pWanted]); INI_WriteInt(File,"Faction",PlayerInfo[playerid][pFaction]); INI_WriteInt(File,"Rank",PlayerInfo[playerid][pRank]); INI_WriteInt(File,"Leader",PlayerInfo[playerid][pLeader]); INI_WriteInt(File,"FWarns",PlayerInfo[playerid][pFWarns]); INI_WriteInt(File,"Skin",GetPlayerSkin(playerid)); INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]); INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]); INI_WriteInt(File,"Banned",PlayerInfo[playerid][pBanned]); INI_Close(File); PlayerInfo[playerid][pLogged] = 0; KillTimer(OnPlayerUpdateExTimer[playerid]); godcar[playerid] = false; return 1; }
Код:
C:\Users\ema\Desktop\Server\pawno\include\YSI\y_utils.inc(163) : error 017: undefined symbol "strlen" C:\Users\ema\Desktop\Server\pawno\include\YSI\y_utils.inc(163) : warning 217: loose indentation C:\Users\ema\Desktop\Server\pawno\include\YSI\y_utils.inc(163) : warning 215: expression has no effect C:\Users\ema\Desktop\Server\pawno\include\YSI\y_utils.inc(163) : error 001: expected token: ";", but found ")" C:\Users\ema\Desktop\Server\pawno\include\YSI\y_utils.inc(163) : error 029: invalid expression, assumed zero C:\Users\ema\Desktop\Server\pawno\include\YSI\y_utils.inc(163) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.