Raised This Month: $ Target: $400
 0% 

Team changing with out killing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
purple nurple
Senior Member
Join Date: Jun 2007
Location: US Missouri
Old 11-25-2007 , 18:38   Team changing with out killing
Reply With Quote #1

Is there a way to change someones team with out killing them?
purple nurple is offline
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 11-25-2007 , 19:06   Re: Team changing with out killing
Reply With Quote #2

Yes there is, you might search for advance team transfer or something like that.
__________________
hugz` is offline
Send a message via AIM to hugz`
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 11-26-2007 , 01:22   Re: Team changing with out killing
Reply With Quote #3

cs_set_user_team()
cs_reset_user_model()
[ --<-@ ] Black Rose is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 11-26-2007 , 09:01   Re: Team changing with out killing
Reply With Quote #4

There is a plugin up here, by jghg with team transfer without killing, and respawn.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-26-2007 , 09:23   Re: Team changing with out killing
Reply With Quote #5

from amx2006.3 plmenu.sma, fm converted :

Code:
stock setUserTeam_cs(index,team,respawn=0,updatescoreboard=1) {   if(is_user_connected(index)) {     if(team >= 0 && team <= 3) {       set_pdata_int(index, 114, team)       if(is_user_alive(index)) {         engclient_cmd(index, "drop", "weapon_c4")         if(team != 2) {           new defuser = get_pdata_int(index, 193)           if(defuser & (1<<16)) {             defuser -= (1<<16)             set_pdata_int(index, 193, defuser)           }           message_begin(MSG_ONE, get_user_msgid("StatusIcon"), {0,0,0}, index)           write_byte(0)           write_string("defuser")           write_byte(0)           write_byte(255)           write_byte(0)           message_end()         }       }       if(respawn) {         new health = get_user_health(index)         new armor = get_user_armor(index)         set_pev(index, pev_spawnflags, 3)         dllfunc(DLLFunc_Spawn, index)         set_pev(index, pev_iuser1, 0)         set_pev(index, pev_health, float(health))         set_pev(index, pev_armorvalue, float(armor))       }       if(updatescoreboard) {         message_begin(MSG_ALL, get_user_msgid("TeamInfo"))         write_byte(index)         switch(team) {           case 1: write_string("TERRORIST")           case 2: write_string("CT")         }         message_end()       }       return 1     }   }   return 0 }
ConnorMcLeod is offline
djmd378
Senior Member
Join Date: Sep 2004
Old 11-26-2007 , 23:40   Re: Team changing with out killing
Reply With Quote #6

easiest way is to do what black rose said
__________________
djmd378 is offline
purple nurple
Senior Member
Join Date: Jun 2007
Location: US Missouri
Old 11-27-2007 , 20:30   Re: Team changing with out killing
Reply With Quote #7

Quote:
Originally Posted by djmd378 View Post
easiest way is to do what black rose said
It doesn't?

Last edited by purple nurple; 12-01-2007 at 21:17.
purple nurple is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 11-28-2007 , 01:21   Re: Team changing with out killing
Reply With Quote #8

No it doesn't.
[ --<-@ ] Black Rose is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 11-29-2007 , 08:06   Re: Team changing with out killing
Reply With Quote #9

Quote:
Originally Posted by purple nurple View Post
Yes but that kills the person silly
lawl, no it doesn't. -.-'
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
purple nurple
Senior Member
Join Date: Jun 2007
Location: US Missouri
Old 11-27-2007 , 20:29   Re: Team changing with out killing
Reply With Quote #10

Thanks connorr i will try that!
purple nurple is offline
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 01:19.


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