alienwave Posted March 17, 2019 Share Posted March 17, 2019 (edited) есть команда, но при её вводе консоль пишет следующее: Type Error: player.vehicle.setHandling(параметры) is not a function. Как исправить? Я неправильно использую команду? mp.events.addCommand('engine', (player, fullText, a) => { player.vehicle.setHandling("fDriveInertia", parseInt(a)); }); Edited March 17, 2019 by alienwave Link to comment Share on other sites More sharing options...
alienwave Posted March 18, 2019 Author Share Posted March 18, 2019 11 hours ago, Dreven said: Функция клиентской части, возможно в этом проблема? я её и использую в клиентских пакетах) Link to comment Share on other sites More sharing options...
AlexTempest Posted March 18, 2019 Share Posted March 18, 2019 А ты уверен, что у тебя vehicle сообственно не null? 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