amx icon indicating copy to clipboard operation
amx copied to clipboard

Custom objects from SAMP

Open Disinterpreter opened this issue 4 years ago • 3 comments

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 https://github.com/multitheftauto/mtasa-blue/issues/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 avatar Dec 01 '20 12:12 Disinterpreter

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

Allerek avatar Dec 13 '20 01:12 Allerek

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

Disinterpreter avatar Dec 13 '20 07:12 Disinterpreter

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

lopezloo avatar Sep 25 '22 10:09 lopezloo