please help with sound plugin
Hello every body :-)
I just started scripting and i wanted some help with this plugin that im trying to create. The purpose of this plugin is simple: Play 4 diferent sounds for 4 diferent kill types, for example: I do 2 kills, it plays double-kill.wav I do 3 kills, it plays triple-kill.wav I do 10 kills, it plays monster-kill.wav I do 20 kills, it plays mega-kill.wav There are only 4 sound files.The plugin compiles find. The sounds download perfectly. But i get an error when compiling.And i dont think i can hear them when i kill the amount of people that are listed below to play the sound to all of the players. Can some one help me out with this source code? Thank you for eny help, im just a starter :-O P.S. - Sorry if my english is bad, or i said something you didin't understand. If i sed something you didin't understand please tell me, and i will try to explain what i ment :-) Double P.S. The original source code is not my. Code:
#include <amxmodx> |
Re: please help with sound plugin
The precache works fine because you cached the sounds.
You didn't heard any sound because you have no kill event or anything else. PHP Code:
- More info about for and other loops: http://wiki.amxmodx.org/index.php/Pawn_Tutorial#Looping - I've explain a bit about for-loop here: http://forums.alliedmods.net/showthr...008#post733008 |
Re: please help with sound plugin
Ok, thank you very mutch for helping me, and thank you for the tips :-)
|
Re: please help with sound plugin
I forgot something
PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 01:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.