Creating a weapon pickup?
#8

pawn Code:
new pickup;

public OnGameModeInit()
{
   
    pickup = CreatePickup(359,2,19955.5645,-1615.6426,33.4479,-1);
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
  if(pickupid == pickup)
  {
  GivePlayerWeapon(35,10);
  }
}
Reply


Messages In This Thread
Creating a weapon pickup? - by Angelo94 - 08.11.2009, 12:36
Re: Creating a weapon pickup? - by Infamous - 08.11.2009, 12:49
Re: Creating a weapon pickup? - by Angelo94 - 08.11.2009, 12:59
Re: Creating a weapon pickup? - by Infamous - 08.11.2009, 13:08
Re: Creating a weapon pickup? - by Angelo94 - 08.11.2009, 13:32
Re: Creating a weapon pickup? - by member - 08.11.2009, 14:04
Re: Creating a weapon pickup? - by niCe - 12.11.2009, 08:14
Re: Creating a weapon pickup? - by Peter_Corneile - 12.11.2009, 08:26
Re: Creating a weapon pickup? - by Aerotactics - 26.06.2013, 16:27
Re: Creating a weapon pickup? - by Aerotactics - 26.06.2013, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)