Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if(cmd=="report")
- {
- if(!text) MessagePlayer( dic + "** Use /report <player name> <reason>",player);
- else
- { local temp = GetTok(text," ",1);
- local plr = FindPlayer(temp);
- if((plr!=null) && antirepspam[player.ID]==plr.Name) MessagePlayer("[#FFFFFF]You've already reported this player!",player);
- else {
- local msg = GetTok( text, " ", 2 NumTok( text, " " ) );
- if((plr) && (msg))
- { antirepspam[player.ID] = plr.Name;
- EchoNotice("%#BOV4", ICOL_RED + "[REPORT] > " + ICOL_PURPLE + player.Name + ICOL_RED + " submitted a report against:[ " + ICOL_PURPLE + plr.Name + ICOL_RED + " ] " + " reason: " + " [ " + msg + " ] ");
- MessagePlayer( white + "** " + orange + " Thanks for your report, admins were notified..If not, please make a report in forum with evidence against the cheater/hacker. ", player );
- MessageAdmins(player,msg);
- } }
- }
- }
- function onScriptLoad()
- {
- antirepspam <- array(GetMaxPlayers(),"");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement