Kownikuzyt
Member
- Joined
- Feb 11, 2020
- Messages
- 170
- Solutions
- 1
- Reaction score
- 8
Hello, need help. version of TFS 1.1
He needs a script that will send "GP" from killed monsters to his deposit in the bank.
I found such links:
He needs a script that will send "GP" from killed monsters to his deposit in the bank.
I found such links:
Lua - Any can fix my auto gold loot script?
someone can arrange for me my script or tell me why you're not working? It was meant to do: to kill the monsters come to the GPS bp guy who killed lib/050-funcions.lua function autoGP(cid, target, pos) local itemid = 2148 -- id do gold coin local function doStack(cid, itemid, new) local...
otland.net
TFS 0.X - [7.72] MOD Autoloot - Restrict by VIP Players
Hello everyone, everything good? I have the MOD below on my server that works well, but I would like only VIP players to be able to use it. VIP players have 30009 storage on my server, I would like the MOD to validate that and, if it doesn't have the storage, the message appears that only VIP...
otland.net
Post automatically merged:
Lua:
function onSay(cid, words, param, channel)
doCreatureSetStorage(cid, stor, (getCreatureStorage(cid, stor) == -1) and 1 or -1)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Money autoloot has been ' .. (getCreatureStorage(cid, stor) == -1 and 'disabled' or 'enabled') .. '.')
return true
end
Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/autoloot.lua: onSay
data/talkactions/scripts/autoloot.lua:4: attempt to call global 'getCreatureStorage' (a nil value)
stack traceback:
[C]: in function 'getCreatureStorage'
data/talkactions/scripts/autoloot.lua:4: in function <data/talkactions/scripts/autoloot.lua:3>
Auto Looter Money
I'm looking for a script to take the money from the monsters and automatically send it to the bank. Does anyone help me? Thanks :)
otland.net
Last edited: