We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As in title, it doesn't happen for other element types. It doesn't account whether player is syncer of vehicle. The way to prevent it is to use:
setElementSyncer(vehicleElement, false, true)
And set syncer manually when needed.
-- server local vehicleElement = createVehicle(434, 0, 0, 3) setElementID(vehicleElement, "testVeh") function checkVehiclePosition() local vehX, vehY, vehZ = getElementPosition(vehicleElement) iprint(vehX, vehY, vehZ) end setTimer(checkVehiclePosition, 500, 0) -- client local playerX, playerY, playerZ = getElementPosition(localPlayer) local vehicleElement = getElementByID("testVeh") setElementPosition(vehicleElement, playerX, playerY, playerZ)
Multi Theft Auto v1.6-release-22390
Ideally, it shouldn't affect server created vehicles at all. At the very least it should be limited to syncer only.
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
As in title, it doesn't happen for other element types. It doesn't account whether player is syncer of vehicle. The way to prevent it is to use:
And set syncer manually when needed.
Steps to reproduce
Version
Multi Theft Auto v1.6-release-22390
Additional context
Ideally, it shouldn't affect server created vehicles at all. At the very least it should be limited to syncer only.
Relevant log output
No response
Security Policy
The text was updated successfully, but these errors were encountered: