Jump to content

Add Samp objects (not only in MTA editor)


C0b0ll

Recommended Posts

Hi guys,

I Try to add a model on the map, but I DON'T want to replace an existing model (then without using client functions like engineLoadTXD).

Is it possible to create (from server side) the model 999999 for example ?

Example of server code :

importModel(999999, "data/MyModel.dff") 
createObject(999999, 0.0, 0.0, 15.0 ) 

Thanks

Link to comment
But still, you can replace a object.
engineLoadDFF 
engineReplaceModel 

Now see the example there!

I know this way, but it is on the client side. It is why i said:

(...) but I DON'T want to replace an existing model (then without using client functions like engineLoadTXD).

Thanks for your answer :).

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...