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