|
| 24 Jan 2015 01:16 PM |
I'm trying to make it so you can only choose a gun if you're a certain level.
What would I use preferably?
Values inside the guns or A table storing the guns name and level like this:
local leveltable = { MP5 = 1, M9 = 1 }
Look at the flowers, Lennie |
|
|
| Report Abuse |
|
|
|
| 24 Jan 2015 05:26 PM |
b1
Look at the flowers, Lennie |
|
|
| Report Abuse |
|
|
|
| 24 Jan 2015 05:27 PM |
guns = { level1 = { "Blah", "Blah2", "Blah3" } } |
|
|
| Report Abuse |
|
|
|
| 24 Jan 2015 05:35 PM |
so in an pairs loop, holy would I access each table? with a separate loop or??
Look at the flowers, Lennie |
|
|
| Report Abuse |
|
|
L1kkleC
|
  |
| Joined: 11 Nov 2011 |
| Total Posts: 961 |
|
|
| 24 Jan 2015 06:10 PM |
If you're making it in a GUI, so you have to click a GUI button in order to get a gun, make it so it checks your level value and if you're a certain level, the GUI button is visible.
I could get you strung up on a tree so easily, it anit even funny. |
|
|
| Report Abuse |
|
|