it isn't working for crying damson can somebody make it work for crying damson?
This script is for XML.I too want for a new release. ^_^
where to put this?? where is logout?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?