Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-D3V authored Dec 22, 2023
1 parent 1af4752 commit 584630e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/external.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function addMoney(userId, quantity)
end

function removeMoney(userId, quantity)
vRP.setMoney(userId, vRP.getMoney(userId) - quantity)
fWK.setMoney(userId, fWK.getMoney(userId) - quantity)
return;
end

Expand All @@ -45,7 +45,7 @@ end
function isOnline(userId) return findUser(userId) ~= nil end

function findUser(userId)
return vRP.getUserSource(userId)
return fWK.getUserSource(userId)
end

-- Ignore estas funções abaixo, elas servem para que nosso sistema consiga chamar as funções criadas a cima.
Expand Down

0 comments on commit 584630e

Please sign in to comment.