Raised This Month: $32 Target: $400
 8% 

Play .wav file during model selection at start + overtime cointoss


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
enjoi.
Veteran Member
Join Date: Mar 2011
Old 02-17-2019 , 05:23   Play .wav file during model selection at start + overtime cointoss
Reply With Quote #1

I am trying to play "sound/fjam/nfl.wav" during the beginning of the game during model selection (right after typing /start) and if the game goes into overtime, do it during the cointoss. Everything is commented very well in the code but I tried plopping play_wav("spk sound/fjam/nfl"); and I ended up getting errors on the compiler.. I also need help trying to disable the " // check if player is aiming at another player and if so show their stats" section in the code. I do not want that to show up. I tried deleting it but I got some of the same errors.

https://forums.alliedmods.net/showthread.php?t=63165 is the SMA.

I'm a beginner.
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]

Last edited by enjoi.; 02-18-2019 at 15:00.
enjoi. is offline
Vaim
Member
Join Date: Feb 2019
Old 02-18-2019 , 06:53   Re: Play .wav file during model selection at start + overtime cointoss
Reply With Quote #2

Quote:
Originally Posted by enjoi. View Post
I am trying to play sound/nfl.wav during the model selection (right after typing /start) and if the game goes into overtime, doing the cointoss. Everything is commented very well in the code but I tried plopping play_wav("spk sound/nfl"); and I ended up getting errors on the compiler.. I also need help trying to disable the " // check if player is aiming at another player and if so show their stats" section in the code. I do not want that to show up. I tried deleting it but I got some of the same errors.

https://forums.alliedmods.net/showthread.php?t=63165 is the SMA.

I'm a beginner.

Hello, what you need, I sort of deleted, but I could not add sound because of my inexperience.
Let me know if it works.
Attached Files
File Type: sma Get Plugin or Get Source (football.sma - 291 views - 240.0 KB)
Vaim is offline
enjoi.
Veteran Member
Join Date: Mar 2011
Old 02-18-2019 , 15:29   Re: Play .wav file during model selection at start + overtime cointoss
Reply With Quote #3

Quote:
Originally Posted by Vaim View Post
Hello, what you need, I sort of deleted, but I could not add sound because of my inexperience.
Let me know if it works.
Too much code was removed because player models do not show up now. Also what was the reasoning behind removing the bot ai stuff?
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]

Last edited by enjoi.; 02-18-2019 at 15:30.
enjoi. is offline
enjoi.
Veteran Member
Join Date: Mar 2011
Old 02-20-2019 , 23:42   Re: Play .wav file during model selection at start + overtime cointoss
Reply With Quote #4

Anyone can help on the sound part? I feel like its so easy just not seeing it.
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. is offline
PartialCloning
Senior Member
Join Date: Dec 2015
Old 02-22-2019 , 11:54   Re: Play .wav file during model selection at start + overtime cointoss
Reply With Quote #5

What compile errors did you get? That's a 7000 lines plugin. Point out where you would like to make the changes.
PartialCloning is offline
Reply


Thread Tools
Display Modes

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 06:10.


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