SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 10/02/2016, 06:47 PM   #1
CaioTJF
Gangsta
 
CaioTJF's Avatar
 
Join Date: Sep 2012
Location: Rio de Janeiro
Posts: 541
Reputation: 148
Default Inventory System with TextDraws

Hi!



Information:
The variable Player[playerid][Language] is used to check the language of the player, 1 = PT/BR, 2 = English;
You will have to translate the array of creation of items;
Some variables are with names in Portuguese;
Press "N" to open the inventory;
Press "ALT" to catch item on the floor;

Stocks extras:
IsItemInInventory(playerid, itemid, amount)
ShowMessageInventory(playerid, string[], time = 5000)

Video demo:
http://www.youtube.com/watch?v=wyvE5x7LThs
https://www.youtube.com/watch?v=wyvE5x7LThs

Downloads:
Pastebin: http://pastebin.com/QBGAgBpq (preview)
4shared: http://www.4shared.com/rar/0kltkxxyb...ystem__1_.html
__________________

IP: 35.196.228.74:2009 / Website: www.gtatorcidas.net




Last edited by CaioTJF; 24/05/2016 at 11:29 PM.
CaioTJF is offline   Reply With Quote
Old 10/02/2016, 07:20 PM   #2
JamalMaddox
Big Clucker
 
JamalMaddox's Avatar
 
Join Date: Nov 2015
Location: District Streets
Posts: 150
Reputation: 32
Default Re: Inventory System with TextDraws

Perfect for DAYZ servers. Good job.
JamalMaddox is offline   Reply With Quote
Old 10/02/2016, 07:30 PM   #3
CaioTJF
Gangsta
 
CaioTJF's Avatar
 
Join Date: Sep 2012
Location: Rio de Janeiro
Posts: 541
Reputation: 148
Default Re: Inventory System with TextDraws

Quote:
Originally Posted by JamalMaddox View Post
Perfect for DAYZ servers. Good job.
Thanks :3
__________________

IP: 35.196.228.74:2009 / Website: www.gtatorcidas.net



CaioTJF is offline   Reply With Quote
Old 10/02/2016, 09:35 PM   #4
DanDRT
High-roller
 
DanDRT's Avatar
 
Join Date: Apr 2012
Posts: 1,346
Reputation: 227
Default Re: Inventory System with TextDraws

Good Job
DanDRT is offline   Reply With Quote
Old 10/02/2016, 09:36 PM   #5
HaRdiiZin
Gangsta
 
HaRdiiZin's Avatar
 
Join Date: Jan 2015
Location: localhost/HaRdiiZin
Posts: 805
Reputation: 98
Default Re: Inventory System with TextDraws

Good
HaRdiiZin is offline   Reply With Quote
Old 10/02/2016, 10:31 PM   #6
Joron
Huge Clucker
 
Joron's Avatar
 
Join Date: Nov 2015
Location: Behind My PC
Posts: 379
Reputation: 113
Default Re: Inventory System with TextDraws

Nice.... Amma steal your idea :3
+REP
Joron is offline   Reply With Quote
Old 10/02/2016, 10:58 PM   #7
Hypex
Little Clucker
 
Hypex's Avatar
 
Join Date: Dec 2015
Location: Somewhere in england madafaka
Posts: 48
Reputation: 7
Default Re: Inventory System with TextDraws

What if the player has a more than allowed items you should be able to make it scrollable through the items if there are like 40 items for example, but it's really cool I only wanted to share an idea.
Hypex is offline   Reply With Quote
Old 11/02/2016, 12:50 AM   #8
CaioTJF
Gangsta
 
CaioTJF's Avatar
 
Join Date: Sep 2012
Location: Rio de Janeiro
Posts: 541
Reputation: 148
Default Re: Inventory System with TextDraws

A correction: in the command /additem remove the if with IsItemInInventory, I was testing.

Hypex
Thanks for the idea.
__________________

IP: 35.196.228.74:2009 / Website: www.gtatorcidas.net



CaioTJF is offline   Reply With Quote
Old 11/02/2016, 01:01 AM   #9
Spydah
Gangsta
 
Spydah's Avatar
 
Join Date: Jan 2010
Location: The Netherlands
Posts: 725
Reputation: 749
Default Re: Inventory System with TextDraws

Awesome! Nice job man!
__________________

Sexy isn't she?
I don't like +REP askers.
Spydah is offline   Reply With Quote
Old 11/02/2016, 05:55 AM   #10
N0FeaR
High-roller
 
N0FeaR's Avatar
 
Join Date: Nov 2011
Location: Sweden
Posts: 2,313
Reputation: 165
Default Re: Inventory System with TextDraws

Good work!
__________________
Here is my discord server https://discord.gg/ucVpDkJ
N0FeaR is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quest(mission) System & Inventory System TeuneerSK General 4 22/07/2013 12:28 PM
Help with inventory system coole210 Help Archive 6 23/09/2009 12:28 AM


All times are GMT. The time now is 05:25 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.