#Removing weapon via ItemAddedEventArgs::Item.Destroy() causing error
1 messages · Page 1 of 1 (latest)
This is very likely just a problem with game destroying the item before it was initialized
Unfortunately this event not contains IsAllowed :(
Is there no AddingItem event?
Regardless, you can just put the Item::Destroy call in a Timing.CallDelayed call w 0 as the delay
Can i know why you removing it like this
There should be a lot of other way to prevent item picking up
It's because it's untended for dev to prevent it before this call
I no need this :) its happened when i tested other thing
(for RAdmin giving item)
why would you prevent it?
but yeah you can still prevent RA command Execution
Anti abuse for some subclasses
Staff abuse ?
Donators, i need a system to prevent giving some items for some subclass roles
also preventing command would be better so Staff get reason to why it's prevented
i see then you could only prevent it for Donators
Okayy
But yeah i wouldn't consider this thread as bug