Raised This Month: $ Target: $400
 0% 

cs_get_user_team error invalid player 8


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
proffs
Senior Member
Join Date: Jul 2013
Old 03-22-2014 , 11:24   cs_get_user_team error invalid player 8
Reply With Quote #1

Code:
L 03/22/2014 - 09:58:08: [CSTRIKE] Invalid player 8
L 03/22/2014 - 09:58:08: [AMXX] Displaying debug trace (plugin "noohshop.amxx")
L 03/22/2014 - 09:58:08: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 03/22/2014 - 09:58:08: [AMXX]    [0] nooblevel.sma::noobshop (line 406)


PHP Code:
public levelmodid )

{

        if( 
get_pcvar_numglevelon ) != )

        {

                
ColorChatidGREY"^x04%s^x03 The shop is under^4 Construction^3! It will be opened again soon."prefix)

                return 
PLUGIN_HANDLED

        
}

        

        if( 
cs_get_user_teamid ) == CS_TEAM_CT )

        {

                return 
PLUGIN_HANDLED

        
}

 

        new 
szText555 char ]

        
formatexszTextcharsmaxszText ), "\wnoob^n\WWW.dfgdfg/^n\rJB Dollar:\d %d^n\rPage:\d^n\dNades:"gKillerPointsid ] )

        new 
menu menu_createszText"shop_handler" )


    
        
formatexszTextcharsmaxszText ), "\wHE Nade \y%d\w JB Dollar",  get_pcvar_numgHeCost ) )

        
menu_additemmenuszText"1")
    
        
    

        
menu_setpropmenuMPROP_EXITMEXIT_ALL )

        
menu_displayidmenu)

 

        return 
PLUGIN_HANDLED


Instead of it returning can I make color chat instead like: This is only for Terrorist?

Last edited by proffs; 03-22-2014 at 11:25.
proffs is offline
 


Thread Tools
Display Modes

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:03.


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