SA-MP Forums Archive
Creating a Back Pack 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Creating a Back Pack System? (/showthread.php?tid=429561)



Creating a Back Pack System? - NewLifeRoleplay - 10.04.2013

Hello Guys today im trying to create a sa-mp dayZ server with a few of my friends... I need to know how to create 3 systems of back packs so the first will be the Basic Back pack that holds 8 slots then the alice that holds 28 and then the Coyotey witch holds 38 how am i able to make them slots into the server so when you spawn you spawn with the basic one and then you have to look for loot to find the bigger and better ones, then when i press (Y) the back pack shows up with the items i have looted, this is a big project and i need some help please add my skype if you are a Great scripting looking for something to do i have a samp server hosted tab ready to go it just need a script!

Skype : Dylan.Shetler..

thanks.


Re: Creating a Back Pack System? - park4bmx - 10.04.2013

And again "wrong section" you are requesting code.

But in this type of system you would want to use an arrey defined with how much slots u want.
Also it's important to know what the arrey is going to hold e.g strings , values.

Strings can be used when u don't know the items names which can be helpful to do a check afterwords.
Values will be a quicker way to check what item is in the arrey and not so messier.