Jump to content

How to create this?(table - class)


VortDyn

Recommended Posts

Posted

How to do in lua script
Juggernaut class, HP, Armor, AK47 (200 rounds), Deagle (50 rounds), Sniper rifle (10 rounds), ID skin

So that I can get a class, take HP and Armor from this class
Take all weapons and ammo

 

Posted
local class = {
  --class name, hp, armor, skin, { {weapon id, weapon ammo} }
	{"Juggernaut", 100, 100, 0,{ {30,200},{24,50}, {34,10} } },
}

 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...