Files
jim-boarding/server/usableItems.lua
Jim Shield a694e27d93 Fix typo affecting surfboards
somehow in last update I managed to change the small b to a capital B

`:SurfBoard:PickPlace`
to:
`:SurfBoard:PickPlace`

This should not being able to place them
2025-07-28 12:28:38 +01:00

14 lines
459 B
Lua

onResourceStart(function()
for k, v in pairs(SkateboardItemModels) do
createUseableItem(k, function(source, item)
TriggerClientEvent(getScript()..":Skateboard:PickPlace", source, { name = k })
end)
end
for k, v in pairs(SurfboardItemModels) do
createUseableItem(k, function(source, item)
TriggerClientEvent(getScript()..":Surfboard:PickPlace", source, { name = k })
end)
end
end, true)