Jump to content

Delete object model


Krazy

Recommended Posts

Posted

Hey fellas, i was wondering if it is possible to delete any object model from my game for instance trees, i want to delete them from the game, any way to do that ?

Posted

So you want to remove them from GTA itself? If so then this isn't the right place to ask, I don't know how to do that. I'm sure it's possible somehow though, but if you do that then you may not be able to play on many public servers or it's possible that MTA simply ignores your edited files so you won't see any change when playing MTA.

Posted

I actually edited the gta3 file, but i don't see any changes in game, is it possible to edit it for mta ?, i want just to remove some laggy leaves from the trees but i don't see any effects

Posted
2 hours ago, Krazy said:

I actually edited the gta3 file, but i don't see any changes in game, is it possible to edit it for mta ?, i want just to remove some laggy leaves from the trees but i don't see any effects

Seriously? C'mon, leaves on trees aren't lagging your game, are they?

Anyways.. you can remove all objects of some model using mentioned function removeWorldModel.

Example:

removeWorldModel(656, 10000, 0, 0, 0) -- removes all instances of model 656 on the map

 

Posted

it is server sided, isn't it ? correct me, and by the way where should i put those to run in the server i am playing on 

Posted

You can't use any lua scripts that way. They should be put on the server itself in order to work. And if you delete or modify some GTA files then you may not be allowed to enter many servers or if an admin sees that you go through trees for example he may ban you of the server. 

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