If i do this , would it be buggy ?
#1

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;
Code:
new Heal;
under ongamemodeinit;
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);
Under Onplayerpickup;
Code:
  if(pickupid == Heal) {

	//SendClientMessage(playerid, 0xDEEE20FF, "you healed yourself");
	SetPlayerHealth(playerid, 100.0);
	}



	return 1;
}
Reply


Messages In This Thread
If i do this , would it be buggy ? - by boelie - 17.01.2010, 10:06
Re: If i do this , would it be buggy ? - by [HiC]TheKiller - 17.01.2010, 10:16
Re: If i do this , would it be buggy ? - by boelie - 17.01.2010, 10:32
Re: If i do this , would it be buggy ? - by MadeMan - 17.01.2010, 10:35
Re: If i do this , would it be buggy ? - by [DM]Kane - 17.01.2010, 11:05
Re: If i do this , would it be buggy ? - by MadeMan - 17.01.2010, 11:06
Re: If i do this , would it be buggy ? - by Fedee! - 17.01.2010, 11:08
Re: If i do this , would it be buggy ? - by [DM]Kane - 17.01.2010, 11:10
Re: If i do this , would it be buggy ? - by Fedee! - 17.01.2010, 11:17
Re: If i do this , would it be buggy ? - by Fedee! - 17.01.2010, 11:17

Forum Jump:


Users browsing this thread: 3 Guest(s)