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

