27.03.2013, 13:03
(
Last edited by RajatPawar; 28/03/2013 at 10:20 AM.
)
Hey guys.
This is my n-th FS, you can create foodstalls for your server with this filterscript. It's very easy to use.
Commands:
/createfoodstall (Name of foodstall) (base price)
* /cfs *
/changeprice
/buystall
/changename
/offer
/reply
Here, baseprice is the price you want basically, for the basic item available - hotdog. It's got 5 items.
1) Hot dog
2) Pizza
3) Taco
4) Pork sandwich
5) A packet of nachos
With buystall, you can buy the stall, change the name, the price and with offer you can offer stall owners a new price. /reply to reply to offers.
-----------------------------------------------------------------------
Images:
--------------------------------------------------------------------------
What it does:
1) Creates a stall
2) A 3D text label
3) A Checkpoint
4) A Textdraw menu
5) Eat all you can for the baseprice
6) All this happens through enumerators.
-------------------------------------------------------------------------
How to create:
The thing spawns infront of you, with the breadth facing you and the checkpoint to your RIGHT. So if you want a road side stall, you should understand the above. If you can't, PM me or reply below.
---------------------------------------------------------------------------
Bugs/credits/requirements:
No bugs yet.
THIS FILTERSCRIPT USES MAPANDREAS.
Credits:
Kalcor - MapAndreas
Incognito - streamer
Y_Less - sscanf2
Zeex - ZCMD
Me - rInfoBox
---------------------------------------------------------------------------
How do I add my own items:
If you are a good scripter, you can, easily, following the below algorithm.
1) Adding the item to the textdraw menu under the /cfs command.
2) Adding it's switch case under OnPlayerEnterDynamicCP.
3) Done !
------------------------------------------------------------------------
Download:
http://pastebin.com/GXkjuCB1
Thanks, cheers.
-----------------------------------------------------------------------
Changelog:
This is my n-th FS, you can create foodstalls for your server with this filterscript. It's very easy to use.
Commands:
/createfoodstall (Name of foodstall) (base price)
* /cfs *
/changeprice
/buystall
/changename
/offer
/reply
Here, baseprice is the price you want basically, for the basic item available - hotdog. It's got 5 items.
1) Hot dog
2) Pizza
3) Taco
4) Pork sandwich
5) A packet of nachos
With buystall, you can buy the stall, change the name, the price and with offer you can offer stall owners a new price. /reply to reply to offers.
-----------------------------------------------------------------------
Images:
--------------------------------------------------------------------------
What it does:
1) Creates a stall
2) A 3D text label
3) A Checkpoint
4) A Textdraw menu
5) Eat all you can for the baseprice
6) All this happens through enumerators.
-------------------------------------------------------------------------
How to create:
The thing spawns infront of you, with the breadth facing you and the checkpoint to your RIGHT. So if you want a road side stall, you should understand the above. If you can't, PM me or reply below.
---------------------------------------------------------------------------
Bugs/credits/requirements:
No bugs yet.
THIS FILTERSCRIPT USES MAPANDREAS.
Credits:
Kalcor - MapAndreas
Incognito - streamer
Y_Less - sscanf2
Zeex - ZCMD
Me - rInfoBox
---------------------------------------------------------------------------
How do I add my own items:
If you are a good scripter, you can, easily, following the below algorithm.
1) Adding the item to the textdraw menu under the /cfs command.
2) Adding it's switch case under OnPlayerEnterDynamicCP.
3) Done !
------------------------------------------------------------------------
Download:
http://pastebin.com/GXkjuCB1
Thanks, cheers.
-----------------------------------------------------------------------
Changelog:
Code:
Version 2: Added /reply, /offer, /buystall, /changename, /changeprice and some commands with more 3D textlabels showing the owner, price and so on. Version 1: Released version with /createfoodstall, a name label and checkpoints with the stall facing you.