Raised This Month: $ Target: $400
 0% 

Command on WHOLE team


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KyleD
Member
Join Date: Mar 2005
Location: Anchorage, AK
Old 04-04-2005 , 15:47   Command on WHOLE team
Reply With Quote #1

Can anyone explain to me how to make it so I can do a command to the WHOLE team. Example: amx_glow <nick,@CT,@T,> <color>

So what im trying to say is how to do the @CT and @T.

Thanks
__________________
KyleD is offline
Send a message via MSN to KyleD
Bone
Member
Join Date: Mar 2005
Location: Under your bed
Old 04-04-2005 , 16:19  
Reply With Quote #2

this is taken from functions on the home page of amxmodx in cstrike module

Code:
Team Constants:

enum CsTeams {
	CS_TEAM_T = 1,
	CS_TEAM_CT = 2,
	CS_TEAM_SPECTATOR = 3
};
so yeah, try that out and see if it works.
__________________
the shirt covered her face, she screamed and clawed, so billy stomped on the bitch until he broke in her jaw.
Bone is offline
Send a message via MSN to Bone
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 04-04-2005 , 17:29  
Reply With Quote #3

No. Use "find_player" function, with the right flags.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
KyleD
Member
Join Date: Mar 2005
Location: Anchorage, AK
Old 04-04-2005 , 17:39  
Reply With Quote #4

Ah ha. Thanks.
__________________
KyleD is offline
Send a message via MSN to KyleD
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 09:52.


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