Need Plugin AMXX

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Need Plugin AMXX

Re: Need Plugin AMXX

by dogfire » Thu Mar 21, 2013 5:37 pm

Check alliedmods.net

In particular try this plugin: http://forums.alliedmods.net/showthread.php?t=300

I only took a quick look but it looks like it should function correctly. These plugins are quite simple to make if you only check player vectors, I think that's all this one does.

If it doesn't work I may be gracious enough to make you one out of my own curiosity. Cheers.

Re: Need Plugin AMXX

by Bibop_^ » Thu Mar 21, 2013 9:59 am

not for a match server, for a public server 32slots.

Re: Need Plugin AMXX

by acetamino » Thu Mar 21, 2013 9:56 am

also Im pretty sure these types of plugins are illegal on match servers

Re: Need Plugin AMXX

by acetamino » Thu Mar 21, 2013 9:56 am

Need Plugin AMXX

by Bibop_^ » Thu Mar 21, 2013 8:50 am

Hi all,

I'm looking for someone who can make the automatic plugin, and move the AFK into spectator after 30 seconds.

Code: Select all

/*
* Send player to spectator
*/
#include <amxmodx>
#include <amxmisc>
 
#define PLUGIN "AMXX_Spec"
#define VERSION "1.0"
#define AUTHOR "Vet(3TT3V)"
 
public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_concmd("admin_spec", "playerspec", ADMIN_KICK, "<name or #userid> Send player to Spectator")
}
 
public playerspec(id, level, cid)
{
    if (!cmd_access(id, level, cid, 2))
        return PLUGIN_HANDLED
    new arg[32]
    read_argv(1, arg, 31)
    new player = cmd_target(id, arg, 1)
    if (!player)
        return PLUGIN_HANDLED
 
    new curteam[16]
    get_user_team(player, curteam, 15)
    if (curteam[0])
        engclient_cmd(player, "jointeam", "3")
 
    return PLUGIN_HANDLED
}

Top