How to make /report cmd?
#8

Quote:
Originally Posted by EliranPesahov
Посмотреть сообщение
pawn Код:
new id, s_text[128], s_string[128];
    if(sscanf(params, "us[128]", id, stext))
you defined "s_text" but wrote 'stext'.. minor prob
Quote:
Originally Posted by EliranPesahov
Посмотреть сообщение
pawn Код:
otherid, GetPlayerNameEx(otherid), stext);
now i wanna know where did you define the other id? and "stext" here too..

EDIT

Quote:
Originally Posted by ServerRestart
Посмотреть сообщение
I dont want the rcon admin to get the report i want anyone who a mod or admin to get the report, Like level 1 admin level 2 admin level 3 admins ect.. :/
use the varieble you use for the admin levels and put that instead of "IsPlayerAdmin" in the stock..
if you want the reports for every level admin use this as an e.g.
pawn Код:
stock SendAdminReport(color, const len[]) {
    for(new i = 0; i < MAX_PLAYERS; i++) {
        if(PlayerInfo[i][AdminLevel] >= 1) SendClientMessage(i, color, len);
    }
    return 1;
}
Reply


Messages In This Thread
How to make /report cmd? - by ServerRestart - 05.08.2011, 10:06
Re: How to make /report cmd? - by ServerRestart - 05.08.2011, 10:13
Re: How to make /report cmd? - by Toreno - 05.08.2011, 10:17
AW: How to make /report cmd? - by samtey - 05.08.2011, 10:21
Re: How to make /report cmd? - by Toreno - 05.08.2011, 10:29
Re: How to make /report cmd? - by ServerRestart - 05.08.2011, 10:42
Re: How to make /report cmd? - by kingchandio - 05.08.2011, 10:46
Re: How to make /report cmd? - by emokidx - 05.08.2011, 10:50
Re: How to make /report cmd? - by Toreno - 05.08.2011, 10:53
Re: How to make /report cmd? - by ServerRestart - 05.08.2011, 10:53

Forum Jump:


Users browsing this thread: 1 Guest(s)