Raised This Month: $32 Target: $400
 8% 

Team Changer


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 02-08-2005 , 07:19   Team Changer
Reply With Quote #1

I was searching for a command to change a players team in counter-strike and didnt really find one.

So i made one myself.

Thanks to XxAvalanchexX and Xeroblood for help.


How to use:
"amx_team_t <name>" Makes the player change to terrorists team.
"amx_team_ct <name>" Makes the player change to counter-terrorists team.
"amx_team_s <name>" Makes the player change to spectator.


Update 1.2
Changed all commands to "amx_team_t", "amx_team_ct" and "amx_team_s".
Now the player gets killed when command is used.

Update 1.1
Added command amx_teams. Makes a player change to spectator.
Attached Files
File Type: sma Get Plugin or Get Source (amx_team.sma - 5247 views - 1.8 KB)
XunTric is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-08-2005 , 12:52  
Reply With Quote #2

Quote:
Now the player gets killed when command is used.
Why? It's not necessary. :-]

BTW: http://forums.alliedmods.net/showthread.php?t=344
Johnny got his gun is offline
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 02-08-2005 , 14:51  
Reply With Quote #3

hehe I used to abuse jghg's plugin so badly.. lol o and xun there are a couple of these plugin around man.
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 02-08-2005 , 16:14  
Reply With Quote #4

maybe you can use them both in one plugin like when you transfer a player to t he respawn again
__________________
- Bye bye!
nightscreem is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-08-2005 , 16:44  
Reply With Quote #5

I also abuse it. When someone WTJs or something, I just change his team while he is standing next to me in spawn within my crosshairs, and then I go boom. Surprise!!
Johnny got his gun is offline
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 02-09-2005 , 07:17  
Reply With Quote #6

Thats strange because i didnt find a plugin like that when i searched on plugin list... Well, just my bad eyes lol But wont this get approved anyway?
XunTric is offline
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 02-09-2005 , 08:19  
Reply With Quote #7

is it not built into AMXX? amxmodmenu, team menu? I guess I'm mistaken...
__________________
f1del1ty.oXi is offline
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 02-10-2005 , 08:14  
Reply With Quote #8

Quote:
Originally Posted by f1del1ty.oXi
is it not built into AMXX? amxmodmenu, team menu? I guess I'm mistaken...
Umm... Dont think so!
I just started learning this mod and dont know how to do that hehe.
Just tell me how and ill add it to amxmodmenu
XunTric is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-10-2005 , 15:23  
Reply With Quote #9

It indeed is. Difference is switching teams without killing someone really isn't.
Johnny got his gun is offline
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 02-11-2005 , 12:35  
Reply With Quote #10

Quote:
Originally Posted by Johnny got his gun
It indeed is. Difference is switching teams without killing someone really isn't.
Ill try to add something on it then that you dont have so i get this approved
XunTric is offline
Reply


Thread Tools
Display Modes

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 18:32.


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