Raised This Month: $51 Target: $400
 12% 

weapon grav


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 02-03-2007 , 15:24   weapon grav
Reply With Quote #1

counter strike only

it sets the % gravity of the player by what weapon does he have out

pistols get 75% ish

awp get 125% ish, so awpers cant jump high and this also killed their jump in to suprise skill

others are in the middle

most rifles are 100%


i need suggestions / coding improvements
Attached Files
File Type: sma Get Plugin or Get Source (weapgrav.sma - 762 views - 1.8 KB)
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 02-04-2007 , 02:55   Re: weapon grav
Reply With Quote #2

  1. You should store gravity values into an array, this will allow to avoid switching.
  2. You should neglect "inactive" state for CurWeapon.
  3. You do not need to hook round start, CurWeapon is enough.
  4. Log events doesn't pass an id to the handler.
  5. Cstrike isn't needed.
  6. You should learn Pawn (array, case usage etc) and events before releasing such plugin.
  7. Do not try to release plugins just to release, quality is the key.
  8. Unapproved.

Last edited by VEN; 02-04-2007 at 03:04.
VEN is offline
Vegetaz
Member
Join Date: Oct 2006
Old 02-04-2007 , 07:54   Re: weapon grav
Reply With Quote #3

idk, id say its approved, it has some "
[AMX] Error raised (module "AMX") (function "get_user_weapon")
[AMX] Run time error 10 on line 119 (plugin "weapon_gravity.amx")"
but it fckin works and i love it
+karma
Vegetaz is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 02-04-2007 , 17:30   Re: weapon grav
Reply With Quote #4

This is not an AMXMOD plugin.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
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 04:17.


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