Onplayershootweapon
#2

The script should be right from what I see in the code. Maybe the sound ID you're using is quiet?


I thought this might be useful:
Oh, and If you're trying to play the sound when he hit another player, then use this:

pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
    PlayerPlaySound(playerid, 17802, 0.0, 0.0, 0.0); // Ding Sound
    return 1;
}
PS:Make sure to use the or When you're pasting code here

Hope I could Help,

Excelize
Reply


Messages In This Thread
Onplayershootweapon - by nickstar - 29.01.2014, 03:02
Re: Onplayershootweapon - by Excelize - 29.01.2014, 03:08
Re: Onplayershootweapon - by nickstar - 29.01.2014, 03:15
Re: Onplayershootweapon - by [FSaF]Jarno - 29.01.2014, 04:44
Re: Onplayershootweapon - by Excelize - 29.01.2014, 20:53
Re: Onplayershootweapon - by nickstar - 30.01.2014, 01:01

Forum Jump:


Users browsing this thread: 2 Guest(s)