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

Key Attribute 0.4

$
0
0
Hi otlanders,

TheForgottenServer 0.4

I have a script of a key, but when I do the quest on the server, an error happens.

Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
    if(item.uid == 3034) then
        if(getPlayerStorageValue(cid, 443) < 1) then
            setPlayerStorageValue(cid, 443, 1)
            key = doPlayerAddItem(cid, 2089, 1)
            doItemSetAttribute(key.uid, "aid", 4601)...
Key Attribute 0.4

Viewing all articles
Browse latest Browse all 32043

Trending Articles