Skip to content

Commit

Permalink
Merge pull request #5 from dough-land/main
Browse files Browse the repository at this point in the history
Code cleanup
  • Loading branch information
viktormelin authored Mar 12, 2022
2 parents af1c42f + f254b55 commit 8d86981
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 402 deletions.
16 changes: 16 additions & 0 deletions client/evidence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,22 @@ RegisterNetEvent('evidence:client:RemoveBlooddrop', function(bloodId)
CurrentBlooddrop = 0
end)

RegisterNetEvent('evidence:client:AddFingerPrint', function(fingerId, fingerprint, coords)
Fingerprints[fingerId] = {
fingerprint = fingerprint,
coords = {
x = coords.x,
y = coords.y,
z = coords.z - 0.9
}
}
end)

RegisterNetEvent('evidence:client:RemoveFingerprint', function(fingerId)
Fingerprints[fingerId] = nil
CurrentFingerprint = 0
end)

RegisterNetEvent('evidence:client:ClearBlooddropsInArea', function()
local pos = GetEntityCoords(PlayerPedId())
local blooddropList = {}
Expand Down
Loading

0 comments on commit 8d86981

Please sign in to comment.