Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32043

Pet system is not working right

$
0
0
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:

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...
Pet system is not working right

Viewing all articles
Browse latest Browse all 32043

Trending Articles