Raised This Month: $ Target: $400
 0% 

User weapon


Post New Thread Reply   
 
Thread Tools Display Modes
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-18-2005 , 15:14  
Reply With Quote #11

So the default speed is indeed 320.0 while running?
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-18-2005 , 15:32  
Reply With Quote #12

Yes, it is, but it will change when you have a different weapon out. As knekter showed you, you have to specify when your code is to be run. You place the register_event that he showed you in the plugin init. This registers the game event of when you change weapons. Then inside the function that is called when they change weapons you run your code, as knekter showed.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-18-2005 , 15:40  
Reply With Quote #13

I want to make it so when you run with the AWP, it doesn't slow you down.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 02-18-2005 , 15:43   come on
Reply With Quote #14

Come on man, you can figure this out lol....

use the CurWeapon event and in the event check if the user has the awp (like in my script above!!!!!!) then set the users maxspeed a little higher. DONE![/small]
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-18-2005 , 16:14  
Reply With Quote #15

Nice, it works now...thanks.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x 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 23:09.


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