#Removing weapon via ItemAddedEventArgs::Item.Destroy() causing error

1 messages · Page 1 of 1 (latest)

vale helm
#

Cant you use ev.IsAllowed 😭

#

This is very likely just a problem with game destroying the item before it was initialized

severe sable
vale helm
#

Is there no AddingItem event?

#

Regardless, you can just put the Item::Destroy call in a Timing.CallDelayed call w 0 as the delay

wise pewter
#

Can i know why you removing it like this

#

There should be a lot of other way to prevent item picking up

wise pewter
severe sable
severe sable
wise pewter
#

but yeah you can still prevent RA command Execution

severe sable
wise pewter
#

Staff abuse ?

severe sable
#

Donators, i need a system to prevent giving some items for some subclass roles

wise pewter
#

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

wise pewter
#

But yeah i wouldn't consider this thread as bug