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

PrecacheScriptSound


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 11-03-2014 , 09:58   PrecacheScriptSound
Reply With Quote #1

Currently I use a detour for this function (PrecacheScriptSound). But as I can see, it already exist here:
https://sm.alliedmods.net/api/index....=show&id=1099&
So, can I replace my detour with something else to use this function? I can't finde this function in the recent sourcemod-central, so, is it soucepawn-only available stuff?
kadet.89 is offline
Send a message via Skype™ to kadet.89
psychonic

BAFFLED
Join Date: May 2008
Old 11-03-2014 , 10:36   Re: PrecacheScriptSound
Reply With Quote #2

It uses ISoundEmitterSystemBase

https://mxr.alliedmods.net/sourcemod...vsound.cpp#550

But if you just need to call the function, why are you using a detour?
psychonic is offline
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 11-03-2014 , 11:38   Re: PrecacheScriptSound
Reply With Quote #3

I do not know other ways to do this
kadet.89 is offline
Send a message via Skype™ to kadet.89
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 21:51.


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