SA-MP Forums Archive
[FilterScript] Simple sausage system - 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] Simple sausage system (/showthread.php?tid=350270)



Simple sausage system - Face9000 - 11.06.2012

Hello and welcome to my release.

I was bored so i decided to do a small sausage system where players can buy sausages,eat them or give it to other players.

Features:

As title said,it's very basic.I used sscanf for commands,zcmd as command processor,and Y_INI to save the sausages.Yes,you need Y_INI to save and load the sausages.

I created a small textdraw at the right of the screen to show the number of sausages a player has.

Commands:

/sausage - To eat one sausage and restore 25 hp.
/gs - This command is used if you want to send at another player your sausage.There is a time limit of 5 seconds,means you can send sausages once every 5 seconds.
/sshop - Where you can buy 5,10 or 25 sausages for 1500$ - 2500$ - 5000$.

Screen:



As you can see,this system is simple,i created because i was bored,so don't expect much.

Download:

Pastebin: http://pastebin.com/H0ZkVzUS

Solidfiles:

.pwn file:

http://www.solidfiles.com/d/aacf0aeda3/

.amx file:

http://www.solidfiles.com/d/f2601422d2/

Enjoy


Re: Simple sausage system - Pizzy - 12.06.2012

Suggestion: for the dialog menu

Currently like this:
"{COLOR}5 Sausages{COLOR}$2500"

Change it to:
"{COLOR}5 Sausages{COLOR} \t$2500"

Do that for all of the lines. It will make the dialog alot neater.

Otherwise - nice job :P.


Re: Simple sausage system - Walton - 12.06.2012

Bit different than Cookies, Tikis or Chicken. Nice work!


Re: Simple sausage system - Jonny5 - 12.06.2012

thats some pricey sausage!!!


Re: Simple sausage system - MP2 - 12.06.2012

Are they made from solid gold by any chance?

This is a very odd release.


Re: Simple sausage system - Face9000 - 12.06.2012

Quote:
Originally Posted by MP2
Посмотреть сообщение
Are they made from solid gold by any chance?

This is a very odd release.
Lol why?Maybe for sausage prices?

Quote:
Originally Posted by Jonny5
Посмотреть сообщение
thats some pricey sausage!!!
XD

Quote:
Originally Posted by Walton
Посмотреть сообщение
Bit different than Cookies, Tikis or Chicken. Nice work!
Thanks.

Quote:
Originally Posted by Pizzy
Посмотреть сообщение
Suggestion: for the dialog menu

Currently like this:
"{COLOR}5 Sausages{COLOR}$2500"

Change it to:
"{COLOR}5 Sausages{COLOR} \t$2500"

Do that for all of the lines. It will make the dialog alot neater.

Otherwise - nice job :P.
Thanks,yea i forgot to add a space!


Re: Simple sausage system - Burridge - 12.06.2012

Wow, I certainly ain't buying sausages from this person. I'll stick to buying my sausages from the butcher. O.O

How bored were you, exactly? xD


Re: Simple sausage system - Face9000 - 12.06.2012

Quote:
Originally Posted by Burridge
Посмотреть сообщение
Wow, I certainly ain't buying sausages from this person. I'll stick to buying my sausages from the butcher. O.O

How bored were you, exactly? xD
Much.


Re: Simple sausage system - Shadow_ - 12.06.2012

haha, We can tell you was bored.

A Sausage release :P


Re: Simple sausage system - Face9000 - 12.06.2012

Quote:
Originally Posted by Shadow_
Посмотреть сообщение
haha, We can tell you was bored.

A Sausage release :P
Well,my first idea was making a Pig system (create your own pig,feed it,sell it,eat it etc),but there is no pig object on SaMp so i left that idea.