Jump to content

Why player.vehicle not work?


Recommended Posts


i use sample from wiki (server-side)

mp.events.addCommand('veh', (player) => {
    if (player.vehicle)
          player.outputChatBox('You are in the vehicle right now!');
         player.outputChatBox('You are not in the vehicle right now!');


and... this not work... when i am in vehicle - say in chat "You are not in the vehicle right now!"




Edited by s2sk
Link to comment
Share on other sites

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