Jump to content

question about objects ..


Sora

Recommended Posts

hi .. i've found sa:mp maps not .map file , it's a code and it was like that

CreateObject

i changed it to

createObject , and i thought it will work in mta:sa but it's gives me error

bad argument @'createObject' [invalid model id]

now my question is why does this error appear to me ?

does the objects that are exist on sa:mp not exist on mta:sa ?

or they are exist but locked for somereason?

example :

CreateObject(16780,1275.91296387,-1651.30603027,19.69000053,0.00000000,0.00000000,0.00000000) 

Link to comment

Check out Example 2 at

https://wiki.multitheftauto.com/wiki/EngineLoadTXD

But the problem is that you would need those custom objects SAMP added (.TXD and .DFF)

Those are in C:\Program Files (x86)\Rockstar Games\GTA San Andreas\SAMP\SAMP.img

You can extract those files using Spark IMG Editor available at GTAGarage

Then there's the point of COL files for collision. Extract AllSAMPCOLs.col from SAMPCOL.img using Spark. It's one file, because it's a library for all of SAMPs objects. Unfortunately, a library file isn't allowed by the MTA function engineLoadCOL. You can use Collision File Editor II to split it into files per object. I can't provide further support on this, because I have never done this myself either.

Link to comment
Check out Example 2 at

https://wiki.multitheftauto.com/wiki/EngineLoadTXD

But the problem is that you would need those custom objects SAMP added (.TXD and .DFF)

Those are in C:\Program Files (x86)\Rockstar Games\GTA San Andreas\SAMP\SAMP.img

You can extract those files using Spark IMG Editor available at GTAGarage

Then there's the point of COL files for collision. Extract AllSAMPCOLs.col from SAMPCOL.img using Spark. It's one file, because it's a library for all of SAMPs objects. Unfortunately, a library file isn't allowed by the MTA function engineLoadCOL. You can use Collision File Editor II to split it into files per object. I can't provide further support on this, because I have never done this myself either.

:o

this is more than what i imagined ..

thanks for your help i really appreciate your help

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...