Jump to content
RAGE Multiplayer Community

Serverside player vehicle check (not entering)


Recommended Posts

Hey, today I have been trying to add check whether player already sits in the vehicle (not entering). The closest one method that was close to fit my needs was this:

if(player.vehicle && player.seat)

This worked for all the seats, but for obvious reason seat 0 was determinated as player woudln't be sitting in the vehicle. So what's the way to make all seats work correctly? Thank you very much!

Edited by Kubko
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...