I am trying to fix a fisherman work plugin and in the line of pay the fillet the user does not receive the payment.
I have this:
if qte > 0 then
TriggerEvent('player:looseItem',22, 1)
TriggerServerEvent('mission:completed', 50)
ClearPrints()
SetTextEntry_2("STRING")
AddTextComponentString("~g~Here you're 50$ for your shit.")
DrawSubtitleTimed(2000, 1)
else
ClearPrints()
SetTextEntry_2("STRING")
AddTextComponentString("~r~Vous n'avez plus de Filet")
DrawSubtitleTimed(2000, 1)
end
player recibe message
AddTextComponentString("~g~Here you’re 50$ for your shit.")
but no payment, someone can help me ? i new on this thx