Raised This Month: $ Target: $400
 0% 

Team v0.1


Post New Thread Reply   
 
Thread Tools Display Modes
RotT-AttAcK
Guest
Old 04-30-2004 , 17:48   Bad load
Reply With Quote #11

I am trying this with cz will it not load i have amxx and many other mods working this one won't

Commando: amx_plugins
Currently loaded plugins:
name version author file status
Admin Base 0.16 AMXX Dev Team admin.amx running
Admin Commands 0.16 AMXX Dev Team admincmd.amx running
Admin Help 0.16 AMXX Dev Team adminhelp.amx running
Slots Reservation 0.16 AMXX Dev Team adminslots.amx running
Menus Front-End 0.16 AMXX Dev Team menufront.amx running
Commands Menu 0.16 AMXX Dev Team cmdmenu.amx running
Players Menu 0.16 AMXX Dev Team plmenu.amx running
Restrict Weapons 0.16 AMXX Dev Team restmenu.amx running
Teleport Menu 0.16 AMXX Dev Team telemenu.amx running
Maps Menu 0.16 AMXX Dev Team mapsmenu.amx running
Anti Flood 0.16 AMXX Dev Team antiflood.amx running
Admin Chat 0.16 AMXX Dev Team adminchat.amx running
Admin Votes 0.16 AMXX Dev Team adminvote.amx running
unknown unknown unknown cs_team.amx bad load
NextMap 0.16 AMXX Dev Team nextmap.amx running
TimeLeft 0.16 AMXX Dev Team timeleft.amx running
Nextmap Chooser 0.16 AMXX Dev Team mapchooser.amx running

thanx in advanc4e
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 04-30-2004 , 19:20  
Reply With Quote #12

what modules are u running
__________________
QwertyAccess is offline
RotT-AttAcK
Guest
Old 05-06-2004 , 14:20   don't know but can't compile urs either i get three errors
Reply With Quote #13

the amxx compiler does not tell me the three errors
RedRaider
Junior Member
Join Date: May 2004
Old 05-26-2004 , 07:58  
Reply With Quote #14

I'm looking for a plugin that can move people to spectator. I prefer to move players that are afk to spectator instead of kicking them.
RedRaider is offline
Burnzy
Veteran Member
Join Date: Apr 2004
Old 05-26-2004 , 09:06  
Reply With Quote #15

i dont like this plugin, i was looking for a amx_teamswitch one, but i found this... pooie
__________________
Burnzy is offline
Send a message via AIM to Burnzy
Burnzy
Veteran Member
Join Date: Apr 2004
Old 05-26-2004 , 09:07  
Reply With Quote #16

__________________
Burnzy is offline
Send a message via AIM to Burnzy
azure
Member
Join Date: Mar 2004
Old 08-01-2004 , 23:35  
Reply With Quote #17

found this one from old amx. Seems to be working ok for me, but not totally sure yet. I would think one of you code masters could clean it up easy enough. I like this because you don't have to wait till they die, it waits till end of round and although it does slay them, it give the frag back.
Code:
/* Version 1.0.0 By Grygrx
Name: Smart Team Swap

File: amx_teamswap.sma

Commands added:
	amx_t <authid or partial nick> [now]
	amx_ct <authid or partial nick> [now]
Purpose:
	Desire for teamchanger with a little more flexibilty.
	Defaults to swapping a person at the end of the current round if they are still alive,
	but can force a player to move instantly using the "now" flag. Players that are moved have
	one frag subtracted during the current round, but it is corrected at the begining of the
	next (see: user_kill(player, 1) ).  Should ignore limitteams and make all swaps.

Tested:
	AMX 0.9.7
	STEAM - 11/9/2003

Credits:Code theft, rearrangement, and tweakage by Grygrx
	Based on Admin Teams, Copyright 2002, PsychoGuard.
	and Bugblatter Team Change Extension - V3.4
	Some code lifted from Olo and JustinHoMi
	Thx: BMJ, FreeCode, XAD, WrG|IceMouse
*/



#include <amxmodx>
#include <amxmisc>

new changecount = 0
new movetarget[32]
new movetype[32]
new cvar_team = 0

