Raised This Month: $ Target: $400
 0% 

getting players, not working.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-20-2013 , 07:56   Re: getting players, not working.
Reply With Quote #3

yami is right, either those variables are static either they are global and you forget to reset them.

Anyway, would be more efficient to do :

PHP Code:
    get_players playerst_count"ae""TERRORIST" )
    
get_players playersct_count"ae""CT" 
You would have results in 2 lines, and you don't need to ever reset vars.
If you need to use players indexes for something else, then create 2 arrays, like players_t[32], players_ct[32].
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 06:26.


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