[FilterScript] All 0Admins CMDS
#6

LOL I Think Existing
Report
/Report Not There
You Can Use It In 0admin System

code Pawn:
CMD:report(PARAMS)
{
LoginCheck(playerid);

new string[50];
new
name1[40],
name2[30],
id,
text[128],
reason[50];
if(sscanf(params,"us",id,reason))
return SendClientMessage(playerid,COLOR_RED,"Info: /report [id] [reason]");
if(IsPlayerConnected(id)) {
SendClientMessage(playerid,COLOR_YELLOW,"Your reported Has Been SuucesFull Sent To Admin.");
GameTextForPlayer(playerid,"~g~Reported Sent!",5000,4);
for(new i = 0; i < MAX_PLAYERS; ++i) {
{
if(P_DATA[i][Level] > 2)
GetPlayerName(playerid,name1,sizeof(name1));
GetPlayerName(id,name2,sizeof(name2));
format(text,sizeof(text),"™YOU SERVER™ Report From ™ \"%s\" [%i] Has Report: \"%s\" [%i], Reason: %s.",name1,playerid,name2,id,reason);
SendClientMessage(i,COLOR_RED,text);
format( string, sizeof(string), "~n~~n~~n~~r~Report!From ID: %d ~n~%s", id, name1);
GameTextForAll(string, 10000, 3 );
}
}
} else {
return SendClientMessage(playerid,COLOR_RED,"Player No Connected");
}
return 1;
}
Reply


Messages In This Thread
All 0Admins CMDS - by sampx - 30.06.2011, 04:35
Re: All 0Admins CMDS - by Loading... - 30.06.2011, 04:50
Re: All 0Admins CMDS - by Skaizo - 30.06.2011, 04:51
Re: All 0Admins CMDS - by Laronic - 30.06.2011, 04:54
Re: All 0Admins CMDS - by Loading... - 30.06.2011, 05:12
Re: All 0Admins CMDS - by SmileyForCheat - 30.06.2011, 05:23
Re: All 0Admins CMDS - by Lorenc_ - 30.06.2011, 05:33
Re: All 0Admins CMDS - by Scenario - 30.06.2011, 05:36
Re: All 0Admins CMDS - by Zh3r0 - 30.06.2011, 05:58
Re: All 0Admins CMDS - by sampx - 30.06.2011, 13:36

Forum Jump:


Users browsing this thread: 1 Guest(s)