AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Command on WHOLE team (https://forums.alliedmods.net/showthread.php?t=12076)

KyleD 04-04-2005 15:47

Command on WHOLE team
 
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

Bone 04-04-2005 16:19

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.

Twilight Suzuka 04-04-2005 17:29

No. Use "find_player" function, with the right flags.

KyleD 04-04-2005 17:39

Ah ha. Thanks.


All times are GMT -4. The time now is 09:52.

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