Hello.
Nem ment .inibe a gamemodom.. :S Pontosan nem tudom meik sorokat kéne másoljam de szerintem ezt..
Valaki segít ? :/
public OnPlayerDisconnect(playerid, reason)
{
aDuty[playerid] = 0;
new file[128];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(file,sizeof(file),\"/tReg/%s.ini\",name);
if(fexist(file))
{
dini_IntSet(file,\"Score\", GetPlayerScore(playerid));
dini_IntSet(file,\"Money\", GetPlayerMoney(playerid));
dini_IntSet(file,\"Deaths\", PlayerInfo[playerid][Deaths]);
dini_IntSet(file,\"Adminszint\", PlayerInfo[playerid][Admin]);
dini_IntSet(file,\"Kills\", PlayerInfo[playerid][Kills]);
}
IsLogged[playerid] = 0;
return 1;