/ps-signrobbery

A unique script that gives you the ability to pick up, hold and steal signs around the map while also being able to trade them for materials.

Primary LanguageLua

Project Sloth GitHub Project PS-SIGNROBBERY Banner

ps-signrobbery

A unique script that gives you the ability to pick up, hold and steal signs around the map while also being able to trade them for materials.

Project Sloth Buttons 2

Dependencies:



Project Sloth GitHub Project PS-SIGNROBBERY Install Banner

Start installing now

We will now provide you with a step-by-step guide for the installation process. Shouldn't take too long and it shouldn't be too confusing either!

Step 1:

Go ahead and start by dragging and dropping ps-signrobbery into your designated resources folder.

If you are still lost, Slothy has created a few GIF's to help guide you through all the installation steps.

explorer_EWoAC8jVyC

Step 2:

Open the ps-signrobbery resource you just implemented in your resources folder and navigate to ps-signrobbery/images then copy those images inside qb-inventory/html/images

explorer_Vp8W2zuheK

Step 3:

Open your entire resources folder with Visual Studio Code (or whichever program you use) and navigate to qb-core/shared/items.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

Step 4:

Keep your entire resources folder with Visual Studio Code (or whichever program you use) and navigate to dpemotes/client/AnimationList.lua search for ssign9 using Ctrl F then add the following code underneath.

    ["ssign10"] = {
    "rcmnigel1d",
    "base_club_shoulder",
    "Steal Walking Man ",
    AnimationOptions = {
            Prop = "prop_sign_road_03e",
            PropBone = 60309,
            PropPlacement = {
                -0.1390,
                -0.9870,
                0.4300,
                -67.3315314,
                145.0627869,
                -4.4318885
            },
            EmoteLoop = true,
            EmoteMoving = true,
        }
    },
    ["ssign11"] = {
        "rcmnigel1d",
        "base_club_shoulder",
        "Steal U Turner ",
        AnimationOptions = {
            Prop = "prop_sign_road_03m",
            PropBone = 60309,
            PropPlacement = {
                -0.1390,
                -0.9870,
                0.4300,
                -67.3315314,
                145.0627869,
                -4.4318885
            },
            EmoteLoop = true,
            EmoteMoving = true,
        }
    },
    ["ssign12"] = {
        "rcmnigel1d",
        "base_club_shoulder",
        "Steal Left Turn ",
        AnimationOptions = {
            Prop = "prop_sign_road_05e",
            PropBone = 60309,
            PropPlacement = {
                -0.1390,
                -0.9870,
                0.4300,
                -67.3315314,
                145.0627869,
                -4.4318885
            },
            EmoteLoop = true,
            EmoteMoving = true,
        }
    },
    ["ssign13"] = {
        "rcmnigel1d",
        "base_club_shoulder",
        "Steal Right Turn ",
        AnimationOptions = {
            Prop = "prop_sign_road_05f",
            PropBone = 60309,
            PropPlacement = {
                -0.1390,
                -0.9870,
                0.4300,
                -67.3315314,
                145.0627869,
                -4.4318885
            },
            EmoteLoop = true,
            EmoteMoving = true,
        }
    },
    ["ssign14"] = {
        "rcmnigel1d",
        "base_club_shoulder",
        "Steal Trespassing ",
        AnimationOptions = {
            Prop = "prop_sign_road_restriction_10",
            PropBone = 60309,
            PropPlacement = {
                -0.1390,
                -0.9870,
                0.4300,
                -67.3315314,
                145.0627869,
                -4.4318885
            },
            EmoteLoop = true,
            EmoteMoving = true,
        }
    },


Project Sloth GitHub Project PS-SIGNROBBERY Features Banner

Some features to mention within this ps-signrobbery:

  • Steal signs found around the map
  • Hold signs and use them as an emote
  • Trade signs for materials in return


Project Sloth GitHub Project PS-SIGNROBBERY Showcase Banner

Time to show you what it looks like!

Here's a few showcased examples while using ps-signrobbery.

Steal signs:

68747470733a2f2f692e696d6775722e636f6d2f5641555a484e442e6a7067

Hold signs:

68747470733a2f2f692e696d6775722e636f6d2f6d4266335675702e6a7067

Minigame for stealing signs:

68747470733a2f2f692e696d6775722e636f6d2f7a324a744a507a2e6a7067

Credits:

Huge thanks to Hyper and Snipe (pushkart2) This release wouldn't be possible without them.

DMCA Protection Certificate

image

Copyright © 2022 Project Sloth. All rights reserved.