Hi!
I thought it’s gonna be more easier that it actually is , but could someone tell me what I am doing wrong? I am bit confused from when and what I should write into the server and client side…
This, below, I’ve tried to put in client, nothing happens. Please, get advice to noob, thank you!
Citizen.CreateThread(function()
while true do
Wait(500)
if xPlayer.getAccount('black_money').money > 10000 then
TriggerEvent('skinchanger:loadClothes', skin, ['bags_1'] = 45)
elseif xPlayer.getAccount('black_money').money < 10000 then
TriggerEvent('skinchanger:loadClothes', skin, ['bags_1'] = 0)
end
end
end)