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

[CSGO/Any?] Play Command Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
R3TROATTACK
Member
Join Date: Feb 2013
Plugin ID:
5612
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixes the play command for csgo to work with custom sounds
    Old 04-25-2017 , 18:15   [CSGO/Any?] Play Command Fix
    Reply With Quote #1

    Description
    Adds a new command that does what the sm_play command did on CS:S and similar games to CS:GO, by reading the sounds directory and precaching/downloading, and using EmitSoundAny to play them to the clients.

    Commands
    Spoiler


    Changelog
    Spoiler


    Source

    All the code in the Command_CustomPlay function besides 1 line is credited to the sounds plugin that was made by Alliedmods
    Attached Files
    File Type: sp Get Plugin or Get Source (FixPlayCommand.sp - 290 views - 3.2 KB)
    File Type: smx FixPlayCommand.smx (7.5 KB, 372 views)
    File Type: inc emitsoundany.inc (6.0 KB, 396 views)
    __________________
    My Plugins - My Steam
    Need something custom add me on discord! Retro#0264

    Last edited by R3TROATTACK; 04-25-2017 at 18:35.
    R3TROATTACK is offline
    Sw33T3R
    AlliedModders Donor
    Join Date: Mar 2014
    Old 04-26-2017 , 14:21   Re: [CSGO/Any?] Play Command Fix
    Reply With Quote #2

    Nice job
    Sw33T3R 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 07:52.


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