if(PlayerInfo[playerid][pLevel]==25) { //you code here...(Stop the timer or whatever you have you level/experience) }