Jump to content

Recommended Posts

Posted

Hello! I'm currently working on some commands that I only to be used in vehicles/select vehicles. Such as a /megaphone command for Law Enforcement Vehicles. I'm on C#.

Posted

I’m not so sure what you want with this post, but if you need help it should be pretty easy:

- Put hashnames into an array
- Listen for PlayerEnterVehicle event
- Compare which vehicle the player is in using hashnames
- Do what you want from there

I dont write in C# so I can’t provide an example sorry.

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...