AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How do it? (https://forums.alliedmods.net/showthread.php?t=147188)

~Ice*shOt 01-06-2011 08:47

How do it?
 
If I choose random player in to "zombies" eg zombies team "T", how do all other players (that will be not zombies) trasfer to "CT" team? How do it, can post code?

Elusive138 01-06-2011 08:52

Re: How do it?
 
http://www.amxmodx.org/funcwiki.php?...team&go=search

~Ice*shOt 01-06-2011 13:02

Re: How do it?
 
Yes i know how change teams.... but i need how do it after first infection, how count players and trasfer he to ct and only first infected is trasfering in t

Jelle 01-06-2011 13:27

Re: How do it?
 
If I am not totally wrong there is a forward which is called right after the infection has started. I take it that you are using zombie plague, since you have not given any information about what you want it for.

Just was that forward and then make the user change team with cs_set_user_team().

~Ice*shOt 01-07-2011 05:17

Re: How do it?
 
don't understand. ://


All times are GMT -4. The time now is 02:08.

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