no pickup sound
hi guys, i am trying to do a "no pickup sound" when u pickup a weapon... i used all code of SchlumPF* plugin .. (weapon utilitys) but the plugin dont work :S
PHP Code:
|
Re: no pickup sound
i just use the variable g_iBlockSound to block the pickupsound just when somebody is using the /weapons cmd in my plugin which increases the value by one for each weapon the palyer gets. in fwdEmitSound() it checks whether the sound should be blocked or not.
any way this shoudl work for you: PHP Code:
|
Re: no pickup sound
- equal would be enough
- Array for cvar is totaly useless here. ^^ |
Re: no pickup sound
i know but i was to lazy to edit it ^^ i used a array in weapon_utility cuz i have about 3 cvars in it
+ is there any difference in cpu usage between equal and equali? usually i use equali even if equal woudl be enough |
Re: no pickup sound
oh, thx SchlumPF* & arkshine...
here a question.. Quote:
i tried to search FM_EmitSound in functions (web amxmodx) and nothing... only the engine version EF_EmitSound ... all of these function i can see in the fakemeta utilitys by alka? |
Re: no pickup sound
Quote:
|
Re: no pickup sound
thx philmagroin, and where can i get a list of forwardTypes?
|
Re: no pickup sound
includes/fakemeta_const.inc
|
Re: no pickup sound
thx to much arkshine, and..
haha sry for a lot of question... but, i think this is the last question.. Quote:
|
Re: no pickup sound
'cellback' ? What's this ?
|
| All times are GMT -4. The time now is 05:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.