local cf {
verificar = {10774, 10783, 12150, 10477, 10477, 10468, 10271, 10268, 9270, 9270, 9267, 9165, 8978, 8544, 8541, 7042, 7033, 6900, 6891, 1209, 6252, 6249, 6195, 6192, 5735, 5732, 5281, 5278, 5143, 5140, 5137, 5134, 5125, 5116, 5107, 5098, 4916, 4913, 3544, 3535, 1252, 1249, 1234, 1231, 1212},
}
if item.itemid == cf.verificar then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is locked.")
return true
end
vários jeitos
local cf {
textoaviso = "It is locked.",
verificar = {10774, 10783, 12150, 10477, 10477, 10468, 10271, 10268, 9270, 9270, 9267, 9165, 8978, 8544, 8541, 7042, 7033, 6900, 6891, 1209, 6252, 6249, 6195, 6192, 5735, 5732, 5281, 5278, 5143, 5140, 5137, 5134, 5125, 5116, 5107, 5098, 4916, 4913, 3544, 3535, 1252, 1249, 1234, 1231, 1212},
}
if item.itemid == cf.verificar then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, cf.textoaviso)
return true
end
local textoaviso = "It is locked."
local verificar = {10774, 10783, 12150, 10477, 10477, 10468, 10271, 10268, 9270, 9270, 9267, 9165, 8978, 8544, 8541, 7042, 7033, 6900, 6891, 1209, 6252, 6249, 6195, 6192, 5735, 5732, 5281, 5278, 5143, 5140, 5137, 5134, 5125, 5116, 5107, 5098, 4916, 4913, 3544, 3535, 1252, 1249, 1234, 1231, 1212}
if item.itemid == verificar then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, textoaviso)
return true
end