20.02.2014, 13:33
You should return string and not 1. Remove this line:
and change with:
pawn Код:
forward GetMuteReason(playerid);
pawn Код:
stock GetMuteReason(playerid)
{
new reason[32];
switch (UserStats[playerid][pMuted])
{
case 1: reason = "Спам";
case 2: reason = "Псуване/Обиждане";
case 3: reason = "Спам/Псуване/Обиждане";
case 4: reason = "Оплакване във форума";
}
return reason;
}