nolanri Posted June 3, 2016 Share Posted June 3, 2016 on single player the code i have to remove items from the ground works fine using: getWorldItem():removeFromSquare(); But when I test on multiplayer, the items appear to have been removed. But if you move out of the current loaded cell, then move back into it. all the items I removed are still there! any help please! Link to comment Share on other sites More sharing options...
blindcoder Posted June 3, 2016 Share Posted June 3, 2016 You might need to do: square:transmitRemoveItemFromSquare(item); Link to comment Share on other sites More sharing options...
ProjectSky Posted June 3, 2016 Share Posted June 3, 2016 (edited) I also have this problem, have you made any progress? Additionally @nolanri Can you post a full code? I would like to make a reference thx Edited June 3, 2016 by Sky_Orc_Mm Link to comment Share on other sites More sharing options...
nolanri Posted June 3, 2016 Author Share Posted June 3, 2016 yes i fixed this. need to use before the MapSquare:transmitRemoveItemFromSquare(WorldItem) ...aaand as im writing this I see BlindCoder gave me the answer, I guess I should have checked for answers earlier... Thanks ProjectSky 1 Link to comment Share on other sites More sharing options...
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