28.05.2012, 15:40
(
Последний раз редактировалось faff; 28.07.2012 в 10:52.
)
Game Sounds v1.0.0
IntroductionThis 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;
}
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;
}
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;
}
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>
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*
Faff: Making Inc & Hosting Sounds
Dota: Creating Sounds
!-!Dont Remove Credits!-!
!-!Its easy but usefull!-!
!-!The sound host will never go down!-!
Features!-!Its easy but usefull!-!
!-!The sound host will never go down!-!
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)