Raised This Month: $ Target: $400
 0% 

set_user_godmode for whole T


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
iplayz
Junior Member
Join Date: Oct 2011
Old 10-04-2011 , 09:33   set_user_godmode for whole T
Reply With Quote #1

Im new to scripting and I wonder if by using 0, instead of id would give the WHOLE team instead of just the person using the command
This is what I got now and only gives the person whos using it godmode
Code:
		case 1:
		{
			if (get_user_team(id) == 2)
			{
				set_user_godmode(id, 1)
				ColorChat(0, RED, "[EventManager]^4 Every CT have received godmode!^3")
				
			}
		}
This is what I was thinking what might work:
Code:
		case 1:
		{
			if (get_user_team(id) == 2)
			{
				set_user_godmode(0, 1)
				ColorChat(0, RED, "[EventManager]^4 Every CT have received godmode!^3")
				
			}
		}
Will the second one work, if not please explain and show me how to make the whole CT team godmode
iplayz is offline
 



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


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