OnPlayerPickUpPickup
#1

my friend has scripted this:
Код:
	if (pickupid == 0)
	{
	GivePlayerMoney(playerid, 200);
	SendClientMessage(playerid, COLOR_GREEN, "Congratulations, you have found 200$");
	}
	return 1;
now i wanna do another pick up but i dunno how, i wrote:
Код:
	if (pickupid == 1)
	{
	SetPlayerHealth(playerid,100.0);
	}
	return 1;
}
and i get error unreachable code in line
Код:
	if (pickupid == 1)
i appriciate all the help
Reply


Messages In This Thread
OnPlayerPickUpPickup - by amrour - 20.02.2009, 18:12
Re: OnPlayerPickUpPickup - by SpiderPork - 20.02.2009, 18:14
Re: OnPlayerPickUpPickup - by amrour - 20.02.2009, 18:14
Re: OnPlayerPickUpPickup - by SpiderPork - 20.02.2009, 18:16
Re: OnPlayerPickUpPickup - by amrour - 20.02.2009, 18:18
Re: OnPlayerPickUpPickup - by Vyorel - 20.02.2009, 18:25
Re: OnPlayerPickUpPickup - by Ghett0 - 20.02.2009, 18:36
Re: OnPlayerPickUpPickup - by yom - 20.02.2009, 18:40

Forum Jump:


Users browsing this thread: 1 Guest(s)