Raised This Month: $ Target: $400
 0% 

Quick Jump


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
spider853
Senior Member
Join Date: Jul 2006
Old 12-31-2006 , 08:27   Re: Quick Jump
Reply With Quote #1

I MADE'it... WE Made'it.. It Jump...
Now i know how to make the bunnyjump
velocity[0]*=1.2
velocity[1]*=1.2

but now i need to Make The Player Immune To Ground Hit



Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <fakemeta> //#include <fakemeta_util> #include <engine>   #define PLUGIN "Spider" #define VERSION "1.0" #define AUTHOR "JumpMod"   public plugin_init() {  register_plugin(PLUGIN, VERSION, AUTHOR)  register_forward(FM_PlayerPreThink,"pref",0)  // Add your code here... } public pref(id) {  if((pev(id,pev_button) & IN_JUMP) && !(pev(id,pev_oldbuttons) & IN_JUMP) && (pev(id,pev_flags) & FL_ONGROUND))     {         new Float:velocity[3];  pev(id,pev_velocity,velocity);  velocity[0]*=1.5  velocity[1]*=1.5  velocity[2] = 500.0;    set_pev(id,pev_velocity,velocity);     } }

Last edited by spider853; 12-31-2006 at 08:34.
spider853 is offline
Send a message via ICQ to spider853
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 22:23.


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