15.10.2011, 23:52
Looks like you forgot to get player's name?
Same for OnPlayerDisconnect..
pawn Код:
public OnPlayerConnect(playerid)
{
new file[200],
name[24];
GetPlayerName(playerid, name, sizeof(name));
format(file,sizeof(file),"LuxKnack/TeamStats/%s.ini",name);
INI_Open(file);
pKMs[playerid] = INI_ReadInt("KMDriven");
INI_Close();