[Include] Game_Sounds - Simply playing game sounds.
#1

Game Sounds v1.0.0
Introduction

This include make it possible to use easy gamesounds...
Like Megakill, Masterkill, Ownage etc...
It got nice sounds for if someone go's dead.
But the nicest thing is, The host will never go down!

Example How to use:
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(amount > 25)
    {
    Scaryscreamsound(playerid);
    }
    return 1;
}
Second Example
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
 if(amount > 25)
 {
    new chance=random(4);
    if(chance == 1)
    {
    godlikesound(playerid);
    }
    if(chance == 2)
    {
    holyshitsound(playerid);
    }
    if(chance == 3)
              {
    ownagesound(playerid);
    }
    if(chance == 4)
    {
    firstbloodsound(playerid);
    }
 }
 return 1;
}
Last Example:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new chance=random(2);
    if(chance == 1)
    {
    monsterkillsound(killerid);
    }
    else if(chance == 2)
    {
    megakillsound(killerid);
    }
    deathsound(playerid);


    return 1;
}
You can use this for many things... Maybe a TDM server? it your choice!

How to install?

Open Notepad.
Past everything From the pastbin in it.
Save it in Servermap/pawno/includes... As GAMESOUNDS.inc
What now?
Go to your Gamemode/Filterscript where you want to use this, and paste this.
pawn Код:
#include <GAMESOUNDS>
and ready, just compile now!

All variables

pawn Код:
monsterkillsound(playerid) //Play sound: Monsterkill
megakillsound(playerid)//Play sound: Megakill
deathsound(playerid)//Play sound: *Screaming human*
godlikesound(playerid)//Play sound: Godlike
holyshitsound(playerid)//Play sound: Holyshit
ownagesound(playerid)//Play sound: ownage
firstbloodsound(playerid)//Play sound: First blood
scaryscreamsound(playerid)//Play sound: *scary screaming human*
Credits
Faff: Making Inc & Hosting Sounds
Dota: Creating Sounds

!-!Dont Remove Credits!-!
!-!Its easy but usefull!-!
!-!The sound host will never go down!-!
Features

pawn Код:
V1.0.1
15-06-2012

- Website (Upload ur own music & let it easy play on the server) (v.2.0.1)
- GSedit (a program that is based on visual basic script that make is possible to add sounds in the inc easy) (v.2.0.1)
Downloads
http://pastebin.com/MdscM6wn (v1.0.0)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)