roriscrave
Advanced OT User
- Joined
- Dec 7, 2011
- Messages
- 1,188
- Solutions
- 34
- Reaction score
- 200
Hi guys, i use tfx 0.4, tibia 8.6 and i have a doubt in whith this script:
u need to kill a 600 (scorpion, scarab) and i make this script:
how can i get the names scorpion and scarab?
i have tried
local monster = monsters[getCreatureName(getCreatureTarget(cid)):lower()]
but it only works if my script is something like this", with one monster:
u need to kill a 600 (scorpion, scarab) and i make this script:
Code:
-- ["monsterName"] = storage, quant
local monsters = {
["scorpion","scarab"] = 958700, quant = 600,
}
how can i get the names scorpion and scarab?
i have tried
local monster = monsters[getCreatureName(getCreatureTarget(cid)):lower()]
but it only works if my script is something like this", with one monster:
Code:
-- ["monsterName"] = storage, quant
local monsters = {
["scorpion"] = 958700, quant = 600,
}
Last edited: