SA-MP Forums Archive
PlayerPlaySound not working under OnPlayerWeaponShot - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: PlayerPlaySound not working under OnPlayerWeaponShot (/showthread.php?tid=526568)



PlayerPlaySound not working under OnPlayerWeaponShot - Aerotactics - 18.07.2014






Re : PlayerPlaySound not working under OnPlayerWeaponShot - ManuelNeuer - 18.07.2014

Try this in the stock.
pawn Код:
new Float:pX, Float:pY, Float:pZ;
PlayerPlaySound(playerid,1130,pX,pY,pZ);



Re: Re : PlayerPlaySound not working under OnPlayerWeaponShot - Aerotactics - 18.07.2014

Quote:
Originally Posted by ManuelNeuer
Посмотреть сообщение
Try this in the stock.
pawn Код:
new Float:pX, Float:pY, Float:pZ;
PlayerPlaySound(playerid,1130,pX,pY,pZ);
That wouldn't be necessary, because the float I'm using is in the stock itself.


Re: PlayerPlaySound not working under OnPlayerWeaponShot - GeekSiMo - 18.07.2014

Ah Ok !!!