TrapLord Studios™ Posted July 2, 2012 Share Posted July 2, 2012 Ok everyone I want to remove only one building in the default SA map i used this code for i=0, 4023 do removeWorldModel(i,4023,0,0,0) end But it doesnt work, I still see the building, and when i go close i walk through it. Please help. Link to comment
TAPL Posted July 2, 2012 Share Posted July 2, 2012 you put 0,0,0 for the coordinate on the map, there is no building in this coordinate also you put the radius 4023 Oo this will remove big area from the map i think 4023 is the build model id? try removeWorldModel(4023,10,x,y,z) -- change x,y,z to the coordinate of the build that you want remove Link to comment
TrapLord Studios™ Posted July 2, 2012 Author Share Posted July 2, 2012 yh thats it thanks am whats your skype maybe u can help me with stuff. Edit: But how do i get the default position of the default objects? Edit 2: I am seeing the building still but i can walk through it Link to comment
TrapLord Studios™ Posted July 3, 2012 Author Share Posted July 3, 2012 Can you give me the code for removing the lod please. Link to comment
qaisjp Posted July 3, 2012 Share Posted July 3, 2012 The lod is a model ID, find the lod id for that building and removeWorldModel for that id. engineSetModelLODDistance(4023,-1) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now