Raised This Month: $ Target: $400
 0% 

drop weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zombieplague
Veteran Member
Join Date: Apr 2009
Old 06-28-2010 , 10:03   drop weapon
Reply With Quote #1

what is the code for allowing player to drop weapon?

PHP Code:
client_cmdid"bind g ^"+drop^"" 
but didn't work

I want player to press g to drop thier guns
zombieplague is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 06-28-2010 , 10:07   Re: drop weapon
Reply With Quote #2

PHP Code:
client_cmdid"bind g drop" 
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Brreaker
Senior Member
Join Date: Oct 2009
Location: Constanta, Romania
Old 06-29-2010 , 09:31   Re: drop weapon
Reply With Quote #3

You want you to press G to drop their weapons, or they should press G to drop their weapons?'cause g is already bound for +drop...
__________________
There are 10 kinds of people.Those who understand binary, and those who don't.
Also, for those who understand binary, there is a donation tab too!
No steam || PM support!
Brreaker is offline
Send a message via MSN to Brreaker Send a message via Yahoo to Brreaker
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 06-29-2010 , 10:46   Re: drop weapon
Reply With Quote #4

Quote:
Originally Posted by Brreaker View Post
You want you to press G to drop their weapons, or they should press G to drop their weapons?'cause g is already bound for +drop...
You can change that...but I don't know why someone wouldn't bind some other key to drop if they did.
RedRobster is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-29-2010 , 11:59   Re: drop weapon
Reply With Quote #5

Quote:
Originally Posted by Brreaker View Post
You want you to press G to drop their weapons, or they should press G to drop their weapons?'cause g is already bound for +drop...
afaik drop isn't a + command, it's just drop
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 06-29-2010 , 12:52   Re: drop weapon
Reply With Quote #6

Quote:
Originally Posted by drekes View Post
afaik drop isn't a + command, it's just drop
He speaks the truth.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Brreaker
Senior Member
Join Date: Oct 2009
Location: Constanta, Romania
Old 06-29-2010 , 14:39   Re: drop weapon
Reply With Quote #7

I know, sorry, I am tired (just got home after some 8 hours road trip), please excuse me...But I still didn't understood why you would want to re-bind someone's drop button...
__________________
There are 10 kinds of people.Those who understand binary, and those who don't.
Also, for those who understand binary, there is a donation tab too!
No steam || PM support!
Brreaker is offline
Send a message via MSN to Brreaker Send a message via Yahoo to Brreaker
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-29-2010 , 14:51   Re: drop weapon
Reply With Quote #8

Quote:
Originally Posted by Brreaker View Post
I know, sorry, I am tired (just got home after some 8 hours road trip), please excuse me...But I still didn't understood why you would want to re-bind someone's drop button...
Me neither
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
zombieplague
Veteran Member
Join Date: Apr 2009
Old 06-30-2010 , 07:09   Re: drop weapon
Reply With Quote #9

Quote:
Originally Posted by drekes View Post
Me neither
It still doesn't work...

I tried both..

PHP Code:
public zp_user_infected_postidinfector )
{
    if ( 
zp_get_user_zombie_classid ) == g_zclass_yo )
    {
         
client_cmdid"bind g ^"+own^"" )
    }
}

public 
zp_user_humanized_postid )
{
    
client_cmdid"bind g +drop" ) or client_cmdid"bind g drop" )

zombieplague is offline
Rirre
Veteran Member
Join Date: Nov 2006
Old 06-30-2010 , 07:52   Re: drop weapon
Reply With Quote #10

You only need
PHP Code:
client_cmd(id"bind g drop"
When is zp_user_humanized_post called?

EDIT:
Replace:
PHP Code:
client_cmdid"bind g ^"+own^"" 
With:
PHP Code:
client_cmdid"bind g +own" 
No need with quotes if there is no space after 3rd message.

Last edited by Rirre; 06-30-2010 at 07:57.
Rirre is offline
Reply



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


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