No problem ^-^ it is now easy to insert more i got 2 seperate menu's now
one for item pickup and one for the player it scans now on id's
only one thing isn't wprking maybe someone can explain me why it isn't

Code:

ENTITY* tmpItm;

function ground_pickup_event
{
if (event_type == EVENT_SCAN)
{
tmpItm = my;
player.MuisKlik = my.id;
}
}

ACTION Grass_Action
{
my.id = 2;
my.enable_scan = on;
my.event = ground_pickup_event;
}

function pickup_menu_choice(button_number)
{
if (button_number == 1) //Pick Up
{
if(tmpItm)
{
ent_remove(tmpItm);
incTxt("You picked up some grass.");
}
wait(1);
}
if (button_number == 2) // Options
{
incTxt("This grass is drying in the sun.");
}
}




It doesn't remove the object.
Also it won't display the the text
so i think the tmpItm is empty but i define it ? :S


-The Dragon's Eye is alway's watching you!-