Raised This Month: $ Target: $400
 0% 

iCount not working properly.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
proffs
Senior Member
Join Date: Jul 2013
Old 08-14-2013 , 03:18   Re: iCount not working properly.
Reply With Quote #5

Quote:
Originally Posted by wickedd View Post
Get players should work, just make sure it's being called.

@Black Rose

You don't need to check if he's connected and alive. If he's alive he must be connected.
Here is it being called. It's being called exactly the same on few other games on this plugin.
PHP Code:
public SniperGame()
{
    
g_iCurrentGame GAME_SNIPER
    
    
new iPlayers[32]
    new 
iNum
    
new id
    
    set_cvar_num
("mp_friendlyfire",1)
    
    
get_playersiPlayersiNum"a" )
    for( new 
0iNumi++ )
    {
        
id iPlayers[i
Should be something wrong i think.

And here is a working one that is on few other.
I just want to see what the problem is.


PHP Code:
public Spartaday()
{
    
g_iCurrentGame GAME_SPARTA
    
    
new iPlayers[32]
    new 
iNum
    
new id
    
    get_players
iPlayersiNum"a" )
    
    for( new 
0iNumi++ )
    {
        
id iPlayers[i

Last edited by proffs; 08-14-2013 at 03:44.
proffs 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 15:55.


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