Raised This Month: $51 Target: $400
 12% 

whats wrong with this code?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cstrike37
Member
Join Date: Jan 2012
Old 07-10-2013 , 04:32   whats wrong with this code?
Reply With Quote #1

//trash, nvm solved it

Last edited by cstrike37; 05-11-2015 at 13:27.
cstrike37 is offline
radim
Member
Join Date: Jul 2011
Old 07-10-2013 , 06:33   Re: whats wrong with this code?
Reply With Quote #2

Try this:
Code:
public grenade_throw(id,ent,wid) //AFTER EDITING THIS THE SOUND IS NO LONGER WORKING 
{ 
	cs_get_user_model(id, model, charsmax(model)) 
	if(wid == (CSW_HEGREANDE | CSW_FLASHBANG | CS_SMOKEGRENADE))
	{
		if(equal(model, "FGJapan")) 
			emit_sound(id, CHAN_VOICE, "radio/japanese/ct_fireinhole.wav" , 0.9, 0.92, 0, PITCH_NORM)  
		else  
			emit_sound(id, CHAN_VOICE, "radio/default/ct_fireinhole.wav" , 0.9, 0.92, 0, PITCH_NORM)  
		break;
	}
	return PLUGIN_HANDLED 
}
__________________

Last edited by radim; 07-10-2013 at 06:36.
radim is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 07-10-2013 , 07:14   Re: whats wrong with this code?
Reply With Quote #3

LoL Sorry But What did you actually edit dude ?
devilicioux 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 04:25.


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