Beef Jerky
New Member
- Joined
- Sep 19, 2008
- Messages
- 68
- Reaction score
- 0
ok im using this Script on a 7.6 Server < very old plx>
anyways
function onUse(cid, item) -- fill in more
local itemsIn = { chain arm,
katana,
and so on
}
local bpId = xxxx
if getPlayerStorageValue(cid, xxxx) == FALSE then
local container = doPlayerAddItem(cid, bpId, 1)
for i = 1,table.maxn(itemsIn) do
doAddContainerItem(container, itemsIn, 1)
end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found a backpack.")
setPlayerStorageValue(cid, xxxx, 1)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.")
end
end
how doi make it so i get dwarven set
this is the codes for the set
Arm 2503
Legs 2504
Helm 2502
shield 2525
Wep 2435
could anymake that script work or teach me how sorry ive tried but i guess i suck ;D
anyways
function onUse(cid, item) -- fill in more
local itemsIn = { chain arm,
katana,
and so on
}
local bpId = xxxx
if getPlayerStorageValue(cid, xxxx) == FALSE then
local container = doPlayerAddItem(cid, bpId, 1)
for i = 1,table.maxn(itemsIn) do
doAddContainerItem(container, itemsIn, 1)
end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found a backpack.")
setPlayerStorageValue(cid, xxxx, 1)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.")
end
end
how doi make it so i get dwarven set
this is the codes for the set
Arm 2503
Legs 2504
Helm 2502
shield 2525
Wep 2435
could anymake that script work or teach me how sorry ive tried but i guess i suck ;D