Raised This Month: $ Target: $400
 0% 

Blocking jumping


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
tpt
Member
Join Date: Jun 2009
Location: Scripting help section
Old 06-11-2009 , 16:55   Re: Blocking jumping
Reply With Quote #8

Here you go,

Code:
#include <amxmodx> #include <fakemeta> #define PLUGIN "block jumping" #define VERSION "1.0" #define AUTHOR "tpt" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR);     register_forward( FM_CmdStart, "fwd_cmdstart" ); } public fwd_cmdstart( id, uc_handle, random_seed ) {     static button; button = get_uc( uc_handle, UC_Buttons );         if( button & IN_JUMP )     {         new Float:fVel[ 3 ];         pev( id, pev_velocity, fVel );         fVel[ 2 ] = float( -abs( floatround( fVel[ 2 ] ) ) )         set_pev( id, pev_velocity, fVel )     } }
tpt 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 13:57.


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