SA-MP Forums Archive
[Include] Hell.inc | Useful & Useless Functions By Hellhound - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Hell.inc | Useful & Useless Functions By Hellhound (/showthread.php?tid=281371)



Hell.inc | Useful & Useless Functions By Hellhound - Hellhound - 05.09.2011

Sup' Peeps?

So, Here It Is:

Function #1

pawn Код:
SendBotMessage(name[], text[]);
Status: Useful
It's Will send a Message (To All) As a Bot, Just Choose the "Player" Name in the name[] Parameter
And Write the Text the the text[] Parameter
Example:
pawn Код:
SendBotMessage("Speedy213", "My name is Generated Randomaly by Hellhound");
...


Function #2
pawn Код:
ShowPlayerNullDialog(playerid, title[], content[], button[]);
Status: Useful
This will show the Player A Dialog Without Effect Just Info, I mean, If someone will Kill someone for example
So you can Show the Death Player a null dialog "You killed by X" and Choose the Title And Button text, When he pressing the Button it will close... "A Info Dialog".

Function #3
pawn Код:
SetPlayerSpectateObject(playerid, objectid);
Status: Usefull (But Wasn't Tested)
This Will Simply Spectate an Object, I added this becoause someone requested that...
No more needed to Explain

Function #4
pawn Код:
StopSpectate(playerid)
Status: ...
...

Function #5
pawn Код:
GetLife();
Status: Useless
It will send "GET LIFE" In high case to the Console (samp-server.exe)

Download
No, No Pastebin for you!
Download in Solidfiles


Re: Hell.inc | Useful & Useless Functions By Hellhound - Darnell - 05.09.2011

Pastebin, please.


Re: Hell.inc | Useful & Useless Functions By Hellhound - Hellhound - 05.09.2011

Quote:
Originally Posted by Darnell
Посмотреть сообщение
Pastebin, please.
Just download the file... 25kb... (i think)


Re: Hell.inc | Useful & Useless Functions By Hellhound - wups - 05.09.2011

pawn Код:
new SoRandomDialogGeneratedByHell;
    ShowPlayerDialog(playerid, SoRandomDialogGeneratedByHell, DIALOG_STYLE_MSGBOX, title, content, button, "");
I think most people already USE dialogid 0.
Should be new SoRandomDialogGeneratedByHell=8321; or something like this.

And I suggest you removing the GetLife(); function.


Re: Hell.inc | Useful & Useless Functions By Hellhound - CaHbKo - 05.09.2011

Quote:
Originally Posted by Hellhound
Посмотреть сообщение
Just download the file... 25kb... (i think)
Going through stupid solidfiles for 4 useless functions? You ask too much.


Re: Hell.inc | Useful & Useless Functions By Hellhound - Hellhound - 05.09.2011

Quote:
Originally Posted by wups
Посмотреть сообщение
pawn Код:
new SoRandomDialogGeneratedByHell;
    ShowPlayerDialog(playerid, SoRandomDialogGeneratedByHell, DIALOG_STYLE_MSGBOX, title, content, button, "");
I think most people already USE dialogid 0.
Should be new SoRandomDialogGeneratedByHell=8321; or something like this.

And I suggest you removing the GetLife(); function.
Yeah, Maybe people need to "GetLife" But im not on the Null Dialogs and trying to upgrade it...

Quote:
Originally Posted by CaHbKo
Посмотреть сообщение
Going through stupid solidfiles for 4 useless functions? You ask too much.
Lazy Pu*k...


Re: Hell.inc | Useful & Useless Functions By Hellhound - ylleron - 05.09.2011

Very nice, Good job and good luck to other version of this releases


Re: Hell.inc | Useful & Useless Functions By Hellhound - Hellhound - 02.11.2011

Soon: Another pack released


Re: Hell.inc | Useful & Useless Functions By Hellhound - Norn - 02.11.2011

Where are the useful functions? I'm confused.


Re: Hell.inc | Useful & Useless Functions By Hellhound - GangsTa_ - 02.11.2011

Good job. The SendNullDialog is the best.