Raised This Month: $ Target: $400
 0% 

Adding speed!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
olari9
Senior Member
Join Date: May 2009
Old 07-19-2011 , 06:27   Adding speed!
Reply With Quote #1

Hi, i wanted to ask wich native is best for adding speed for specified class? Thanks!
__________________
olari9 is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-19-2011 , 06:59   Re: Adding speed!
Reply With Quote #2

set_user_maxspeed()

You may also want to read this thread: http://forums.alliedmods.net/showthread.php?t=94331
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
olari9
Senior Member
Join Date: May 2009
Old 07-19-2011 , 07:15   Re: Adding speed!
Reply With Quote #3

Thank you! I dont want to creat anather thread so il ask here, how to add gravity to specified class?
__________________
olari9 is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-19-2011 , 08:20   Re: Adding speed!
Reply With Quote #4

set_user_gravity()
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
olari9
Senior Member
Join Date: May 2009
Old 07-19-2011 , 17:59   Re: Adding speed!
Reply With Quote #5

Ty again! BTW the set_user_maxspeed wont work for some reason!
__________________
olari9 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-19-2011 , 18:01   Re: Adding speed!
Reply With Quote #6

Quote:
Originally Posted by olari9 View Post
Ty again! BTW the set_user_maxspeed wont work for some reason!
Because speed is reset on the current weapon message (everytime your weapon changes in you hand IIRC). Search how to do it.

Search for "CurWeapon speed" in just the scripting help forum.
__________________
fysiks is offline
Honors
Member
Join Date: Jul 2011
Old 07-20-2011 , 04:40   Re: Adding speed!
Reply With Quote #7

You should hook Ham_Item_PreFrame.
Honors is offline
olari9
Senior Member
Join Date: May 2009
Old 08-15-2011 , 17:54   Re: Adding speed!
Reply With Quote #8

fysiks, i only have the knife for my classes.
__________________
olari9 is offline
APPLESAUCE
Junior Member
Join Date: Aug 2011
Old 08-15-2011 , 18:47   Re: Adding speed!
Reply With Quote #9

How are you using the set_user_maxspeed() and set_user_gravity() natives? Show us the code.
APPLESAUCE is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-15-2011 , 19:07   Re: Adding speed!
Reply With Quote #10

They are both links.
Click on them to get a description.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
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 00:47.


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