Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Open the ps-signrobbery resource you just implemented in your resources folder a

### Step 3:
Open your entire resources folder with Visual Studio Code (or whichever program you use) and navigate to **qb-core/shared/items.lua**

#older qb-core
```lua
["stopsign"] = {["name"] = "stopsign", ["label"] = "Stop Sign", ["weight"] = 1, ["type"] = "item", ["image"] = "stopsign.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Stop Sign"},
["walkingmansign"] = {["name"] = "walkingmansign", ["label"] = "Pedestrian Sign", ["weight"] = 1, ["type"] = "item", ["image"] = "walkingmansign.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Pedestrian Sign"},
Expand All @@ -46,7 +46,18 @@ Open your entire resources folder with Visual Studio Code (or whichever program
["notrespassingsign"] = {["name"] = "notrespassingsign", ["label"] = "No Trespassing Sign", ["weight"] = 1, ["type"] = "item", ["image"] = "notrespassingsign.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "No Trespassing Sign"},
["yieldsign"] = {["name"] = "yieldsign", ["label"] = "Yield Sign", ["weight"] = 1, ["type"] = "item", ["image"] = "yieldsign.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Yield Sign"},
```

#new qb-core
```lua
stopsign = {name = "stopsign", label = "Stop Sign", weight = 1, type = "item", image = "stopsign.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Stop Sign"},
walkingmansign = {name = "walkingmansign", label = "Pedestrian Sign", weight = 1, type = "item", image = "walkingmansign.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Pedestrian Sign"},
dontblockintersectionsign = {name = "dontblockintersectionsign", label = "Intersection Sign", weight = 1, type = "item", image = "dontblockintersectionsign.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Intersection Sign"},
uturnsign = {name = "uturnsign", label = "U Turn Sign", weight = 1, type = "item", image = "uturnsign.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "U Turn Sign"},
noparkingsign = {name = "noparkingsign", label = "No Parking Sign", weight = 1, type = "item", image = "noparkingsign.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "No Parking Sign"},
leftturnsign = {name = "leftturnsign", label = "Left Turn Sign", weight = 1, type = "item", image = "leftturnsign.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Left Turn Sign"},
rightturnsign = {name = "rightturnsign", label = "Right Turn Sign", weight = 1, type = "item", image = "rightturnsign.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Right Turn Sign"},
notrespassingsign = {name = "notrespassingsign", label = "No Trespassing Sign", weight = 1, type = "item", image = "notrespassingsign.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "No Trespassing Sign"},
yieldsign = {name = "yieldsign", label = "Yield Sign", weight = 1, type = "item", image = "yieldsign.png", unique = false, useable = true, shouldClose = true, combinable = nil, description = "Yield Sign"},
```
Then copy this snippet above and paste it at the very bottom of file as shown in the GIF

![Code_xLLPuFXZuK](https://user-images.githubusercontent.com/91661118/170383607-9ed085c2-e6d6-40a1-9f03-71f025eb3476.gif)
Expand Down