Raised This Month: $ Target: $400
 0% 

[CSGO] Playvol not working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eyal282
Veteran Member
Join Date: Aug 2011
Old 08-27-2018 , 09:02   [CSGO] Playvol not working
Reply With Quote #1

For some weird reason this function doesn't work, but the other does:

stock PlaySoundToClient(client, const String:sound[]="player/sprayer", String:Volume[] = "1.0")
{
ClientCommand(client, "playvol \"%s\" \"%s\"", sound, Volume);
}

stock PlaySoundToClient(client, const String:sound[]="player/sprayer")
{
ClientCommand(client, "play \"%s\"", sound);
}

Am I doing something wrong? Why doesn't playvol work?
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 08-27-2018 , 16:51   Re: [CSGO] Playvol not working
Reply With Quote #2

I think the issue is you're not posting your code in
Code:
code
blocks.
__________________

Last edited by Neuro Toxin; 08-27-2018 at 16:53.
Neuro Toxin is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 08-27-2018 , 17:49   Re: [CSGO] Playvol not working
Reply With Quote #3

Quote:
Originally Posted by Neuro Toxin View Post
I think the issue is you're not posting your code in
Code:
code
blocks.
-.-, Anyway issue is half solved as playvol is restricted for server use.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 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 20:17.


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