Raised This Month: $ Target: $400
 0% 

execute a comand on a team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-03-2009 , 00:10   Re: execute a comand on a team
Reply With Quote #6

@hlev, this is not an array and may confuse people. I'm sure you are aware and it is just a typo.

PHP Code:
new g_MaxPlayers;  // Global array which will hold the numer of max players
g_MaxPlayers get_maxplayers();  // Get max players and store it in our array 
Quote:
Originally Posted by fysiks View Post
@Snow & HleV

I think you both will get runtime errors for checking the team of an empty slot.

(I always get runtime errors for checking the team of empty slots)
In that case, an is_user_connected() will also be in order.
__________________

Last edited by Bugsy; 03-03-2009 at 00:15.
Bugsy 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 17:09.


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