mirror of
https://github.com/jimathy/jim-boarding.git
synced 2026-08-04 03:15:06 -04:00
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
14 lines
459 B
Lua
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)
|