22.01.2010, 23:32
I cant find this script and i dont know make it..
Every admin have over hes head like "Admin level 1"
"Admin level 2"....
Every admin have over hes head like "Admin level 1"
"Admin level 2"....
public OnPlayerText(playerid, text[])
{
if (AccountInfo[playerid][AdminLevel] >= 5 || IsPlayerAdmin(playerid))
{
SetPlayerChatBubble(playerid, "Admin Level 5 (Head Admin)", 0xFF0000FF, 100.0, 10000);
}
if (AccountInfo[playerid][AdminLevel] >= 4 || IsPlayerAdmin(playerid))
{
SetPlayerChatBubble(playerid, "Admin Level 4", 0xFF0000FF, 100.0, 10000);
}
if (AccountInfo[playerid][AdminLevel] >= 3 || IsPlayerAdmin(playerid))
{
SetPlayerChatBubble(playerid, "Admin Level 3", 0xFF0000FF, 100.0, 10000);
}
if (AccountInfo[playerid][AdminLevel] >= 2 || IsPlayerAdmin(playerid))
{
SetPlayerChatBubble(playerid, "Admin Level 2", 0xFF0000FF, 100.0, 10000);
}
if (AccountInfo[playerid][AdminLevel] >= 1 || IsPlayerAdmin(playerid))
{
SetPlayerChatBubble(playerid, "Admin Level 1", 0xFF0000FF, 100.0, 10000);
}
return 1;
}
Originally Posted by ╚»★«[LvC
Lucifier»★«╝ ]
Here is a good example: pawn Код:
|
Originally Posted by Norn
Quote:
|
C:\DOCUME~1\otto\Desktop\LADMIN~1.PWN(970) : error 017: undefined symbol "AdminLevel" C:\DOCUME~1\otto\Desktop\LADMIN~1.PWN(974) : error 017: undefined symbol "AdminLevel" C:\DOCUME~1\otto\Desktop\LADMIN~1.PWN(97 : error 017: undefined symbol "AdminLevel" C:\DOCUME~1\otto\Desktop\LADMIN~1.PWN(982) : error 017: undefined symbol "AdminLevel" C:\DOCUME~1\otto\Desktop\LADMIN~1.PWN(986) : error 017: undefined symbol "AdminLevel" C:\DOCUME~1\otto\Desktop\LADMIN~1.PWN(992) : warning 225: unreachable code C:\DOCUME~1\otto\Desktop\LADMIN~1.PWN(992) : warning 217: loose indentation C:\DOCUME~1\otto\Desktop\LADMIN~1.PWN(1056) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
Originally Posted by [FG
otto ]
Quote:
|