Sziasztok.
Ezzel a kóddal mi a baj?
public OnPlayerConnect()
{
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), \"LoadUser_%s\", .bExtra = true, .extra = playerid);
}
else
{
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,\"data\");
INI_Int(File,\"munka\",0);
INI_Int(File,\"munkarang\",1);
}
}
public OnPlayerDisconnect()
{
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,\"data\");
INI_Int(\"munka\",pInfo[playerid][munka]);
INI_Int(\"munkarang\",pInfo[playerid][munkarang]);
}
S:\\skapu\\police.pwn(490) : error 017: undefined symbol \"playerid\"
S:\\skapu\\police.pwn(492) : error 017: undefined symbol \"playerid\"
S:\\skapu\\police.pwn(496) : error 017: undefined symbol \"playerid\"
S:\\skapu\\police.pwn(498) : error 035: argument type mismatch (argument 1)
S:\\skapu\\police.pwn(498) : error 022: must be lvalue (non-constant)
S:\\skapu\\police.pwn(498) : error 017: undefined symbol \"value\"
S:\\skapu\\police.pwn(498) : fatal error 107: too many error messages on one line
Ha ezt megjegyzésbe teszem,akkor 1 hiba/warn sincs.