10.12.2014, 02:34
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;
}
}