No error appears but it doesnt work
I used other key (golden key) 2091
this is the script I use at the moment
local door = 9279
local location = {x=1254,y=1007,z=10}
function onUse(cid, item, frompos, item2, topos)
if isItemDoor(door) and getPlayerItemCount(cid, 2091) >= 1 then...