17.01.2010, 10:06 
	
	
	
		Hello there,
I'm making alot of pickups for health in my gamemode and i'm trying to find a efficiлnt way to make it.
So my question is, would this work what i made here? and do you know a more efficiлnt way
then please share it with me.
above ongamemodeinit;
under ongamemodeinit;
Under Onplayerpickup;
	
	
	
	
I'm making alot of pickups for health in my gamemode and i'm trying to find a efficiлnt way to make it.
So my question is, would this work what i made here? and do you know a more efficiлnt way
then please share it with me.
above ongamemodeinit;
Code:
new Heal;
Code:
Heal = CreatePickup(1240 , 2, 2261.6921,-71.1853,31.6016, -1); Heal = CreatePickup(1240 , 2, 2261.6921,-71.1853,31.6016, -1); Heal = CreatePickup(1240 , 2, 2261.6921,-71.1853,31.6016, -1); Heal = CreatePickup(1240 , 2, 2261.6921,-71.1853,31.6016, -1); Heal = CreatePickup(1240 , 2, 2261.6921,-71.1853,31.6016, -1); Heal = CreatePickup(1240 , 2, 2261.6921,-71.1853,31.6016, -1); Heal = CreatePickup(1240 , 2, 2261.6921,-71.1853,31.6016, -1); Heal = CreatePickup(1240 , 2, 2261.6921,-71.1853,31.6016, -1);
Code:
  if(pickupid == Heal) {
	//SendClientMessage(playerid, 0xDEEE20FF, "you healed yourself");
	SetPlayerHealth(playerid, 100.0);
	}
	return 1;
}


