Small thing for Ladmin.
#6

Quote:
Originally Posted by xkirill
Посмотреть сообщение
add this under the close bracket of the rcon thingy.
pawn Код:
if( (Count[1] == 1) && (PlayerInfo[playerid][Level] > OWNERLEVEL) ) { // change OWNERLEVEL with the current owner level.
        for(i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i)) {
            format(string, sizeof(string), "Owner: (%d)%s", i, PlayerName2(i));
            SendClientMessage(playerid, COLOR_WHITE, string);
        }
}
btw next time post this in scripting help section -
http://forum.sa-mp.com/forumdisplay.php?f=12
Sorry and these errors/warnings

pawn Код:
C:\Users\Bichan\Desktop\UKTDM\filterscripts\ladmin4v2.pwn(3100) : warning 217: loose indentation
C:\Users\Bichan\Desktop\UKTDM\filterscripts\ladmin4v2.pwn(3106) : warning 217: loose indentation
C:\Users\Bichan\Desktop\UKTDM\filterscripts\ladmin4v2.pwn(3106) : error 017: undefined symbol "x"
C:\Users\Bichan\Desktop\UKTDM\filterscripts\ladmin4v2.pwn(3110) : warning 209: function "dcmd_admins" should return a value
C:\Users\Bichan\Desktop\UKTDM\filterscripts\ladmin4v2.pwn(3111) : error 010: invalid function or declaration
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
Small thing for Ladmin. - by Biess - 25.08.2012, 11:18
Re: Small thing for Ladmin. - by Duck - 25.08.2012, 11:50
Re: Small thing for Ladmin. - by Biess - 25.08.2012, 11:53
Re: Small thing for Ladmin. - by DeadLy™ - 25.08.2012, 12:08
Re: Small thing for Ladmin. - by Kaperstone - 25.08.2012, 12:17
Re: Small thing for Ladmin. - by Biess - 25.08.2012, 13:01
Re: Small thing for Ladmin. - by Kaperstone - 25.08.2012, 13:12
Re: Small thing for Ladmin. - by Biess - 25.08.2012, 13:17
Re: Small thing for Ladmin. - by clarencecuzz - 25.08.2012, 13:52
Re: Small thing for Ladmin. - by Lordzy - 25.08.2012, 13:57

Forum Jump:


Users browsing this thread: 1 Guest(s)