Quote:
Originally Posted by BlackWolf120
maybe a bit less confusing for beginners
pawn Код:
GiveXP(playerid, amount) { pInfo[playerid][XP] += amount; switch(pInfo[playerid][XP]) { case 50,100,150,200:pInfo[playerid][Level]++;//what XP will increase level. default: return 1; } }
|
eh NO. what if the exp is between 150 and 200 or other values then this wont work..
Use what
Vince told..