Raised This Month: $ Target: $400
 0% 

get team limit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 01-28-2007 , 14:54   Re: get team limit
Reply With Quote #4

Maby spawns limit teams too. Here's a code to count spawns
Code:
#include <amxmodx> #include <fakemeta> public plugin_init() {     register_plugin("", "", "")         new ent = get_maxplayers(), ctspawns, tspawns     while ((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "info_player_deathmatch")))         tspawns++     ent = 0     while ((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "info_player_start")))         ctspawns++ }

Last edited by [ --<-@ ] Black Rose; 01-28-2007 at 15:09.
[ --<-@ ] Black Rose 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 00:34.


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