Creating a Pickup...
#2

pawn Код:
//top of script
new PizzaPickup;

//the key hit
PizzaPickup; = CreatePickup(...);

//OnPlayerPickUpPickup
if(pickupid == PizzaPickup)
{
  SetPlayerHealth(playerid, 100);
}
Reply


Messages In This Thread
Creating a Pickup... - by Abernethy - 26.06.2009, 22:28
Re: Creating a Pickup... - by Grim_ - 26.06.2009, 22:35
Re: Creating a Pickup... - by Correlli - 26.06.2009, 22:38
Re: Creating a Pickup... - by Abernethy - 26.06.2009, 22:44
Re: Creating a Pickup... - by Grim_ - 27.06.2009, 00:06

Forum Jump:


Users browsing this thread: 1 Guest(s)