public admin_chteam(id, level, cid)
{
   if (!cmd_access(id, level, cid, 2)) return PLUGIN_HANDLED
   new cmd[32], arg[32], arg2[32]

   read_argv(0,cmd,31)
   read_argv(1,arg,31)
   read_argv(2,arg2,31)
   new player = cmd_target(id,arg,1)
   if (!player) return PLUGIN_HANDLED
   if ( (containi(arg2, "now") >= 0) || (!is_user_alive(player)) )
   {
	   new svgui[2]
   	   new param[3]
	   cvar_team = get_cvar_num("mp_limitteams")
   	   set_cvar_num("mp_limitteams",0)
	   user_kill(player, 1)
	   get_user_info(player, "_vgui_menus", svgui, 1)
	   new bool:vgui = (equal(svgui, "1")) ? true : false
	   set_user_info(player, "_vgui_menus", "0")
	   param[0] = player
	   param[1] = (cmd[4]=='t') ? 1 : 2
	   param[2] = (vgui) ? 1 : 0
	   set_task(0.2, "teamswap", 0, param, 3)
	   client_print(player, print_notify, "Admin has transfered you to the other team")
	   set_cvar_num("mp_limitteams",cvar_team)
	   return PLUGIN_HANDLED
   }
   else //player is alive, soft move
   {
	  for (new i=0; i<changecount; i++)
	  {
	  	//Someone has already tried to move the player
	  	if ( movetarget[i] == player )
	  	{
	  		console_print(id,"A move has already been requested on that player")
	  		return PLUGIN_HANDLED
	  	}
	  }
	  movetarget[changecount] = player
	  movetype[changecount] = (cmd[4]=='t') ? 1 : 2
	  changecount++
	  console_print(id,"Player will be switched at the end of the round")
	  return PLUGIN_HANDLED
   }
   return PLUGIN_HANDLED
}


public teamswap( param[] ) {
   engclient_cmd(param[0], "chooseteam")
   engclient_cmd(param[0], "menuselect", (param[1]==1) ? "1" : "2" )
   engclient_cmd(param[0], "menuselect", "5")
   client_cmd(param[0], "slot0");
   set_user_info(param[0], "_vgui_menus", (param[3]==1) ? "1" : "0" )
}

public event_RoundEnd()
{
   if (changecount)
   {
   	cvar_team = get_cvar_num("mp_limitteams")
   	set_cvar_num("mp_limitteams",0)
   	new svgui[2]
   	new param[3]
        for (new i=0; i<changecount; i++)
        {
		get_user_info(movetarget[i], "_vgui_menus", svgui, 1)
		new bool:vgui = (equal(svgui, "1")) ? true : false
	        set_user_info(movetarget[i], "_vgui_menus", "0")
		user_kill(movetarget[i], 1)
		param[0] = movetarget[i]
		param[1] = movetype[i]
		param[2] = (vgui) ? 1 : 0
	   	set_task(0.2, "teamswap", 0, param, 3 )
		client_print(movetarget[i], print_notify, "Admin has transfered you to the other team")

        }
   	set_cvar_num("mp_limitteams",cvar_team)
   	changecount = 0
   }
}

public plugin_init()
{
   register_plugin("Smart Team Swap", "1.0.0", "Grygrx")
   register_concmd("amx_t", "admin_chteam", ADMIN_SLAY, "<authid or partial nick> [now]")
   register_concmd("amx_ct", "admin_chteam", ADMIN_SLAY, "<authid or partial nick> [now]")
   register_logevent("event_RoundEnd",2,"0=World triggered","1=Round_End")
   return PLUGIN_CONTINUE
}
__________________
nohasslecs.com
our CS:Source server : 66.150.107.6:27015
IRC on Gamesurge @ #NHCS
azure is offline
jay7
Senior Member
Join Date: Jun 2004
Old 08-07-2004 , 15:37  
Reply With Quote #18

is this a server-side or client-side plugin?
jay7 is offline
Helix
New Member
Join Date: Jul 2004
Location: United Kingdom
Old 08-08-2004 , 10:11  
Reply With Quote #19

hmm, let me see...metamod runs server side, amxx is a server side metamod plugin, this plugin is for amxx...now i wonder where it runs???

server side just in case you didn't guess from the sarcasm
__________________
-- No Apologies, No Regrets --
Helix is offline
Send a message via MSN to Helix
[707th]Sgt.H0td0gs
Junior Member
Join Date: Apr 2004
Location: Philadelphia, PA
Old 08-08-2004 , 16:52  
Reply With Quote #20

hey Johnny.. sometimes ppl lose their knife..
__________________
visit us at www.707th.net
[707th]PHILLY BLUNTS 1.5 65.39.205.95:27015
[707th]PHILLY BLUNTS 1.6 65.39.205.96:27015
[707th]PHILLY BLUNTS CZ 65.39.205.97:27015
[707th]Sgt.H0td0gs is offline
Send a message via AIM to [707th]Sgt.H0td0gs Send a message via MSN to [707th]Sgt.H0td0gs
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode