OnPickupCreated
From Onset Developer Wiki
Description
Event called when an pickup instance was created through CreatePickup.
Syntax
OnPickupCreated(pickup)
Parameters
- pickup
The pickup which was created.
Example
function OnPickupCreated(pickup)
print("Pickup "..pickup.." was created")
end
AddEvent("OnPickupCreated", OnPickupCreated)