Scripting Help
#3

Have like:

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
If you get my drift. I don't know if I done the maths right? But you should know what I mean...
Reply


Messages In This Thread
Scripting Help - by Vincent_Johnson - 26.09.2011, 05:04
Re: Scripting Help - by Yamoo - 26.09.2011, 05:09
Re: Scripting Help - by Jack_Leslie - 26.09.2011, 05:17
Re: Scripting Help - by Ensconce - 26.09.2011, 06:02
Re: Scripting Help - by Vincent_Johnson - 28.09.2011, 20:43

Forum Jump:


Users browsing this thread: 1 Guest(s)