Skip to content
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

Custom objects from SAMP #73

Open
Disinterpreter opened this issue Dec 1, 2020 · 3 comments
Open

Custom objects from SAMP #73

Disinterpreter opened this issue Dec 1, 2020 · 3 comments
Labels
compatibility Compatibility with latest version of SAMP core The issue depends from the code of the module. depends on blue The feature might depend on MTA:SA source code enhancement New feature or request

Comments

@Disinterpreter
Copy link
Member

Is your feature request related to a problem? Please describe.
There are custom objects in SAMP, these objects was created for SAMP, but SAMP developers not owners of these.

Describe the solution you'd like
I suppose we could be ask authors about use it in AMX, or making analogs.

Depends on multitheftauto/mtasa-blue#1835
or any allocate object function with ID's setter

Additional context
https://dev.prineside.com/en/gtasa_samp_model_id/tag/2-sa-mp/?page=1

@Disinterpreter Disinterpreter added enhancement New feature or request compatibility Compatibility with latest version of SAMP core The issue depends from the code of the module. depends on blue The feature might depend on MTA:SA source code labels Dec 1, 2020
@Allerek
Copy link

Allerek commented Dec 13, 2020

Most of them exist in GTA SA(they're just cut from bigger models), rest are cut from other rockstar games(GTA3/VC/Manhunt), only some of them are custom ones, it would be better to just use engineRequestModel+replace instead of adding them directly to MTA

@Disinterpreter
Copy link
Member Author

Most of them exist in GTA SA(they're just cut from bigger models), rest are cut from other rockstar games(GTA3/VC/Manhunt), only some of them are custom ones, it would be better to just use engineRequestModel+replace instead of adding them directly to MTA

I know, but IDs must be static and it must coincide with SAMP's IDs

@lopezloo
Copy link
Member

lopezloo commented Sep 25, 2022

You can use engineRequestModel and then translate IDs. So, script would call CreateObject(X, ...) and it would create object with ID Y.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with latest version of SAMP core The issue depends from the code of the module. depends on blue The feature might depend on MTA:SA source code enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants