Warn Plugin on any server! - Printable Version +- LamdaProCS - Gaming Community - Forum (https://forum.lamdaprocs.in) +-- Forum: GENERAL DISCUSSION (https://forum.lamdaprocs.in/forumdisplay.php?fid=7) +--- Forum: #PLUGINS, SCRIPTING, MODS (https://forum.lamdaprocs.in/forumdisplay.php?fid=130) +---- Forum: Plugins + SMA (https://forum.lamdaprocs.in/forumdisplay.php?fid=135) +---- Thread: Warn Plugin on any server! (/showthread.php?tid=3541) |
Warn Plugin on any server! - Raymond Reddington - 07-19-2018 Hello, guys! Are you bored of warning people normally through chat and giving them opportunity to show their innocence? I've scripted my plugin for warning people which took me 5 minutes.. What is it and how it works? It is a simple script programmed in AMXX Studio that allows administrators to warn every player on the server, after 3 successful warnings, player will be automatically kicked out from the server. After being kicked and connected back, his warnings will be all restarted. How to use it as administrator? All you have to know is that you have to write a special command into the chat which will trigger the warn function. Special command consists of the main command and two arguments - first must be filled and second does not have to be (if you don't want to show server the reason why you warned player). Command syntax: /warn [ID] [reason] In-game command syntax: /warn 1 dont go 2vs1 Where can I find player's ID? Every player on the server has unique ID that makes him specific. According to this ID, you are able to give player weapon, make him disappear, or warn him . But how can I exactly find it out? All you have to know is that you have to write a command in the console. Command: status You'll see something like this: PHP Code: # name userid uniqueid frag time ping loss adr These are your values you're looking for: #1, #2, #3, #4 (use it in chat without HASHTAGS!) End Hope you approve my plugin find it useful for you . If anyone of you knows how to improve plugin - what to add inside it let me know, guys! Would be glad for every idea you give me.
Download link
Download link: warnplugin.amxx RE: Warn Plugin on any server! - Veicis - 07-19-2018 (07-19-2018, 10:26 AM)Reddington Wrote: Hello, guys!The whole concept aounds decent enough. Tho - ID could be changed to the nick as it would simply would be much easier. And also reseting after re-connect could be some why configured. As in to having a few min ban up to 5 min or so. Overall good job. And will consider it. RE: Warn Plugin on any server! - Raymond Reddington - 07-19-2018 I can do that in next updates. Currently I'm working on something else for you. But I'll have to do it once I come back from vacation. If you approve it, you could place it on Knife server because we would not be forced to kick people for what they did.. or on any server.. its up to you, tho. RE: Warn Plugin on any server! - Veicis - 07-19-2018 (07-19-2018, 12:42 PM)Reddington Wrote: I can do that in next updates. Currently I'm working on something else for you. But I'll have to do it once I come back from vacation. Well i'm more less only intrested for DD2 Moded servers are all for Swarm Hunter Enjoy ur Vacation tho RE: Warn Plugin on any server! - Raymond Reddington - 07-19-2018 Thanks |