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