• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TalkAction [Many] My fully lua PET system (MANY FEATURES)

it isn't working for crying damson can somebody make it work for crying damson?
 
i have 2 monsters, monster 1 = rat, monster 2 = troll
i summon monster 1 and he dies when i'm gonna summon monster 2 he is dead too.
is there a way to make them have like a diferent hp?
like if monster 1 dies, monster 2 doesn't...
 
I cant' get it work, the pet follows me and working, but all the commands don't work example: !petattack, !petsay, !petcarry.
The only command that work is !pet and the NPC
 
And make sure to add this on your logout sctipt
Top:

PHP:
dofile("./petConfig.lua")

and inside the onLogut:

PHP:
	if isCreature(getPlayerStorageValue(cid, storages.petUid)) == 1 then
		if getPlayerStorageValue(cid, storages.petIsOnline) == 2 then
			setPlayerStorageValue(cid, storages.petIsOnline, 1)
		end
	end

For noobs ¬¬:
PHP:
dofile("./petConfig.lua")

function onLogout(cid)
	if isCreature(getPlayerStorageValue(cid, storages.petUid)) == 1 then
		if getPlayerStorageValue(cid, storages.petIsOnline) == 2 then
			setPlayerStorageValue(cid, storages.petIsOnline, 1)
		end
	end
	return TRUE
end
where to put this?? where is logout?
 
Where must i put this?

And make sure to add this on your logout sctipt
Top:

PHP Code:
dofile("./petConfig.lua")
 
thx man very nice work but there is a probleme when i do it it's work but no animals when do !pet nothing when do !petcarry nothing when say all commands
nothing but he write it with red in default only HELP PLEASE
 
Back
Top