#Whats a better method for Cloning n deleting Objects?
1 messages · Page 1 of 1 (latest)
this method is fine
u could probrably preload ur tools
using the service ContentProvider
im not quite sure if ur cloning is making it lag but
u can use the microprofiler to check
Your method is isn't great but it shouldn't be causing the framedrops, as lz said check the microprofiler
A better method would be to take the npc (or its id/name) and use that to generate the tool. That way you don't need to do the same thing twice, creating the npc and the npc tool.
Why would u compare attributes?