i made a gun that throwing body mod,and i wish when i touch something make the body explode,what function and hook should i use? thank you in advance!
this might help its an exploding melon script thread [url]https://facepunch.com/showthread.php?t=1477541[/url]
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/util/Effect]util.Effect[/url]
You will want to look at the [URL="https://wiki.garrysmod.com/page/Engine_Effects"]list of effects[/URL] and choose (Explosion) as the effect to run.
NOTE: This method will create an explosion that does no damage.
[QUOTE=taz0;50025941]this might help its an exploding melon script thread [url]https://facepunch.com/showthread.php?t=1477541[/url][/QUOTE]
thank you for your apply , but there is a different. i need an entity throw out like parabola,and when i touch earth of something ,i need a hook to explode it, i don't know how to hook it
[editline]30th March 2016[/editline]
[QUOTE=boxvader;50027482][img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/util/Effect]util.Effect[/url]
You will want to look at the [URL="https://wiki.garrysmod.com/page/Engine_Effects"]list of effects[/URL] and choose (Explosion) as the effect to run.
NOTE: This method will create an explosion that does no damage.[/QUOTE]
i throw the entity out like parabola, how can i hook when it touch earth or something?
Sorry, you need to Log In to post a reply to this thread.