This commit is contained in:
Nordi98 2025-07-01 11:20:24 +02:00
parent 7e2451be50
commit 176f249885
23 changed files with 1323 additions and 0 deletions

View file

@ -0,0 +1,36 @@
-----------------For support, scripts, and more----------------
--------------- https://discord.gg/wasabiscripts -------------
---------------------------------------------------------------
ShowHelp = function(msg)
BeginTextCommandDisplayHelp('STRING')
AddTextComponentSubstringPlayerName(msg)
EndTextCommandDisplayHelp(0, false, true, -1)
end
WaterCheck = function()
local headPos = GetPedBoneCoords(cache.ped, 31086, 0.0, 0.0, 0.0)
local offsetPos = GetOffsetFromEntityInWorldCoords(cache.ped, 0.0, 50.0, -25.0)
local water, waterPos = TestProbeAgainstWater(headPos.x, headPos.y, headPos.z, offsetPos.x, offsetPos.y, offsetPos.z)
return water, waterPos
end
CreateBlip = function(coords, sprite, colour, text, scale)
local blip = AddBlipForCoord(coords)
SetBlipSprite(blip, sprite)
SetBlipColour(blip, colour)
SetBlipAsShortRange(blip, true)
SetBlipScale(blip, scale)
AddTextEntry(text, text)
BeginTextCommandSetBlipName(text)
EndTextCommandSetBlipName(blip)
return blip
end
TryFish = function(data)
TriggerServerEvent('wasabi_fishing:tryFish', data)
end
FishingSellItems = function()
TriggerServerEvent('wasabi_fishing:sellFish')
end