C45PER_SRP
Silver Elite
I havent managed to remove the sound from the surfboard. (Maybe someone can comment a way to do it) I have set the audiohash as null, set the fWaveAudioMult to 0 but still not removing the engine sound. I also havent remove the trunk storage. ITEMS PLACED IN THE TRUNK WILL BE DELETED ON DESPAWN OF THE SURFBOARD
If reuploading please give credit! Do whatever you want with the script but please give credit. Update it and sell it for all i care, just give credit (and give me a free copy if youre updating it
I've seen other surfboard scripts but none with it as an item you can just use whenever you want. Hence why i made this.
**INSTALLATION**
remove the "-main" from the end of the folder name. (github adds it when creating a readme)
add the following to qb-core>shared>items.lua
**
["surfboard"] = {["name"] = "surfboard", ["label"] = "Surfboard", ["weight"] = 150, ["type"] = "item", ["image"] = "surfboard.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Lets go surfing duuuude!"},
**
Add the image from the "img" folder to qb-inventory>html>images
To change location its all in the client.lua
Script made by C45PER @ Spective RP
Edit it however you want, its a free script, its yours to do with as you please.
All i ask is that if you update it an post it online please give credit.
**Surfboards are given for free to change this you just need to add the removemoney qbcore function to the surfboard:give event in server.lua**
Hidden link for visitors, to see
Log in or register now.