Raised This Month: $ Target: $400
 0% 

Autobinding error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MmikiM
Senior Member
Join Date: Nov 2006
Location: Poland
Old 03-09-2013 , 14:14   Autobinding error
Reply With Quote #1

Probably after updates it stopped working
Quote:
Server tried to send invalid command:"bind p +setlaser
PHP Code:
public zp_extra_item_selected(playeritemid)
{
    if (
itemid == g_itemid_lminas)
    {
        
cmd_bind(player)
        
BuyLasermine(player)
    }

}
public 
cmd_bind(id)
{
    
//new Lcount
    //Lcount = g_havemine[id]
    
if ( get_pcvar_num(g_LCMDMODE) == )
    {
        if ( 
get_pcvar_num(g_BINDMODE) == )
        {
            
client_print(idprint_chat"%s %s",CHATTAG,STR_BOUGHT)
            
client_print(idprint_chat"[ZP] You have %i Laser Mines"g_havemine[id]+1)
            
client_cmd(id,"bind p +setlaser");
            return 
PLUGIN_HANDLED
        
}
        
client_print(idprint_chat"%s %s",CHATTAG,STR_BOUGHT3)
        
client_print(idprint_chat"[ZP] You have %i Laser Mines"g_havemine[id]+1)
        return 
PLUGIN_HANDLED
    
    
}
    if ( 
get_pcvar_num(g_LCMDMODE) == )
    {
        
client_print(idprint_chat"%s %s",CHATTAG,STR_BOUGHT2)
        
client_print(idprint_chat"[ZP] You have %i Laser Mines"g_havemine[id]+1)
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_CONTINUE

Any ideas?
__________________


Projects:
Zombie Elite - Technical: 100% Looking for models and sounds...
CS:Source Zombie -
Work in progress...

Last edited by MmikiM; 03-09-2013 at 14:15.
MmikiM 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 21:41.


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