Pickup.ID
From Liberty Unleashed Wiki
This Pickup class member returns the ID of the given pickup.
Syntax
Integer pickup.ID
Example
This will tell the player what pickup ID they just picked up.
function onPickupPickedUp( pPlayer, pPickup ) { MessagePlayer( "Pickup ID: " + pPickup.ID, pPlayer ); return 1; }
Notes
The function MessagePlayer and event onPickupPickedUp were used in this example. More info about them in the corresponding pages.