function MGPED ()
-- NPC --
local Christina = createPed (90, 359.14141, 173.59044, 1008.32, -90 )
setElementInterior (Christina, 3 )
setTimer(setPedAnimation, 90, 1, Christina, "FOOD", "FF_Sit_Eat1", -1, true, false)
-- Markery --
local x, y, z, type, size = 362.1, 173.6, 1009.1, "arrow", 1.0
MGMARKER = createMarker ( x, y, z, type, size)
setElementInterior ( MGMARKER, 3 )
end
)
addEventHandler ("onResourceStart", resourceRoot, MGPED )
Try this then debug it