18.01.2013, 10:28
what version of same are u using
https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage
https://sampwiki.blast.hk/wiki/PlayerPlaySound
https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage
https://sampwiki.blast.hk/wiki/PlayerPlaySound
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
new Float: X, Float:Y, Float:z;
GetPlayerPos(playerid, X,Y,Z);
PlayerPlaySound(playerid, 1142, X,Y,Z);
return 1;
}