bpm91
Intermediate OT User
- Joined
- May 23, 2019
- Messages
- 931
- Solutions
- 7
- Reaction score
- 128
- Location
- Brazil
- YouTube
- caruniawikibr
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local mailuid = 10168
local storage = 100171
local getstorage = getPlayerStorageValue(cid, storage)
if(getstorage == 7) then
setPlayerStorageValue(cid, 100168, 6)
setPlayerStorageValue(cid, 100169, 1)
doSendMagicEffect(toPosition, CONST_ME_MAGIC_RED)
else
setPlayerStorageValue(cid, 100168, 6)
setPlayerStorageValue(cid, 10169, 1)
doSendMagicEffect(toPosition, CONST_ME_MAGIC_BLUE)
return true
end
end
This mission is a postman mission that I did, but I couldn't get the player to crowbar and get storage.
Id crowbar 2416
it's the mission that you crowbar mailbox and then return to kevin
I edited to use in mailbox, but wanted to modify to use the crowbar in mailbox and happen the storages