Raised This Month: $ Target: $400
 0% 

Let a grenade explode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 04-27-2006 , 04:05   Let a grenade explode
Reply With Quote #1

How to let a grenade explode?

Somthing that activates the DLL from CS.
or just some script

He and flashbang grenade.

Thanks,
Ramon
__________________
Um, hi.
Ramono is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-27-2006 , 04:15  
Reply With Quote #2

Code:
entity_set_float(grenade , EV_FL_nextthink , entity_get_float(grenade , EV_FL_nextthink) - 1.0);
or something
__________________
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
VEN
Veteran Member
Join Date: Jan 2005
Old 04-27-2006 , 05:01  
Reply With Quote #3

Think time expanding will not help. You probably confused it with dmgtime.

This method will let grenade explode almost instantly:
Code:
entity_set_float(entid, EV_FL_dmgtime, get_gametime() - 7)

Also take a look here http://forums.alliedmods.net/showthread.php?t=9607
VEN is offline
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 04-27-2006 , 09:45  
Reply With Quote #4

Quote:
Originally Posted by VEN
Think time expanding will not help. You probably confused it with dmgtime.

This method will let grenade explode almost instantly:
Code:
entity_set_float(entid, EV_FL_dmgtime, get_gametime() - 7)

Also take a look here http://forums.alliedmods.net/showthread.php?t=9607
Thanks it works
Added it to plugin Steer nade
(your credit in it)

+k
__________________
Um, hi.

Last edited by Ramono; 03-31-2007 at 04:42.
Ramono 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 05:01.


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