Raised This Month: $ Target: $400
 0% 

EmitSoundAny Without INC


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
thecount
Veteran Member
Join Date: Jul 2013
Old 07-12-2015 , 21:42   EmitSoundAny Without INC
Reply With Quote #1

Original Post: HERE

I decided to post this for the scripters that don't want to require a custom .inc file for their plugin to compile. Just add these functions to your code and use them as you normally would. Not all functions are required, BUT the variable and OnPluginStart() below ARE required.

PHP Code:
#include <sourcemod>
#include <sdktools>
new bool:sound_req;

public 
OnPluginStart(){
    new 
EngineVersion:engi GetEngineVersion();if(engi == Engine_CSGO || engi == Engine_DOTA){sound_req true;}else{sound_req false;}

Functions:
Spoiler

Last edited by thecount; 07-12-2015 at 21:47.
thecount is offline
 



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 18:33.


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