Author Topic: add as pickups and assign values ??to these?  (Read 159 times)

Offline Castagna

  • Server Owner/Developer
  • EA Veteran
  • *
  • Posts: 1048
  • [Reputation] +16/-10
Re: add as pickups and assign values ??to these?
« on: October 18, 2011, 01:40:49 pm »
Try this:

Quote
function onPickupPickedUp( player, pickup )
{
else if ( Model == 408 )
      {
              PrivMessage( "Hey you pickedup 500$", player );
                                           IncCash( player, 500 );
              NewTimer( "RespawnPickup", 3000, 1, pickup ); // Change the duration of the timer as u wish
      }
}

Then

Quote
function RespawnPickup( Pickup )
{
        Pickup.Respawn();
}
EA Developer & Owner , EYE Tournament Founder, VCDC 3 Administrator, part of VU since 2011. Playing VC:MP since early 2009.