Raised This Month: $51 Target: $400
 12% 

[HELP] Giving team godmode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ReyZ
Junior Member
Join Date: Oct 2020
Old 12-04-2020 , 02:20   [HELP] Giving team godmode
Reply With Quote #1

HTML Code:
SetEntProp(CS_TEAM_CT, Prop_Data, "m_takedamage", 0, 1)
Not working please help.
ReyZ is offline
PyNiO
Junior Member
Join Date: Feb 2017
Old 12-04-2020 , 02:46   Re: [HELP] Giving team godmode
Reply With Quote #2

This might work
Code:
for (int client = 1; client < MaxClients; client++)
{
	if (GetClientTeam(client) == CS_TEAM_CT)
		SetEntProp(client, Prop_Data, "m_takedamage", 0, 1);
}
PyNiO is offline
ReyZ
Junior Member
Join Date: Oct 2020
Old 12-04-2020 , 03:20   Re: [HELP] Giving team godmode
Reply With Quote #3

Quote:
Originally Posted by PyNiO View Post
This might work
Code:
for (int client = 1; client < MaxClients; client++)
{
	if (GetClientTeam(client) == CS_TEAM_CT)
		SetEntProp(client, Prop_Data, "m_takedamage", 0, 1);
}
Thanks, it works.
ReyZ 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 02:56.


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