SHOW:
|
|
- or go back to the newest paste.
1 | else if(cmd=="report") | |
2 | { | |
3 | if(!text) MessagePlayer( dic + "** Use /report <player name> <reason>",player); | |
4 | else | |
5 | { local temp = GetTok(text," ",1); | |
6 | local plr = FindPlayer(temp); | |
7 | if((plr!=null) && antirepspam[player.ID]==plr.Name) MessagePlayer("[#FFFFFF]You've already reported this player!",player); | |
8 | else { | |
9 | - | { |
9 | + | |
10 | - | EchoNotice("%#jay", ICOL_RED + "[REPORT] > " + ICOL_PURPLE + player.Name + ICOL_RED + " submitted a report against:[ " + ICOL_PURPLE + plr.Name + ICOL_RED + " ] " + " reason: " + " [ " + msg + " ] "); |
10 | + | |
11 | { antirepspam[player.ID] = plr.Name; | |
12 | EchoNotice("%#BOV4", ICOL_RED + "[REPORT] > " + ICOL_PURPLE + player.Name + ICOL_RED + " submitted a report against:[ " + ICOL_PURPLE + plr.Name + ICOL_RED + " ] " + " reason: " + " [ " + msg + " ] "); | |
13 | 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 ); | |
14 | MessageAdmins(player,msg); | |
15 | ||
16 | - | } |
16 | + | |
17 | ||
18 | } } | |
19 | - | stats <- array( GetMaxPlayers(), null ); |
19 | + | |
20 | } | |
21 | ||
22 | function onScriptLoad() | |
23 | { | |
24 | antirepspam <- array(GetMaxPlayers(),""); | |
25 | } |