Skip to content

erroris3/errorism.kd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Authors

Kill/Death Utils

just a simple script that store kill/death and made it easy to access.

Features

  • Kill/Death tracker
  • Exports for easy access
  • Automatic skip setDeath from ambulancejob

Requirement

API Reference [Serverside]

Get both kill and death record.

exports['errorism.kd']:get(identifier)
Parameter Type Description
identifier string Required. Identifier of player

Get kill record.

exports['errorism.kd']:getKill(identifier)
Parameter Type Description
identifier string Required. Identifier of player

Get death record.

exports['errorism.kd']:getDeath(identifier)
Parameter Type Description
identifier string Required. Identifier of player

Usage/Examples

local xPlayer = ESX.GetPlayerFromId(source)
local identifier = xPlayer.getIdentifier()
local death = exports['errorism.kd']:getDeath(identifier)

print(tostring(death) .. ' death') 
-- Output : 0 death

Tech Stack

Server: lua

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages