Project-Sloth / ps-housing

Advanced housing system for QBCore.
https://discord.gg/projectsloth
Other
334 stars 107 forks source link

BUCKETS not working correctly #209

Closed ZaT92 closed 4 months ago

ZaT92 commented 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))

MonkeyWhisper commented 4 months ago

Submit a PR for this, thank you