Closed ZaT92 closed 4 months ago
Working on my script ZAT-WEED I have checked multiple time the Bucket of the 'src' on server side of other resources, and here is the result :
Solution : change :
SetPlayerRoutingBucket(src, 0) into QBCore.Functions.SetPlayerBucket(src, 0)
and
SetPlayerRoutingBucket(src, bucket) into QBCore.Functions.SetPlayerBucket(src, tonumber(bucket))
Submit a PR for this, thank you
Working on my script ZAT-WEED I have checked multiple time the Bucket of the 'src' on server side of other resources, and here is the result :
Solution : change :
SetPlayerRoutingBucket(src, 0) into QBCore.Functions.SetPlayerBucket(src, 0)
and
SetPlayerRoutingBucket(src, bucket) into QBCore.Functions.SetPlayerBucket(src, tonumber(bucket))