AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How do i disable grenades getting exploded? (https://forums.alliedmods.net/showthread.php?t=184476)

Bilal Pro 05-05-2012 16:25

How do i disable grenades getting exploded?
 
Hello there,

Title says all, if you still didn't understood.

How can i block the explosive of a HE grenade?

Liverwiz 05-05-2012 16:52

Re: How do i disable grenades getting exploded?
 
The sprite of the explosion? or the damage done thereby? or both?

Might i suggest blocking HEgreandes from ever equipping if you don't want them there.

Bilal Pro 05-05-2012 16:55

Re: How do i disable grenades getting exploded?
 
Both, im trying to make a dodgeball game

Liverwiz 05-05-2012 17:32

Re: How do i disable grenades getting exploded?
 
Dodgeball game?

entity_touch- nade >touch> player
player respawn
thrower +1 frag & player +1 death

or

let the nades throw and explode, and have the explosion only effect a single person.

mottzi 05-05-2012 17:38

Re: How do i disable grenades getting exploded?
 
No, just hook the Think of the Grenade and check if it will explode => then block it.

Also: Search before posting.

Bilal Pro 05-05-2012 18:06

Re: How do i disable grenades getting exploded?
 
Yeah that was my question, how can i check if its going to explode?

Xalus 05-05-2012 18:51

Re: How do i disable grenades getting exploded?
 
Stop beiing lazy.
And watch 'Nade Modes' or something,
there are plugin that does it. So go check them?

...

Liverwiz 05-05-2012 18:57

Re: How do i disable grenades getting exploded?
 
Quote:

Originally Posted by Xalus (Post 1702923)
Stop beiing lazy.
And watch 'Nade Modes' or something,
there are plugin that does it. So go check them?

...

i wants to sell his own shitty scripts. Make money off of slinging crap.

Bilal Pro 05-05-2012 19:01

Re: How do i disable grenades getting exploded?
 
I already looked inside the script couldn't find anything because maybe i dont know how it looks like?

Liverwiz 05-05-2012 19:27

Re: How do i disable grenades getting exploded?
 
Quote:

Originally Posted by Bilal Pro (Post 1702937)
I already looked inside the script couldn't find anything because maybe i dont know how it looks like?

FUCKING READ IT! Get literate in code and you'll be able to pull random functions and make them work.


All times are GMT -4. The time now is 00:31.

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