[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
#2

This is a nice filterscript, thank you for your hard job man.
Reply
#3

Maybe a nice idea, to upload all the sound files maybe?
Reply
#4

Instead of 503 different functions, wouldn't it have been better to make

PlaySoundClip(playerid, "sound_name"); or something?
Reply
#5

Quote:
Originally Posted by WoodPecker
Посмотреть сообщение
This is a nice filterscript, thank you for your hard job man.
Its not a filterscript, but thx!

Last up...

The website is not completed yet... sorry.

But i think its ready 30/06/2012

Gr, Faff

Updated.
Reply
#6

Lovely, just lovely.
Reply
#7

Pretty nice to use this stuff.

How do we get the playersound id's.
Is there any website where we could play samp sounds and get its id.
Reply
#8

Nice job, however 2 notes:
pastebin link for 1.0.1 is broken, and as mentioned before it would be easier and convinient if you would do it like this:

pawn Код:
PlayerPlayGameSound(playerid, soundid);
and for the soundid you could make defines i.e:

pawn Код:
#define SOUND_FIRSTBLOOD (0)
And to use it, you would do:

pawn Код:
PlayerPlayGameSound(playerid, SOUND_FIRSTBLOOD);
Reply
#9

Include back in development.

Update over 2 days.

(Include will be an part for the event system from LSC-RP)
Reply
#10

Perhaps nice for lazy people but this is nothing special, not even well scripted. I don't get why people post positive comments
Reply
#11

i like it, nice
Reply
#12

nevermind i just looked into the script, it's poorly scripted and everytime it makes a sound it will show like Audio strem fromite bla bla bla it will get anoying
Reply
#13

cool Thanks,
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)