Jump to content

private vehicles for base


5150

Recommended Posts

Posted

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

Posted

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.

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...