s2sk Posted September 15, 2018 Share Posted September 15, 2018 (edited) Hi. i use sample from wiki (server-side) mp.events.addCommand('veh', (player) => { if (player.vehicle) player.outputChatBox('You are in the vehicle right now!'); else 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!" wtf? Edited September 15, 2018 by s2sk Link to comment Share on other sites More sharing options...
s2sk Posted September 15, 2018 Author Share Posted September 15, 2018 Figured it out. Vehicle create on client, because not work xd. Link to comment Share on other sites More sharing options...
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