13.10.2009, 13:24
Sound:
pawn Code:
OnPlayerSpawn(playerid)
{
PlayerPlaySound(playerid, 1184, 0, 0, 0) //Sound will be played when player spawned
}
OnPlayerDeath(playerid, killerid, reason)
{
PlayerPlaySound(playerid, 1183, 0, 0, 0) //Stop sound when player is death. But, it will be played again when the player re-spawn
}