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

Solved play sounds from .ini file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ayman Khaled
Senior Member
Join Date: Mar 2017
Location: Palestine
Old 06-15-2017 , 04:50   play sounds from .ini file
Reply With Quote #1

Hi guys.
I want only example how to make .ini file and put in it for example
START_SOUND = misc/start.wav
PLANTED_SOUND = misc/bomb_planted.wav
and in sma
client_cmd(0, "spk ^"%s^"", szFile [START_SOUND]) ( something like this )
( precache sounds from .ini file, not from sma )

SOLVED
__________________

Last edited by Ayman Khaled; 06-15-2017 at 07:52.
Ayman Khaled is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-15-2017 , 07:43   Re: play sounds from .ini file
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=282218
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Ayman Khaled
Senior Member
Join Date: Mar 2017
Location: Palestine
Old 06-15-2017 , 07:51   Re: play sounds from .ini file
Reply With Quote #3

Thx but i used amx_settings_api and it solved my problem .
__________________
Ayman Khaled 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:10.


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