mirror of
https://github.com/jimathy/jim-boarding.git
synced 2026-04-05 09:03:58 -04:00
Commit[items.txt]: items cleaned
- Made items uniform to other scripts - updated readme
This commit is contained in:
51
README.md
51
README.md
@@ -1,18 +1,20 @@
|
|||||||
# Jim-Skateboard
|
# Jim-Boarding
|
||||||
|
|
||||||
|
## - [Our Documentation](https://jixelpatterns.gitbook.io/docs)
|
||||||
|
|
||||||
## What is it?
|
## What is it?
|
||||||
|
|
||||||
"Electric" Skateboard is a script completely remade from, but based on rd_cars.
|
Jim-Boarding is a script completely remade from, but based on rd_cars.
|
||||||
|
|
||||||
This script handles using skateboards as items to ride them around the map
|
This script handles using skateboards and Surfboards as items to ride them around the streets or Beaches or Los Santos
|
||||||
|
|
||||||
The player can do skate tricks on the skateboard to show off their skills
|
The player can do tricks on the board to show off their skills
|
||||||
|
|
||||||
The best part is they can fail them and faceplant it <3
|
The best part is they can fail them and faceplant it <3
|
||||||
|
|
||||||
There is also support for animal peds to ride them, they wil thank you but the other players with complain like its the worst thing in their life
|
There is also support for animal peds to ride them, they wil thank you but the other players with complain like its the worst thing in their life
|
||||||
|
|
||||||
Supports the addition of multiple skateboard items if you have custom models you wish to add
|
Supports the addition of multiple board items if you have custom models you wish to add
|
||||||
- Just add a new item, and place the itemname and model in the config
|
- Just add a new item, and place the itemname and model in the config
|
||||||
|
|
||||||
Starting support for SurfBoards, but cant figure out how to shut them up, any help with that would be great
|
Starting support for SurfBoards, but cant figure out how to shut them up, any help with that would be great
|
||||||
@@ -46,8 +48,7 @@ surfboard_05 = { name = "surfboard_05", label = "Surfboard", weight = 100, type
|
|||||||
### OX:
|
### OX:
|
||||||
4. Add the items to your `[ox]/ox_inventory/data/items.lua`:
|
4. Add the items to your `[ox]/ox_inventory/data/items.lua`:
|
||||||
```lua
|
```lua
|
||||||
["skateboard_01"] = {
|
["skateboard_01"] = { label = "Skateboard", weight = 500, stack = false, close = true, description = "Skateboard",
|
||||||
label = "Skateboard", weight = 500, stack = false, close = true, description = "Skateboard",
|
|
||||||
client = { image = "skateboard_01.png", event = "jim-boarding:Skateboard:PickPlace" },
|
client = { image = "skateboard_01.png", event = "jim-boarding:Skateboard:PickPlace" },
|
||||||
buttons = {
|
buttons = {
|
||||||
{ label = "Show Board",
|
{ label = "Show Board",
|
||||||
@@ -58,44 +59,19 @@ surfboard_05 = { name = "surfboard_05", label = "Surfboard", weight = 100, type
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
["surfboard_01"] = {
|
["surfboard_01"] = { label = "Surfboard", weight = 500, stack = false, close = true, description = "",
|
||||||
label = "Surfboard",
|
|
||||||
weight = 500,
|
|
||||||
stack = false,
|
|
||||||
close = true,
|
|
||||||
description = "",
|
|
||||||
client = { image = "surfboard_01.png", event = "jim-boarding:Surfboard:PickPlace" },
|
client = { image = "surfboard_01.png", event = "jim-boarding:Surfboard:PickPlace" },
|
||||||
},
|
},
|
||||||
["surfboard_02"] = {
|
["surfboard_02"] = { label = "Surfboard", weight = 500, stack = false, close = true, description = "",
|
||||||
label = "Surfboard",
|
|
||||||
weight = 500,
|
|
||||||
stack = false,
|
|
||||||
close = true,
|
|
||||||
description = "",
|
|
||||||
client = { image = "surfboard_02.png", event = "jim-boarding:Surfboard:PickPlace" },
|
client = { image = "surfboard_02.png", event = "jim-boarding:Surfboard:PickPlace" },
|
||||||
},
|
},
|
||||||
["surfboard_03"] = {
|
["surfboard_03"] = { label = "Surfboard", weight = 500, stack = false, close = true, description = "",
|
||||||
label = "Surfboard",
|
|
||||||
weight = 500,
|
|
||||||
stack = false,
|
|
||||||
close = true,
|
|
||||||
description = "",
|
|
||||||
client = { image = "surfboard_03.png", event = "jim-boarding:Surfboard:PickPlace" },
|
client = { image = "surfboard_03.png", event = "jim-boarding:Surfboard:PickPlace" },
|
||||||
},
|
},
|
||||||
["surfboard_04"] = {
|
["surfboard_04"] = { label = "Surfboard", weight = 500, stack = false, close = true, description = "",
|
||||||
label = "Surfboard",
|
|
||||||
weight = 500,
|
|
||||||
stack = false,
|
|
||||||
close = true,
|
|
||||||
description = "",
|
|
||||||
client = { image = "surfboard_04.png", event = "jim-boarding:Surfboard:PickPlace" },
|
client = { image = "surfboard_04.png", event = "jim-boarding:Surfboard:PickPlace" },
|
||||||
},
|
},
|
||||||
["surfboard_05"] = {
|
["surfboard_05"] = { label = "Surfboard", weight = 500, stack = false, close = true, description = "Surf Rescue",
|
||||||
label = "Surfboard",
|
|
||||||
weight = 500,
|
|
||||||
stack = false,
|
|
||||||
close = true,
|
|
||||||
description = "Surf Rescue",
|
|
||||||
client = { image = "surfboard_05.png", event = "jim-boarding:Surfboard:PickPlace" },
|
client = { image = "surfboard_05.png", event = "jim-boarding:Surfboard:PickPlace" },
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -111,6 +87,7 @@ surfboard_05 = { name = "surfboard_05", label = "Surfboard", weight = 100, type
|
|||||||
- When you want to get off the skateboard press "G"
|
- When you want to get off the skateboard press "G"
|
||||||
- Target the board again and choose "Pick up" to pick it up again
|
- Target the board again and choose "Pick up" to pick it up again
|
||||||
- Press the arrows to move the skateboard
|
- Press the arrows to move the skateboard
|
||||||
|
- Use "Spacebar" to do tricks, either press or hold down space
|
||||||
```
|
```
|
||||||
## How to add new skateboards/surfboards
|
## How to add new skateboards/surfboards
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
["skateboard_01"] = {
|
["skateboard_01"] = { label = "Skateboard", weight = 500, stack = false, close = true, description = "Skateboard",
|
||||||
label = "Skateboard", weight = 500, stack = false, close = true, description = "Skateboard",
|
|
||||||
client = { image = "skateboard_01.png", event = "jim-boarding:Skateboard:PickPlace" },
|
client = { image = "skateboard_01.png", event = "jim-boarding:Skateboard:PickPlace" },
|
||||||
buttons = {
|
buttons = {
|
||||||
{ label = "Show Board",
|
{ label = "Show Board",
|
||||||
@@ -10,43 +9,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
["surfboard_01"] = {
|
["surfboard_01"] = { label = "Surfboard", weight = 500, stack = false, close = true, description = "",
|
||||||
label = "Surfboard",
|
|
||||||
weight = 500,
|
|
||||||
stack = false,
|
|
||||||
close = true,
|
|
||||||
description = "",
|
|
||||||
client = { image = "surfboard_01.png", event = "jim-boarding:Surfboard:PickPlace" },
|
client = { image = "surfboard_01.png", event = "jim-boarding:Surfboard:PickPlace" },
|
||||||
},
|
},
|
||||||
["surfboard_02"] = {
|
["surfboard_02"] = { label = "Surfboard", weight = 500, stack = false, close = true, description = "",
|
||||||
label = "Surfboard",
|
|
||||||
weight = 500,
|
|
||||||
stack = false,
|
|
||||||
close = true,
|
|
||||||
description = "",
|
|
||||||
client = { image = "surfboard_02.png", event = "jim-boarding:Surfboard:PickPlace" },
|
client = { image = "surfboard_02.png", event = "jim-boarding:Surfboard:PickPlace" },
|
||||||
},
|
},
|
||||||
["surfboard_03"] = {
|
["surfboard_03"] = { label = "Surfboard", weight = 500, stack = false, close = true, description = "",
|
||||||
label = "Surfboard",
|
|
||||||
weight = 500,
|
|
||||||
stack = false,
|
|
||||||
close = true,
|
|
||||||
description = "",
|
|
||||||
client = { image = "surfboard_03.png", event = "jim-boarding:Surfboard:PickPlace" },
|
client = { image = "surfboard_03.png", event = "jim-boarding:Surfboard:PickPlace" },
|
||||||
},
|
},
|
||||||
["surfboard_04"] = {
|
["surfboard_04"] = { label = "Surfboard", weight = 500, stack = false, close = true, description = "",
|
||||||
label = "Surfboard",
|
|
||||||
weight = 500,
|
|
||||||
stack = false,
|
|
||||||
close = true,
|
|
||||||
description = "",
|
|
||||||
client = { image = "surfboard_04.png", event = "jim-boarding:Surfboard:PickPlace" },
|
client = { image = "surfboard_04.png", event = "jim-boarding:Surfboard:PickPlace" },
|
||||||
},
|
},
|
||||||
["surfboard_05"] = {
|
["surfboard_05"] = { label = "Surfboard", weight = 500, stack = false, close = true, description = "Surf Rescue",
|
||||||
label = "Surfboard",
|
|
||||||
weight = 500,
|
|
||||||
stack = false,
|
|
||||||
close = true,
|
|
||||||
description = "Surf Rescue",
|
|
||||||
client = { image = "surfboard_05.png", event = "jim-boarding:Surfboard:PickPlace" },
|
client = { image = "surfboard_05.png", event = "jim-boarding:Surfboard:PickPlace" },
|
||||||
},
|
},
|
||||||
Reference in New Issue
Block a user