Grenade Kill
Code:
/* Plugin generated by AMXX-Studio */This plugin work fine but if someone get killed by HeGrenade sound "grenadekill.wav" its playing for all players connected to the server. Please help, and change code to playback sound only for victim. example: if i get killed by HeGrenade plugin play this sound but only for me. Thanks. |
Re: Grenade Kill
Hey,
PHP Code:
|
Re: Grenade Kill
Change this:
PHP Code:
PHP Code:
|
Re: Grenade Kill
Quote:
You must precache the sound for the plugin that is going to use it. You can't execute client commands on plugin_precache, as no players are connected when precaching. All he needs to do is what ianglowz said: Code:
|
Re: Grenade Kill
Hey,
oh damn.thats right. idk why i changed precache :-O:shock: sry ma bad.ill edit ma post now :-D & ty |
Re: Grenade Kill
Also, it's spk, not speak, and you don't need to put quotes(") around the sound.
|
Re: Grenade Kill
Thanks ianglowz work fine for me :)
|
Re: Grenade Kill
Quote:
u mean me? PHP Code:
|
Re: Grenade Kill
Quote:
|
Re: Grenade Kill
Quote:
|
| All times are GMT -4. The time now is 01:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.