any scripters out there that can help me with this? ive played around with it and got nothing.
useing tfs 0.4
its a script for makeing an item have a players name as a special description useing an alter.
useing tfs 0.4
Code:
function onUse(cid, item, frompos, item2, topos)
altarpos = {x=270, y=1886, z=7, stackpos = 2}
altar1pos = {x=271, y=1886, z=7}
getaltar = getThingfromPos(altarpos)
queststatus = getPlayerStorageValue(cid,5474)
if item.actionid == 5474 and item.itemid == 1945 then
doTransformItem(item.uid,item.itemid+1)
if getaltar.itemid > 0 and queststatus ~= 1 then
item = doCreateItem(getaltar.itemid,1,altar1pos)
doSetItemSpecialDescription(item,"This belongs to "..getPlayerName(cid)..".")
doRemoveItem(getaltar.uid,1)
setPlayerStorageValue(cid,5474,1)
end
elseif item.actionid == 5474 and item.itemid == 1946 then
doTransformItem(item.uid,item.itemid-1)
end
end
its a script for makeing an item have a players name as a special description useing an alter.