5150 Posted November 8, 2015 Posted November 8, 2015 hi guys, does anyone have a resource or script that will only allow certain vehicles to be locked only for one gang? i dont want EVERY (for example leviathan) in the server to be locked for that team, i just want the vehicles that are inside my base locked. ive tried different resources, but they never work for me... if anyone is awesome enough to help me, here are the vehicles i want locked and what they are named in my server (if it helps): i need them for Psycho Mans Gang our bases are area 51 (restricted area), and mount chiliad ****this is hunter**** ****maverick**** ****hydra**** ****rhino**** i can enter the coordinates to place the vehicles if needed, but could someone set the script up for me? (IDEA) maybe its possible to make a colshape square in the area, to lock every vehicle in that square to a certain gang? Paid Roleplay Mapper/Server Management - Message on forums or Discord for info Fluent with Owlgaming Code. Discord message for paid full set-ups and help My Discord: 5150#5150 (or .5150) Monky Gaming Roleplay/Adventure Discord (English players and servers interested in collaborating or partnering message me) https://discord.gg/SFBUHknpxy
Dealman Posted November 8, 2015 Posted November 8, 2015 Using a colshape would work, yes. You could also use getZoneName I suppose, but it wouldn't be as accurate. The event you need to use is onVehicleEnter. Then you check their team using getPlayerTeam and/or getTeamName. If you have access to the script that spawns the vehicles, you could also use setElementData and getElementData. If they're not in the team "Psycho Mans Gang" then use cancelEvent. If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
5150 Posted November 9, 2015 Author Posted November 9, 2015 yes killer. just a colshape where if you enter area 51 or mount chiliad, all vehicles in the shape are locked for my team/group/gang whatever Paid Roleplay Mapper/Server Management - Message on forums or Discord for info Fluent with Owlgaming Code. Discord message for paid full set-ups and help My Discord: 5150#5150 (or .5150) Monky Gaming Roleplay/Adventure Discord (English players and servers interested in collaborating or partnering message me) https://discord.gg/SFBUHknpxy
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now