llaserx
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 53069 |
|
|
| 25 Jul 2016 02:41 AM |
Making a custom inventory with models as weapons
Would storing models in backpack be a good place?
|
|
|
| Report Abuse |
|
|
| |
|
llaserx
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 53069 |
|
|
| 25 Jul 2016 02:48 AM |
no dont do dat answer it!!!!
r+://290739801r+://290739819r+://290739831 R$219 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|
Hedr0n
|
  |
| Joined: 05 Jan 2016 |
| Total Posts: 1524 |
|
|
| 25 Jul 2016 02:50 AM |
| No thats stupid save the name of the mode and do ServerStorage[ModelName] |
|
|
| Report Abuse |
|
|
llaserx
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 53069 |
|
|
| 25 Jul 2016 02:51 AM |
but but but
then how would i save the old ammo when i unequip and equip1!!
r+://290739801r+://290739819r+://290739831 R$219 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|
| |
|
Hedr0n
|
  |
| Joined: 05 Jan 2016 |
| Total Posts: 1524 |
|
|
| 25 Jul 2016 02:57 AM |
save a number value you to and do something like
make_model(name, ...)
make_model("gun", ammo)
Honestly its not that bad just to store the model. Up to you |
|
|
| Report Abuse |
|
|
sioux123
|
  |
| Joined: 18 Nov 2011 |
| Total Posts: 970 |
|
|
| 25 Jul 2016 02:57 AM |
ReplicatedStorage/ServerStorage
I mean they have "Storage" in them for a reason lol.. |
|
|
| Report Abuse |
|
|
llaserx
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 53069 |
|
|
| 25 Jul 2016 02:59 AM |
so call the a event to store a weapon when uequip inside serverstorage and the the same equipping??
r+://290739801r+://290739819r+://290739831 R$219 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|
sioux123
|
  |
| Joined: 18 Nov 2011 |
| Total Posts: 970 |
|
|
| 25 Jul 2016 03:00 AM |
| for my game that had an inventory i just made a folder in replicated for each player |
|
|
| Report Abuse |
|
|
llaserx
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 53069 |
|
|
| 25 Jul 2016 03:03 AM |
hmmmmmmmmm
genius ideas
did u create the folder on join?
r+://290739801r+://290739819r+://290739831 R$219 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|
sioux123
|
  |
| Joined: 18 Nov 2011 |
| Total Posts: 970 |
|
|
| 25 Jul 2016 03:05 AM |
yea the folder had number values in it
number values = IDs for objects that I kept in serverstorage |
|
|
| Report Abuse |
|
|
llaserx
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 53069 |
|
|
| 25 Jul 2016 03:09 AM |
so a table with every item in it
each item registered with there own number k
r+://290739801r+://290739819r+://290739831 R$219 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|
sioux123
|
  |
| Joined: 18 Nov 2011 |
| Total Posts: 970 |
|
|
| 25 Jul 2016 03:10 AM |
yea like I had tools/weapons in a folder placed in serverstorage
-ServerStorage --Weapons ---Each weapon has a numbervalue with ID as value
-ReplicatedStorage --PlayerInventory ---Bunch of numbervalues with IDs as values, use to :Clone() from ServerStorage into player's Character(equip) |
|
|
| Report Abuse |
|
|
llaserx
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 53069 |
|
|
| 25 Jul 2016 03:16 AM |
playersfolders has the numbers in it correct?
but then wouldnt i need to do a bit more work in the custom inventory to allow me to get the frames of the weapons?
r+://290739801r+://290739819r+://290739831 R$219 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|