[FilterScript] Suicide - 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)
+--- Thread: [FilterScript] Suicide (
/showthread.php?tid=322711)
Suicide -
SomeGuy#1 - 03.03.2012
My Second FS
Command:
/suicide
Screenshots:
PasteBin:
http://pastebin.com/HWeqLP2m
Download:
http://dl.dropbox.com/u/27472578/jfs/Suicide.zip
http://adf.ly/5xXKC
Feel Free To Post Mirrors
Re: Suicide -
Vegas. - 03.03.2012
Nice man

but is not RP, you should make it with a gun or knife...
Re: Suicide -
SomeGuy#1 - 03.03.2012
Quote:
Originally Posted by Vegas.
Nice man 
|
Thanks.
Re: Suicide -
shitbird - 03.03.2012
This is really simple..
Maybe you should post it in the code snippets topic.
Suggestion: Scan the second parameter, and add several methods to kill yourself. That would make it a bit more fun.
Re: Suicide -
SomeGuy#1 - 03.03.2012
Quote:
Originally Posted by shitbird
This is really simple..
Maybe you should post it in the code snippets topic.
Suggestion: Integrate sscanf, and scan the second parameter, and add several methods to kill yourself. That would make it a bit more fun. 
|
As i said 'My Second FS'
Im noob and dont know how :P
And several methods? You mean like /killme and /suicide? lol
Re: Suicide -
shitbird - 03.03.2012
What I meant was to scan the parameter, in your command.
/kill <method>(parameter).
Compare the parameter to strings, such as "height", or "explosion".

Height - ... splat.
Explosion - figures. ^^
This is
very basic. It doesn't really "qualify" as a filterscript. You're creating a whole filterscript for a mere command, which can be integrated into gamemodes, in less than 5 lines.
Re: Suicide -
Gooday - 03.03.2012
Well this is one of the fist things that you learn with pawno...So is very simple, you should migliorate it... and add a meesage like "%s has just killed himself"
Re: Suicide -
Hansolue - 03.03.2012
very simple dude