20.12.2015, 18:24
PlayerInfo[clickedplayerid][pScore] = score;
PlayerInfo[clickedplayerid][pKills] = kills;
PlayerInfo[clickedplayerid][pDeaths] = deaths;
PlayerInfo[clickedplayerid][pAdmin] = adminlvl;
PlayerInfo[clickedplayerid][pVip] = viplvl;
change it to:
viplvl = PlayerInfo[clickedplayerid][pVip];
adminlvl = PlayerInfo[clickedplayerid][pAdmin];
and so on.
PlayerInfo[clickedplayerid][pKills] = kills;
PlayerInfo[clickedplayerid][pDeaths] = deaths;
PlayerInfo[clickedplayerid][pAdmin] = adminlvl;
PlayerInfo[clickedplayerid][pVip] = viplvl;
change it to:
viplvl = PlayerInfo[clickedplayerid][pVip];
adminlvl = PlayerInfo[clickedplayerid][pAdmin];
and so on.