• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Create Character And Appear with no SET!

Fyruz

★★★★★
Joined
Feb 7, 2009
Messages
556
Reaction score
19
Location
127.0.0.1
Like the titles says, i recently move into modern account, players login with no set, and money... is an error of samples because i create a new Knight Sample and it appear with set, but when i use another database and i use the original knight sample it create with nos et any help?
 
i reported it already here but no dev has replied yet. it only happens to the first character on the account.
 
Just add this to login:

LUA:
function onLogin(cid)
    if getPlayerStorageValue(cid, 35725) ~= 1 then
        doPlayerAddItem(cid, 1987, 1)
        doPlayerAddItem(cid, 2480, 1)
        doPlayerAddItem(cid, 2483, 1)
        doPlayerAddItem(cid, 2511, 1)
        if (getPlayerVocation(cid) == 1) then
            doPlayerAddItem(cid, 2190, 1)
        elseif (getPlayerVocation(cid) == 2) then
            doPlayerAddItem(cid, 2182, 1)
        elseif (getPlayerVocation(cid) == 3) then
            doPlayerAddItem(cid, 2389, 8)
        else
            doPlayerAddItem(cid, 2439, 1)
            doPlayerAddItem(cid, 2383, 1)
            doPlayerAddItem(cid, 2428, 1)
        end    
        doPlayerAddItem(cid, 2478, 1)
        doPlayerAddItem(cid, 2674, 1)
        doPlayerAddItem(cid, 2152, 5)
        setPlayerStorageValue(cid, 35725, 1)
    end
return true
end

And choose items.
 
Back
Top