26.09.2011, 05:17
Have like:
If you get my drift. I don't know if I done the maths right? But you should know what I mean...
pawn Код:
if(PlayerInfo[para1][pAdmin] < level)
{
format(string, sizeof(string), " You have been demoted to a level %d admin by %s.", level, sendername);
}
if(PlayerInfo[para1][pAdmin] > level)
{
format(string, sizeof(string), " You have been promoted to a level %d admin by %s.", level, sendername);
}
if(PlayerInfo[para1][pAdmin] == 0)
{
format(string, sizeof(string), " Your admin rights have been removed by %s.", level, sendername);
}
//Send the string here