OnPickupPickedUp

From Vice City Multiplayer
Revision as of 18:14, 2 May 2016 by Jayant (talk | contribs)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

Checks if a object is picked up.

onPickupPickup

function onPickupPickedUp( player, pickup )
{

if ( pickup.Model == 408 ) 
 {
  MessagePlayer( "You earn 50$", player );
  player.Cash += 50;
 }
}