Skip to content

glue: resource for attaching players (and/or) vehicles to a vehicle #657

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

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

sacr1ficez
Copy link
Contributor

@sacr1ficez sacr1ficez commented Aug 12, 2025

Based on MTA's community resource: glue_new

Changes comparing to original version:

  • meta.xml scripts are loaded by patterns
  • refactored most of code, a bit of optimizations
  • few additional things to customize (see config: ShVehicleAttachConfig.lua)
  • added security checks for both client and server side, a lot of them
  • added player delays to prevent trigger spam
  • added glue messages for few actions
  • added optional ability to attach-lock vehicle using key
  • added optional feature to detach all currently attached elements (for vehicle driver)
  • added optional one-time hint when entering a vehicle (content is based on which features are enabled)
glue_messages

@sacr1ficez sacr1ficez changed the title glue_new - resource for attaching players/vehicle glue_new - resource for attaching players and vehicles to a vehicle Aug 12, 2025
@sacr1ficez sacr1ficez changed the title glue_new - resource for attaching players and vehicles to a vehicle glue_new - resource for attaching players (and/or) vehicles to a vehicle Aug 12, 2025
@sacr1ficez sacr1ficez changed the title glue_new - resource for attaching players (and/or) vehicles to a vehicle glue_new: resource for attaching players (and/or) vehicles to a vehicle Aug 12, 2025
@Dutchman101
Copy link
Member

Dutchman101 commented Aug 12, 2025

I think you can just name this resource "glue", because the ancient community resource called "glue" isn't official nor included with the MTA resources, and it won't be related.
@sacr1ficez

@sacr1ficez sacr1ficez changed the title glue_new: resource for attaching players (and/or) vehicles to a vehicle glue: resource for attaching players (and/or) vehicles to a vehicle Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants