Skip to content

xneuh/nh-character

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Character Card with abillity system

Requirments:

Getting Skill Level [Client]

  -- Skill Types - drugs, handlarz
  ESX.TriggerServerCallback('nh_kp:getLevel', function(res)
    local skillLevel = res
  end, 'drugs') -- Replace drugs with your skilltype

EXP Giving Trigger

TriggerServerEvent("nh_kp:giveEXP", skillname, chance, expCount)

SQL Code


CREATE TABLE user_skills(
  identifier varchar(50) DEFAULT '' NOT NULL,
  drugslvl int(11) DEFAULT 1 NOT NULL,
  drugsexp int(11) DEFAULT 0 NOT NULL,
  handlarzlvl int(11) DEFAULT 1 NOT NULL,
  handlarzexp int(11) DEFAULT 0 NOT NULL,
  napadylvl int(11) DEFAULT 1 NOT NULL,
  napadyexp int(11) DEFAULT 0 NOT NULL
)

About

Character ability system [ESX]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages