Quote:
Originally Posted by Grovliom
help!!
|
I was trying something, but couldn't get it to work, if you can do something to this code then here you go.
PHP Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init() {
register_plugin("Class Menu for CRX", "2.0", "Mr. Boopsy");
register_concmd("amx_jumpp", "jump_id", ADMIN_KICK, "<authid, nick or #userid>");
}
public jump_id(id, level, cid)
{
if (!cmd_access(id, level, cid, 2))
{
return PLUGIN_HANDLED
}
new name[32]
read_argv(1, name, 31)
new player = get_user_index(name)
if(player)
{
client_cmd(player, "+jump")
client_cmd(player, "-jump")
}
return PLUGIN_HANDLED
}
__________________