when I climb the stairs the pet stays down and is not transported towards me.
I'm using tfs 1.3
I leave the code:
Pet system is not working right
I'm using tfs 1.3
I leave the code:
Code:
local petNames = {
[1] = 'thundergiant',
[2] = 'grovebeast',
[3] = 'emberwing',
[4] = 'skullfrost'
}
local STORAGE_PET = Storage.PetSummon
function onLogin(cid)
local player = Player(cid)
local vocationid = player:getVocation():getId()
local pet
local petTimeLeft = player:getStorageValue(STORAGE_PET) - player:getLastLogout()
if...