[FilterScript] Dynamic Food stall creator with food items and textdraw menus! (Create tons of food stall in-game with no work at all)
#1

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:
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.
Reply
#2

You got some imagination there. ) Nice, and I like the design of the infobox a lot.
Reply
#3

Quote:
Originally Posted by DiGiTaL_AnGeL
View Post
You got some imagination there. ) Nice, and I like the design of the infobox a lot.
Thanks ! And may I ask why the imagination part?
Reply
#4

Nice
Reply
#5

Wow!
+REP
Reply
#6

cool
Reply
#7

Thanks. Please do suggest more features for the next update, as I am drawing up a blank !
Reply
#8

Nice!,


A idea: U can also put that hot dog guy behind there as a NPC!.
Reply
#9

nice script
Reply
#10

Updated version 2:
Total commerical system added !
Quote:

Version 2:
Added /reply, /offer, /buystall, /changename, /changeprice and some commands with more 3D textlabels showing the owner, price and so on.

You can buy the stall if it's on sale.
If it isn't, you can offer the owner some cash.
You reply to offers with /reply (YES/NO)
If you own it, you can /changename/price. Also added a 3D textlabel showing the owner and necessary info.
Cheers
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)