02.06.2013, 12:39
Код:
stock SaveServerInfo() { new INI:File = INI_Open("podatci/server.ini"); INI_SetTag(File, "SERVER"); INI_WriteString(File, "Ime", ServerVar[sIme]); INI_WriteString(File, "Mod", ServerVar[sMod]); INI_WriteString(File, "Web", ServerVar[sWeb]); INI_WriteString(File, "Mapa", ServerVar[sMapa]); INI_WriteString(File, "Anticheat", ServerVar[sAnticheat]); INI_Close(File); return 1; }
Код:
main() { INI_Load("podatci/server.ini"); return 1; }
Код:
INI:podatci/server[SERVER](name[], value[]) { printf("%s = %s", name, value); printf("===="); }
Код:
C:\Documents and Settings\Neno\Desktop\mod\gamemodes\xasd.pwn(43) : error 001: expected token: "(", but found "/" C:\Documents and Settings\Neno\Desktop\mod\gamemodes\xasd.pwn(43) : error 001: expected token: ";", but found "-identifier-" C:\Documents and Settings\Neno\Desktop\mod\gamemodes\xasd.pwn(43) : error 010: invalid function or declaration C:\Documents and Settings\Neno\Desktop\mod\gamemodes\xasd.pwn(43) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.