AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   nvm (https://forums.alliedmods.net/showthread.php?t=184556)

iStrike 05-06-2012 10:56

nvm
 
nvm

usaexelent 05-06-2012 16:16

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

<snip>

mottzi 05-06-2012 17:39

Re: Help
 
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.

Bilal Pro 05-06-2012 17:43

Re: Help
 
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

Insidious 05-07-2012 02:57

Re: Help
 
Quote:

Originally Posted by usaexelent (Post 1703718)
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?

iStrike 05-07-2012 09:43

Re: Help
 
nvm

<VeCo> 05-07-2012 09:44

Re: Help
 
Quote:

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

<snip>

That's slowhacking...


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

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