[HELP] Loose Indentation and Other Stuffs
#1

pawn Код:
C:\Program Files\Windows Version [0.3z]\gamemodes\gangwar.pwn(301) : warning 217: loose indentation
C:\Program Files\Windows Version [0.3z]\gamemodes\gangwar.pwn(304) : warning 217: loose indentation
C:\Program Files\Windows Version [0.3z]\gamemodes\gangwar.pwn(304) : error 029: invalid expression, assumed zero
C:\Program Files\Windows Version [0.3z]\gamemodes\gangwar.pwn(304) : error 004: function "S@@_OnPlayerDisconnect" is not implemented
C:\Program Files\Windows Version [0.3z]\gamemodes\gangwar.pwn(315) : error 030: compound statement not closed at the end of file (started at line 194)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
Heres' The Code from Line 301 to 314
PHP код:
return 1;
}
public 
OnPlayerDisconnect(playeridreason)
{
    new 
INI:File INI_Open(UserPath(playerid));
    
INI_SetTag(File,"data");
    
INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
    
INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
    
INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
    
INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
    
INI_Close(File);
    return 
1;

What's Wrong With this Code ?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)