interior help
#6

hmm, now i wanted to make a pickup which gives a message, but i get a weird error:
Код:
warning 206: redundant test: constant expression is non-zero
this is the piece of script:
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
	if(pickupid == MainHallEnter)
	{
 	SendClientMessage(playerid, COLOR_CYELLOW, "* Type /enter to enter the main hall.");
	return 1;
  }
	return 0;
}
Reply


Messages In This Thread
interior help - by thuron - 05.03.2009, 13:15
Re: interior help - by [RP]Rav - 05.03.2009, 13:19
Re: interior help - by thuron - 05.03.2009, 13:21
Re: interior help - by [RP]Rav - 05.03.2009, 13:22
Re: interior help - by thuron - 05.03.2009, 13:23
Re: interior help - by thuron - 05.03.2009, 14:20

Forum Jump:


Users browsing this thread: 4 Guest(s)