SA-MP Forums Archive
[FilterScript] Inventory & Items - Textdraw menu - 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] Inventory & Items - Textdraw menu (/showthread.php?tid=636974)

Pages: 1 2


Inventory & Items - Textdraw menu - Gammix - 06.07.2017

Inventory & Items
This is a simple(maybe!) inventory system you can use in a survival or hunger game sort of server. I guess its bugs free so far from the testing i did. Its very easy to use and quiet modern. I wanted to use this for my new hunger games mode, but i guess i am taking a break right now so this might be helpful for someone!

Some core features: Creating items guide You can modify menu from this code:
PHP Code:
// Settings
enum
{
    
BACKGROUND 1263615688,
    
LEFT_BACKGROUND 1853316296,
    
RIGHT_BACKGROUND 1853316296,
    
SELECTED 0xd63417BB,
    
FONT 1,
    
MAX_PLAYER_ITEMS 10 // maximum = 15
};
// 
Screenshot


Required Libraries & Credits
Streamer plugin - https://sampforum.blast.hk/showthread.php?tid=102865
ColAndreas plugin - https://sampforum.blast.hk/showthread.php?tid=586068
Sscanf2 plugin - https://sampforum.blast.hk/showthread.php?tid=602923
I-ZCMD include - https://sampforum.blast.hk/showthread.php?tid=576114
Dialogs include - https://sampforum.blast.hk/showthread.php?tid=570213
EasyDialog include (by Emmet_) - https://github.com/Agneese-Saini/SA-...easydialog.inc

Download
https://github.com/Agneese-Saini/SA-.../inventory.pwn


Re: Inventory & Items - Textdraw menu - Max_Andolini - 06.07.2017

Add MySQL system And add ready stuff ( backpacks, all weapons (m4, deagle ...), bullet system, armor system, food and drinks )

Good work by the way.


Re: Inventory & Items - Textdraw menu - Eoussama - 06.07.2017

Great, this just gave me an idea


Re: Inventory & Items - Textdraw menu - coool - 06.07.2017

Nice.


Re: Inventory & Items - Textdraw menu - Gammix - 06.07.2017

Quote:
Originally Posted by Max_Andolini
View Post
Add MySQL system And add ready stuff ( backpacks, all weapons (m4, deagle ...), bullet system, armor system, food and drinks )

Good work by the way.
You have the item guide in the thread "Creating items guide". Its so easy to create items with that, that's your ready stuff. And this is just a prototype sort of, you have to modify it to fulfill your gamemode needs.

And i made this for a hunger games mode which doesn't require saving and loading. Anyways you can easily modify it with MySQL or SQLite i guess.


Re: Inventory & Items - Textdraw menu - DonaldDuck - 06.07.2017

Finally! i was thinking before that gammix will make inventory & items textdraw now you made it. anyways keep it up.


Re: Inventory & Items - Textdraw menu - RxErT - 06.07.2017

it's seems like Valve's weapons' menu wow


Re: Inventory & Items - Textdraw menu - Marmeladova - 06.07.2017

Excellent work, however, as always!


Re: Inventory & Items - Textdraw menu - Gammix - 06.07.2017

Quote:
Originally Posted by RxErT
View Post
it's seems like Valve's weapons' menu wow
Yea! The color is same!


Re: Inventory & Items - Textdraw menu - ajam123 - 06.07.2017

WOW! Best FS I've seen!


Re: Inventory & Items - Textdraw menu - MrAjusshi - 06.07.2017

This is too class! Incredible job!


Re: Inventory & Items - Textdraw menu - SteSte - 07.07.2017

PUBG
Well made!


Re: Inventory & Items - Textdraw menu - Fairuz - 07.07.2017

How do I change the textdraw color?


Re: Inventory & Items - Textdraw menu - Gammix - 07.07.2017

Quote:
Originally Posted by Dice_
Посмотреть сообщение
How do I change the textdraw color?
You have to change the color when the textdraw is made, check OnFilterScriptInit.

I am working on an update with couple changes and new feature(s), which will include changeing color, font etc.


Re: Inventory & Items - Textdraw menu - MarkNelson - 07.07.2017

Good Job.


Re: Inventory & Items - Textdraw menu - HoussemGaming - 07.07.2017

Very nice one, +rep, 5 stars, keep the work up
BTW whats the textdraw filterscript you using ?


Re: Inventory & Items - Textdraw menu - Gammix - 07.07.2017

Quote:
Originally Posted by HoussemGaming
Посмотреть сообщение
BTW whats the textdraw filterscript you using ?
https://sampforum.blast.hk/showthread.php?tid=406833


Re: Inventory & Items - Textdraw menu - Swinte - 08.07.2017

Very good this inventory, I tested here this great congratulations!


Re: Inventory & Items - Textdraw menu - Gammix - 08.07.2017

Updated
- Now you can modify menu a bit from the following code:
PHP код:
// Settings
enum
{
    
BACKGROUND 1263615688,
    
LEFT_BACKGROUND 1853316296,
    
RIGHT_BACKGROUND 1853316296,
    
SELECTED 0xd63417BB,
    
FONT 1,
    
MAX_PLAYER_ITEMS 10 // maximum = 15
};
// 
- Scrollbar has been fixed.


Re: Inventory & Items - Textdraw menu - PT - 09.07.2017

Nice work I like the design you did on it