FAQ
Common questions about Eleven Surfing: frameworks, standalone, VIP only, weather, board-carry emotes, translations, escrowed code, Keymaster and support.
Common questions before and after installing Eleven Surfing. If you have an error (no board, no shop, crashes), see Troubleshooting.
Compatibility
Does it work with Qbox, QBCore or ESX?
Yes, all three. With Config.Framework = 'auto' it detects qbx_core, qb-core or es_extended by itself. It comes from our own Qbox surfing script; the QBCore and ESX bridges are new and haven't been tested in game yet. The surfboard item is added with the files in install/ (see Installation).
And without a framework?
That works too. Set Config.Item = false and Config.Command = 'surf': players take the board out with /surf. Without a framework there's no shop, since there's no money to charge.
Which inventories are supported?
ox_inventory and the QBCore or ESX inventory. With Config.Inventory = 'auto' it uses ox_inventory if it's running, otherwise your framework's.
Do I need ox_target or qb-target?
No. They're only used to talk to the shop vendor. Without either, a "press E" prompt shows up.
Does it work with my weather script?
Yes. The swell reads whatever weather the game has at that moment, no matter which script sets it. How much the sea rises with each weather is set in Config.Waves.WeatherIntensity.
Can I run it alongside another waves or sea script?
Not a good idea. If another script also changes the sea's waves, they'll fight each other. Also don't install it next to another copy or older version of this surf script that uses the same model: the console shows Duplicate Archetype.
Does it need a database?
No. Only with ESX is the item added to the items table with install/esx.sql.
Installation
Can I restart the resource with players online?
No. It ships a custom model and animations in stream/, and restarting it live can crash players' games. Install, change the config and update with a full server restart.
Does it include an item image?
No. Use any picture you like, named surfboard.png, in your inventory's image folder.
I get "You lack the required entitlement"
The server's license key doesn't belong to the Cfx.re account you bought the script with. The fix is in Installation and in the general guide Install with Keymaster.
Configuration and usage
How do players get the board?
At the Vespucci Beach shop ($150 by default) or like any other item on your server: sell it in other shops or hand it out yourself. The shop's location and price are set in Config.Shop.
Can I make it VIP only?
Yes. Set Config.RequiredAce = 'surfing.use' and add add_ace group.vip surfing.use allow to server.cfg. See Configuration.
Can I change the key to climb on?
Each player changes it in Settings > Key Bindings > FiveM. The key they start with is Config.MountKey (E).
How do I get bigger waves?
For a moment, use /waves 3.0 (and /waves to go back to the weather). Permanently, raise Config.Waves.WeatherIntensity, Config.Waves.Model.AmplitudeScale or Config.Waves.GainStanding. See Configuration.
Do other players see the board and the surfer?
Yes. With OneSync everyone sees the board, the player on it and their animations.
Can the surfer ride with the right foot forward?
Yes. Change Config.Rider.stand.rotation to vector3(0.0, 0.0, -90.0) ("goofy" stance).
I have a "board under the arm" emote. Can it be hidden while surfing?
Yes, if your emote script allows it. While the board is in the water, the local state bag surfBoardOut is true, and exports['eleven-surfing']:isSurfing() returns two values: whether you're riding and whether the board is out. Your emote script can check them so it doesn't show the board under the arm.
How do I translate it?
Copy locales/en.json under a new name (for example fr.json), translate it and set Config.Locale = 'fr'. Don't remove %s, %d or the ~INPUT_...~ tags. English and Spanish are included.
Purchase and licensing
Where do I download it after buying?
From Cfx.re Keymaster, under Granted Assets, with the account you bought it with. It shows up as eleven-surfing. Step by step in Buy and download.
Can I use it on another server or move it to another account?
The resource is tied to your Cfx.re account: it runs on the server whose license key (sv_licenseKey) belongs to that same account. For any account change, open a ticket. More in Licenses and escrow.
What can I edit?
config.lua, the translations in locales/ and the files in install/. The rest of the code is escrowed and can't be opened or modified.
Are the board and animations your own?
Yes. The board model and both animations (paddling and standing) were made by Eleven Project. They're used with the resource, but can't be redistributed or resold separately.
Can you add a feature I need?
Ask for it by opening a ticket on our Discord. We make the code changes ourselves.
Support
Where do I get help?
Open a ticket on our Discord with:
- Your framework, your inventory and your
ox_libversion. - Your
config.lua. - The server console or F8 error, if any.
- For Keymaster issues, your Cfx.re account name.
More in the Support guide.