OnPickupPickedUp

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Checks if a object is picked up.

Syntax

function onPickupPickedUp( player, pickup )

Example

function onPickupPickedUp( player, pickup )
{

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

Related Functions