Raised This Month: $ Target: $400
 0% 

Duck


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-03-2009 , 13:27   Re: Duck
Reply With Quote #5

Player speed is still decreased, but he can't duck.
La vitesse du joueur est toujours diminiuée mais il ne peut pas s'accroupir.

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>

#define VERSION "0.0.1"

public plugin_init()
{
    
register_plugin("No Duck"VERSION"ConnorMcLeod")
    
RegisterHam(Ham_Player_Duck"player""Player_Duck")
}

public 
Player_Duckid )
{
//    set_pev(id, pev_button, pev(id, pev_button) & ~IN_DUCK)
    
set_pev(idpev_oldbuttonspev(idpev_oldbuttons) | IN_DUCK)


Quote:
Originally Posted by TheRadiance View Post
sorry.
arkshine said that it won't work via duck it's client-side feature.

but anyway, i hope my code is correct.
It's not really that, players movements are not done from CmdStart.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 07-03-2009 at 14:49.
ConnorMcLeod 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 15:26.


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