Raised This Month: $ Target: $400
 0% 

function get_players error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MasterKy
Junior Member
Join Date: Aug 2009
Old 09-02-2009 , 13:56   function get_players error
Reply With Quote #1

PHP Code:
public ultimoPlayer(){
    
server_cmd("amx_execall spk misc/roaring")
    
get_players gi_playersgi_playercnt"a")
    
    for ( 
gi_playernum 0gi_playernum gi_playercntgi_playernum++ )
    {
        
gi_playerID gi_players[gi_playernum]
        
        
set_user_health(gi_playerID,100)
        
set_user_godmode(gi_playerID,0)
        
visivel(gi_playerID)
    }
}

public 
ultimoPlayerSetModel(){
        
get_players gi_playersgi_playercnt"ah""CS_TEAM_T" )
    
    for ( 
gi_playernum 0gi_playernum 1gi_playernum++ )
    {
        
gi_playerID gi_players[gi_playernum]
        
        
cs_set_user_model(gi_playerID,"gign")
client_print(0,print_chat"O ultimo TR agora esta com roupa de CT! Cuidado!!")
        
    }

this dont work, only the
server_cmd("amx_execall spk misc/roaring")

what is the error in this?
thanks!!
MasterKy 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 14:59.


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