Game mode restart and with music? Please Help!
#4

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
}
Reply


Messages In This Thread
Game mode restart and with music? Please Help! - by DeltaAirlines12 - 13.10.2009, 00:39
Re: Game mode restart and with music? Please Help! - by Peter_Corneile - 13.10.2009, 06:52
Re: Game mode restart and with music? Please Help! - by .•[XpoweR]•. - 13.10.2009, 12:26
Re: Game mode restart and with music? Please Help! - by virspector - 13.10.2009, 13:24

Forum Jump:


Users browsing this thread: 1 Guest(s)