Scripting/Squirrel/Functions/Pickups/Model
From VC-MP Wiki
This instance variable returns the model of the pickup.
Syntax
int pickup.Model
Example
This example will tell the player which model of pickup they have just hit.
function onPickupPickedUp( player, pickup ) { MessagePlayer( "You picked up pickup model " + pickup.Model, player ); }
Notes
The function MessagePlayer and call onPickupPickedUp were used in in this example. More info about them in corresponding pages.
