16.06.2012, 09:38
So i use this stock to define vip status but when you do Stats output is wierd.Like some function is counting it instead of showing it. Any help would be great. Thanks
pawn Код:
stock VipType(playerid)
{
new viprank[10];
switch(PlayerInfo[playerid][pVIP])
{
case 0: { viprank = "None"; }
case 1: { viprank = "Plantium"; }
case 2: { viprank = "Gold"; }
case 3: { viprank = "Silver"; }
case 4: { viprank = "Bronze"; }
}
return viprank;
}