One certain place, for example (id, "tilex"). There will be one NPC, click on the table is one of the weapons for money.
Sorry for bad english.
npcs = { 	{type = 'food', x = 32, y = 16, cost = 100, heal = 5, name = 'a chillidog', npcname = 'Jack the Ripper'}, 	{type = 'food', x = 30, y = 12, cost = 200, heal = 9, name = 'some lasagna', npcname = 'your mother'}, 	{type = 'weapon', x = 40, y = 14, cost = 500, weapon = 32, name = 'an M4A1', npcname = 'some anonymous weapondealer'} } addhook('usebutton', 'usebuttonHook') function usebuttonHook(id, x, y) 	for npc = 1, #npcs do 		if x == npcs[npc].x and y == npcs[npc].y then 			if player(id, 'money') >= npcs[npc].cost then 				if npcs[npc].type == 'food' then 					parse('sethealth '..id..' '..(player(id, 'health') + npcs[npc].heal)) 				elseif npcs[npc].type == 'weapon' then 					parse('equip '..id..' '..npcs[npc].weapon) 				end 				parse('setmoney '..id..' '..(player(id, 'money') - npcs[npc].cost)) 				msg2(id, "You bought '..npcs[npc].name..' from '..npcs[npc].npcname..'") 			end 		end 	end end