Quote:
Originally Posted by Stinged
Not sure it it will solve the problem, but maybe it will.
pawn Код:
if((gPlayerInfo[playerid][gExperience] >= gPlayerInfo[playerid][gNeededExp]) && gPlayerInfo[playerid][gLevel] < 50) { //... } else if((gPlayerInfo[playerid][gExperience] < gPlayerInfo[playerid][gNeededExp]) && gPlayerInfo[playerid][gLevel] >= 1) { //... }
if( (var < var ) && var >= var)
|
Nope, still the same problem, goes nicely to Level 1(200 Experience needed), but if I then use /giveexp 0 199, it will set the Level to 0 again.
Like, if the NeededExp is more than the Experience in /giveexp(well, the stock), it will level him down