Code:
Time in old search loop 3.8373
Time in new search loop 0.9554
Impressive...
I've already looked at CreateNamedEntity and I saw exactly what you wrote, that it calls AddEntityHasValue. Thx for the info, will try to replace it by arg_int. One more thing, can you please check if the windows signature is correct ?
Yes, it would be very good to a native for alterating hash items. So, another way is to create the weaponbox with CREATE_NAMED_ENTITY ?
__________________