OnPickupPickedUp

From Vice City Multiplayer
Revision as of 09:13, 10 April 2016 by NicusorN5 (talk | contribs) (Added a little description)
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;

 }

}