Raised This Month: $ Target: $400
 0% 

Blocking button


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mr. Frost
Member
Join Date: Nov 2011
Location: Atlantis
Old 12-04-2011 , 13:34   Re: Blocking button
Reply With Quote #1

brian201049, this also doesn't work.

I tried this:
PHP Code:
#include <amxmodx>
#include <hamsandwich>
public plugin_init()
     
RegisterHam(Ham_Player_Jump"player""player_jump"0);
public 
player_jump(id)
     return 
HAM_SUPERCEDE
But it also doesn't work. Why!?

Last edited by Mr. Frost; 12-04-2011 at 14:04.
Mr. Frost is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-04-2011 , 16:39   Re: Blocking button
Reply With Quote #2

My way works fine in my plugin.
__________________
You can do anything you set your mind to, man.

Devil259 is offline
Mr. Frost
Member
Join Date: Nov 2011
Location: Atlantis
Old 12-04-2011 , 23:55   Re: Blocking button
Reply With Quote #3

Hmm, I tested your plugin on podbots, they could not move and shoot, but they ducked and jumped.
Mr. Frost is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-05-2011 , 01:08   Re: Blocking button
Reply With Quote #4

You can blo Ham or Duck with ham, those functions only update animations or things like that.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-05-2011 , 05:29   Re: Blocking button
Reply With Quote #5

Quote:
Originally Posted by Mr. Frost View Post
Hmm, I tested your plugin on podbots, they could not move and shoot, but they ducked and jumped.
Quote:
Originally Posted by Devil259 View Post
A freezed bot can jump even if af_allow_jump is set on "0"
I think he can because a bot is not a "player" entity. (cf. RegisterHam( Ham_Player_Jump , "player" , ... )
__________________
You can do anything you set your mind to, man.

Devil259 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 11:48.


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