OnPickupPickedUp: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
No edit summary |
m (Added a little description) |
||
Line 1: | Line 1: | ||
Checks if a object is picked up. | |||
==onPickupPickup== | ==onPickupPickup== | ||
Line 10: | Line 11: | ||
} | } | ||
} | } | ||
Revision as of 09:13, 10 April 2016
Checks if a object is picked up.
onPickupPickup
function onPickupPickedUp( player, pickup ) {
if ( pickup.Model == 408 )
{ MessagePlayer( "You earn 50$", player );
player.Cash += 50;
}
}