AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Terrorist Check (https://forums.alliedmods.net/showthread.php?t=129776)

edgaras85 06-16-2010 17:47

Terrorist Check
 
PHP Code:

for (new Client 1Client <= g_MaxPlayersClient++)
                  {
                          if (
cs_get_user_team(Client) != CS_TEAM_T)
                                  continue; 

It checks all terrorist how to make that Bot would not check...
Because it counts like 1 player i dont need to count bot...

drekes 06-16-2010 18:14

Re: Terrorist Check
 
PHP Code:

if (cs_get_user_team(Client) != CS_TEAM_T || is_user_bot(Client)) 


edgaras85 06-16-2010 18:30

Re: Terrorist Check
 
Thanks :P


All times are GMT -4. The time now is 14:48.

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