Raised This Month: $ Target: $400
 0% 

[Req] [L4dD] Variable gravity specific for hunters only


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gendoakari
Junior Member
Join Date: Sep 2009
Old 09-24-2009 , 21:34   [Req] [L4dD] Variable gravity specific for hunters only
Reply With Quote #1

been trying to create a plugin that checks to see if a player is a hunter and if is changes their gravity.
the file i've added is what ive done so far but my knowledge of this language is limited so it's not working and may not be of any help
Attached Files
File Type: txt new.txt (3.1 KB, 95 views)
gendoakari is offline
olj
Veteran Member
Join Date: Jun 2009
Old 09-25-2009 , 03:22   Re: [Req] [L4dD] Variable gravity specific for hunters only
Reply With Quote #2

Try this one, its quite rough, i rewrite it at office quickly, but it should work, or at least it compiles. I also believe you should use SetEntityGravity function instead of using sourcemod command. And default gravity is 800 - not 1000.
Attached Files
File Type: sp Get Plugin or Get Source (HunterGravity.sp - 319 views - 2.2 KB)
__________________

Last edited by olj; 09-25-2009 at 03:24.
olj is offline
gendoakari
Junior Member
Join Date: Sep 2009
Old 09-25-2009 , 12:02   Re: [Req] [L4dD] Variable gravity specific for hunters only
Reply With Quote #3

thanx alot mate for the help
gendoakari is offline
gendoakari
Junior Member
Join Date: Sep 2009
Old 09-26-2009 , 06:45   Re: [Req] [L4dD] Variable gravity specific for hunters only
Reply With Quote #4

Mod Is finished and now working previous version was not working due to gravity needed to be set to 1 and hungrav .5
Attached Files
File Type: smx HunterGravity.smx (3.2 KB, 60 views)
File Type: sp Get Plugin or Get Source (HunterGravity.sp - 327 views - 2.1 KB)
gendoakari 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 03:52.


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