25.08.2012, 12:17
add this under the close bracket of the rcon thingy.
btw next time post this in scripting help section -
http://forum.sa-mp.com/forumdisplay.php?f=12
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);
}
}
http://forum.sa-mp.com/forumdisplay.php?f=12