Raised This Month: $ Target: $400
 0% 

Release NadeSkins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gecko
SourceMod Donor
Join Date: Nov 2010
Location: Vancouver, Canada
Old 06-24-2013 , 18:02   Re: NadeSkins
Reply With Quote #1

Could you make it so different grenade types had different models?

e.g. Frag grenade = turtle, Smoke grenade = orange, Flashbang = radio
__________________
"My brain is so left-sided, it isn't even funny... at all."
Gecko is offline
Carnifexe
Member
Join Date: Nov 2004
Old 12-19-2013 , 09:57   Re: NadeSkins
Reply With Quote #2

Any possibility to add sounds to the skins ?
Like
if model = picesofpoo
{
EmitSoundToClient(client, "music/poo.mp3");
}
else
{
dont play a new sound
}

also it will be perfect if you add something like

HookEvent("weapon_fire", eventWeaponFire);
HookEvent("hegrenade_detonate", eventHeDetonate);

public Action:eventWeaponFire(Handle:event, const String:name[], bool:dontBroadcast)
{ }
public Action:eventHeDetonate(Handle:event, const String:name[], bool:dontBroadcast)
{}

also like this but only a check wich model you used

also like this in combile with ours
Code:
import es

def load():
	es.doblock('corelib/noisy_on') 
	download()

def unload():
    	    es.doblock('corelib/noisy_off')

def download():
      		es.stringtable("downloadables", "sound/holy_grenade/throw1.wav")
      		es.stringtable("downloadables", "sound/holy_grenade/explode4.wav")

def weapon_fire(ev):
	if ev["weapon"] == "hegrenade":
            es.cexec_all("play holy_grenade/throw1.wav")

def es_map_start(ev):
    	    download()

def hegrenade_detonate(ev):
         	es.cexec_all("play holy_grenade/explode4.wav")
i beg you for this

Last edited by Carnifexe; 12-19-2013 at 10:30.
Carnifexe is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 06-30-2015 , 11:09   Re: NadeSkins
Reply With Quote #3

This plugin has been throwing me some errors lately, anybody have any clues what might be causing this?

Code:
L 06/29/2015 - 21:26:37: SourceMod error session started
L 06/29/2015 - 21:26:37: Info (map "mg_randomizer_reborn_v1") (file "errors_20150629.log")
L 06/29/2015 - 21:26:37: [SM] Native "SetEntityModel" reported: Entity 168 is not valid
L 06/29/2015 - 21:26:37: [SM] Displaying call stack trace for plugin "store\store-nadeskins.smx":
L 06/29/2015 - 21:26:37: [SM]   [0]  Line 204, /home/casper/Dropbox/GitHub/store-nadeskins/scripting/store-nadeskins.sp::OnGetPlayerNadeSkin()
L 06/29/2015 - 21:30:42: [SM] Native "SetEntityModel" reported: Entity 182 is not valid
L 06/29/2015 - 21:30:42: [SM] Displaying call stack trace for plugin "store\store-nadeskins.smx":
L 06/29/2015 - 21:30:42: [SM]   [0]  Line 204, /home/casper/Dropbox/GitHub/store-nadeskins/scripting/store-nadeskins.sp::OnGetPlayerNadeSkin()
L 06/29/2015 - 21:43:57: Error log file session closed.
__________________
sneaK is offline
Reply


Thread Tools
Display Modes

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 14:27.


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