23.04.2011, 23:55
Sup guys!
I got this "if" block:
But, the SendClientMessageToAll keeps showing, even if the player is not adm or owner!
P.S: Sorry for messed up indent, code tags screwed it up.
I got this "if" block:
Код:
if(AccountInfo[playerid][Level] == ADM || OWNER)
{
new string[128];
if(AccountInfo[playerid][Level] == ADM)
{
format(string, sizeof(string), "ADM {FF0000}%s {FFFFFF}is now online!", nome);
}
else if(AccountInfo[playerid][Level] == OWNER)
{
format(string, sizeof(string), "MASTER ADM {00FF00}%s {FFFFFF}is now online!", nome);
}
SendClientMessageToAll(COLOR_WHITE, "------------------------------------------------------------------------------------------");
SendClientMessageToAll(COLOR_WHITE, string);
SendClientMessageToAll(COLOR_WHITE, "------------------------------------------------------------------------------------------");
}
P.S: Sorry for messed up indent, code tags screwed it up.

