Raised This Month: $ Target: $400
 0% 

nvm


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iStrike
Member
Join Date: May 2012
Old 05-06-2012 , 10:56   nvm
Reply With Quote #1

nvm

Last edited by iStrike; 09-14-2012 at 08:41.
iStrike is offline
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 05-06-2012 , 16:16   Re: Help
Reply With Quote #2

If you want to turn off all of the player sounds then you will have to do like this:

<snip>

Last edited by Exolent[jNr]; 05-07-2012 at 09:50. Reason: Removed slowhacking code.
usaexelent is offline
Send a message via Skype™ to usaexelent
Insidious
New Member
Join Date: May 2012
Old 05-07-2012 , 02:57   Re: Help
Reply With Quote #3

Quote:
Originally Posted by usaexelent View Post
If you want to turn off all of the player sounds then you will have to do like this:

<snip>
no. he means when player write /sound it will check if the plugin is on/off, when plugin on player will hear the sounds of is plugin, when plugin is off player will not hear the sounds of is plugin.

I'm Right Omer?
__________________
Jailbreak Darkness [PAUSED]

Last edited by Exolent[jNr]; 05-07-2012 at 09:50. Reason: Removed slowhacking code.
Insidious is offline
iStrike
Member
Join Date: May 2012
Old 05-07-2012 , 09:43   Re: Help
Reply With Quote #4

nvm

Last edited by iStrike; 09-14-2012 at 08:42.
iStrike is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 05-07-2012 , 09:44   Re: Help
Reply With Quote #5

Quote:
Originally Posted by usaexelent View Post
If you want to turn off all of the player sounds then you will have to do like this:

<snip>
That's slowhacking...
__________________

Last edited by Exolent[jNr]; 05-07-2012 at 09:50. Reason: Removed slowhacking code.
<VeCo> is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 05-06-2012 , 17:39   Re: Help
Reply With Quote #6

What do you mean with stop all sounds? Do you think of the music files you can play with "mp3 play"? Then you can stop it with "mp3 stop" or somthing like that.
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 05-06-2012 , 17:43   Re: Help
Reply With Quote #7

make a new bool with a player index so like
PHP Code:
new boolnomusic[33] = true 
inside your mp3 play sound or function you put
PHP Code:
if (nomusic[id]) 
continue the plugin

hook the /sound turn the bool off there save it on nvault and ur done
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.

Last edited by Bilal Pro; 05-06-2012 at 18:04.
Bilal Pro 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 00:25.


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