Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added additional function to set rotation respawn vehicle #336

New issue

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

Closed
znvjder wants to merge 4 commits into multitheftauto:master from znvjder:vehicleFeatures

Conversation

@znvjder
Copy link
Contributor

@znvjder znvjder commented Aug 23, 2018
edited by patrikjuvonen
Loading

modified setVehicleRespawnPosition to:

  • setVehicleRespawnPosition( vehicle theVehicle, x, y, z )
  • setVehicleRespawnRotation( vehicle theVehicle, rx, ry, rz )
  • getVehicleRespawnPosition( vehicle theVehicle )
  • getVehicleRespawnRotation( vehicle theVehicle )

adapted under OOP

  • vehicle:setRespawnPosition( x, y, z )
  • vehicle:setRespawnRotation( rx, ry, rz )
  • vehicle:getRespawnPosition( )
  • vehicle:getRespawnRotation( )

available Lua class variable for current vehicle element

  • vehicle.respawnPosition
  • vehicle.respawnRotation

Edit:

znvjder and others added 4 commits August 23, 2018 14:26
modified setVehicleRespawnPositon to:
- setVehicleRespawnPosition( vehicle theVehicle, x, y, z )
- setVehicleRespawnRotation( vehicle theVehicle, rx, ry, rz )
- getVehicleRespawnPosition( vehicle theVehicle )
- getVehicleRespawnRotation( vehicle theVehicle )
- adapted under OOP
- vehicle:setRespawnPosition( x, y, z )
- vehicle:setRespawnRotation( rx, ry, rz )
- vehicle:getRespawnPosition( )
- vehicle:getRespawnRotation( )
- available Lua class variable
- vehicle.respawnPosition
- vehicle.respawnRotation
@patrikjuvonen patrikjuvonen added the enhancement New feature or request label Aug 23, 2018
@patrikjuvonen patrikjuvonen added this to the 1.5.6 milestone Aug 23, 2018
@znvjder znvjder deleted the vehicleFeatures branch August 23, 2018 17:40
@qaisjp qaisjp removed this from the 1.5.6 milestone Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Labels

enhancement New feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /