Search the Community
Showing results for tags 'creation'.
-
I made this: -- All other functions and GUI creation. -- [...] -- Created button called "fbumper". local function setFBumper() local theVeh7 = getPedOccupiedVehicle(localPlayer) if theVeh7 then setVehicleComponentVisible(theVeh7, "bump_front_dummy", false) end end addEventHandler("onClientGUIClick", fbumper, setFBumper, false) -- Everything else... It works. Then I wanted to have the button switch between true to false when clicked. Something like: local function setFBumper() local theVeh7 = getPedOccupiedVehicle(localPlayer) if theVeh7 then setVehicleComponentVisible(theVeh7, "bump_front_dummy", false) elseif getVehicleComponentVisible(theVeh7) == "false" then setVehicleComponentVisible(theVeh7, "bump_front_dummy", true) end end addEventHandler("onClientGUIClick", fbumper, setFBumper, false) guiSetVisible (vehmod, false) It doesn't work correctly. It sets it invisible, but it doesn't return the state to visible. I also thought about using the setVehicleComponentVisible (not setVehicleComponentVisible) to make it a little bit more compact. I'm using a setEngineState script to help myself, but I don't know how to use it with these arguments. DB 3 throws nothing. What am I doing wrong?
-
Hey guys, I'm going to show you my own Mother Base map! It's perfect for factions, gangs or squads! The location is just west of Bayside Marina and Gant Bridge. Here are few screenshot for you guys: The main building The quarters The back of the mail building Sorry, I can't attach my pictures so I'm giving you the links to the pic. And here's the download link: MGS:V Inspired Mother Base Thanks for visiting this very first thread of mine, I hope you enjoy my present! And I'm sorry if there's any errors in the map, I used to put the map in a RPG server so there are vehicles I put. I'm a new mapper so this is one of my biggest map I made.
- 1 reply
-
- 2
-
- mother base
- mgsv
-
(and 2 more)
Tagged with: