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

no sounds are played


Post New Thread Reply   
 
Thread Tools Display Modes
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 07-06-2020 , 14:33   Re: no sounds are played
Reply With Quote #11

rg_send_audio. What's that? Have you tried emit_sound()?
__________________
DJEarthQuake is offline
anakonda001
Member
Join Date: Jul 2020
Old 07-06-2020 , 14:43   Re: no sounds are played
Reply With Quote #12

Quote:
Originally Posted by DJEarthQuake View Post
rg_send_audio. What's that? Have you tried emit_sound()?
no I don't understand scripting
anakonda001 is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 07-06-2020 , 18:22   Re: no sounds are played
Reply With Quote #13

Clearly I had no idea what 'rg_send_audio' was until I got home and Googled it.

native rg_send_audio(const index, const sample[], const pitch = PITCH_NORM);

That's from reapi which you have as an include (it wouldn't compile otherwise). Think of includes as a vocabulary or feature expansion. Checking. You use rehlds?

Quote:
rg_send_audio(id, fmt("sound/%s", PickedUpTheBomb));
Code:
rg_send_audio(id, PickedUpTheBomb, PITCH_NORM);

Use the same 'pattern' to fix the other part of script if it handles your conundrum.
__________________
DJEarthQuake 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 14:29.


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