29.01.2014, 20:53
Quote:
What i'm trying to do is make it play a noise with only a certain weapon so... would i do this
Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid) { if(GetPlayerWeapon(playerid) == 23) { PlaySoundForPlayersInRange(6003, 14.0, x, y, z); } return 1; } |