Raised This Month: $ Target: $400
 0% 

client_command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 08-05-2010 , 10:31   client_command
Reply With Quote #1

PHP Code:
public client_command(plr)
{
    if( !
is_user_alive(plr) )
    {
        return 
PLUGIN_CONTINUE;
    }
    
    new 
sCommand[10];
    
read_argv(0sCommand9);
    if( 
equali(sCommand"drop"0) && gLastRequest == true && gToss == false  )
    {
        
client_print_colorplrBlue"^4[Jailbreak] ^1You can't drop your weapon during a last request^4!" )
        return 
PLUGIN_HANDLED;
    }
    
    return 
PLUGIN_CONTINUE;

Am I missing something? If its a last request, and gToss isn't true, then it wont let you drop the weapon. But for some reason, even if gToss is true, it lets you drop the weapon..
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX 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 00:11.


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