SkubiPL Posted August 30, 2012 Share Posted August 30, 2012 Hi. I have problem because when i delate the objest from the map something like this is happining. I cant explain this so i git pistures. In this one is everything ok. http://img52.imageshack.us/img52/3600/mtascreen20120831011938.png But i this one the objests are gone but i did not delate. http://img19.imageshack.us/img19/6452/mtascreen20120831011932.png And one more example http://img51.imageshack.us/img51/2351/mtascreen20120831011948.png http://img401.imageshack.us/img401/9401/mtascreen20120831011953.png My script look like this. function start() removeWorldModel(4025, 300, 1777.8359, -1773.9063, 12.5234); removeWorldModel(4019, 300, 1777.8359, -1773.9063, 12.5234); removeWorldModel(4215, 300, 1777.5547, -1775.0391, 36.7500); end addEventHandler("onResourceStart", getResourceRootElement(), start) Please help me Link to comment
Tails Posted August 31, 2012 Share Posted August 31, 2012 Remove the ; You're not working in any tables, so no comma's are needed. function start() removeWorldModel(4025, 300, 1777.8359, -1773.9063, 12.5234) removeWorldModel(4019, 300, 1777.8359, -1773.9063, 12.5234) removeWorldModel(4215, 300, 1777.5547, -1775.0391, 36.7500) end addEventHandler("onResourceStart", getResourceRootElement(), start) Link to comment
SkubiPL Posted August 31, 2012 Author Share Posted August 31, 2012 I did this but its still the same Link to comment
SkubiPL Posted August 31, 2012 Author Share Posted August 31, 2012 I dont thing so because its easy to get ID... If i will use frong ID the objest wount delete. Please can anyone help me. I saw a lot servers with deleted objects with out this problem Link to comment
SkubiPL Posted September 11, 2012 Author Share Posted September 11, 2012 Any one knows whot is the problem??? Link to comment
TwiX! Posted September 12, 2012 Share Posted September 12, 2012 Remove the ;You're not working in any tables, so no comma's are needed. he can use ; this is not a error remove LOD too Link to comment
SkubiPL Posted October 2, 2012 Author Share Posted October 2, 2012 i did and its still the same help me please Link to comment
Tails Posted October 7, 2012 Share Posted October 7, 2012 Did you add type="client" or type="server" in the meta file? Try either of those. 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