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-30-2010 , 09:10   Re: drop weapon
Reply With Quote #1

Quote:
Originally Posted by Rirre View Post
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.
I tried client_cmd(id, "bind g drop" ) but didn't work
zombieplague is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-30-2010 , 09:50   Re: drop weapon
Reply With Quote #2

It's
PHP Code:
client_cmd(id"bind g drop"); 
But you say it didn't work. So i ask if you are sure if that code is executed.
__________________

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 , 10:07   Re: drop weapon
Reply With Quote #3

Quote:
Originally Posted by drekes View Post
It's
PHP Code:
client_cmd(id"bind g drop"); 
But you say it didn't work. So i ask if you are sure if that code is executed.
I tried still doesn't work.
zombieplague is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-30-2010 , 10:12   Re: drop weapon
Reply With Quote #4

i tried with this code, and this works fine. So i'm pretty sure your code is not executed.
PHP Code:
#include <amxmodx>

public plugin_init()
    
register_clcmd("say /bind""cmd_bind");

public 
cmd_bind(id)
    
client_cmd(id"bind g drop"); 
__________________

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 , 10:19   Re: drop weapon
Reply With Quote #5

Quote:
Originally Posted by drekes View Post
i tried with this code, and this works fine. So i'm pretty sure your code is not executed.
PHP Code:
#include <amxmodx>
 
public plugin_init()
    
register_clcmd("say /bind""cmd_bind");
 
public 
cmd_bind(id)
    
client_cmd(id"bind g drop"); 
How do i execute properly ?

PHP Code:
public zp_user_humanized_postid )
{
    
client_cmdid"bind g +drop" ) or client_cmdid"bind g drop" )
    
remove_taskid )

zombieplague is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-30-2010 , 11:01   Re: drop weapon
Reply With Quote #6

PHP Code:
public zp_user_humanized_post(id)
{
    
client_cmd(id"bind g drop");
    
remove_task(id);

__________________

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 07-01-2010 , 08:51   Re: drop weapon
Reply With Quote #7

Quote:
Originally Posted by drekes View Post
PHP Code:
[color=#000000]public zp_user_humanized_post(id)
[color=#000000]{[/color]
[color=#000000]    client_cmd(id, "bind g drop");[/color]
[color=#000000]    remove_task(id);[/color]
[color=#000000]}[/color]
[color=#000000][/color][/color] 
It doesn't work....
zombieplague is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 07-01-2010 , 13:07   Re: drop weapon
Reply With Quote #8

Why are you helping him? It's slowhacking.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-01-2010 , 13:43   Re: drop weapon
Reply With Quote #9

Quote:
Originally Posted by DruGzOG View Post
Why are you helping him? It's slowhacking.
I thought this was legal because it is a default bind.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 07-01-2010 , 14:53   Re: drop weapon
Reply With Quote #10

Quote:
Originally Posted by drekes View Post
I thought this was legal because it is a default bind.
It doesn't matter if it's a default bind. I've changed around quite a few of mine and I wouldn't want those reverted as it would mess it up for me good.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
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