public OnPlayerSpawn(playerid){ if(PInfo[playerid][EXP] == 100 && PInfo[playerid][Rank] == 0) { RankedUp(playerid); PInfo[playerid][Rank] = 1; }// More code...