Code: Select all
function onEventFinish(player,csid,option)
-- printf("CSID: %u",csid);
-- printf("RESULT: %u",option);
local Price = 0;
local ItemID = 0;
local Quantity = 1;
-- Items Page 1
if (option == 65537) then -- Perle Salade
Price = 4000;
ItemID = 11503;
elseif (option == 131073) then -- Perle Hauberk
Price = 5000;
ItemID = 13759;
elseif (option == 196609) then -- Perle Moufles