• 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!

Looking for script outfit by storage tfs 1.2

jackl90

Member
Joined
Jul 25, 2017
Messages
249
Reaction score
12
Hello guys, i'm looking for some script function for players with xxx storage give a new outfit but the script the character sex with diferent storage for outfit male or female.
Thanks so much.

Bump

Bump

some script like this
Lua:
function onLogin(cid)
if getPlayerStorageValue(cid, 10000) == 1 then
doPlayerAddOutfit(cid, 253)
doPlayerAddOutfit(cid, 253)
setPlayerStorageValue(cid, 10000, 2)

    end
    return TRUE
end
 
Last edited by a moderator:
Solution
Hello guys, i'm looking for some script function for players with xxx storage give a new outfit but the script the character sex with diferent storage for outfit male or female.
Thanks so much.

Bump

Bump

some script like this
Lua:
function onLogin(cid)
if getPlayerStorageValue(cid, 10000) == 1 then
doPlayerAddOutfit(cid, 253)
doPlayerAddOutfit(cid, 253)
setPlayerStorageValue(cid, 10000, 2)

    end
    return TRUE
end

Lua:
function onLogin(player)
    if player:getStorageValue(...) == 1 then
        player:addOutfit(player:getSex() == PLAYERSEX_MALE and maleOutfit or femaleOutfit)
    end

    return true
end
Hello guys, i'm looking for some script function for players with xxx storage give a new outfit but the script the character sex with diferent storage for outfit male or female.
Thanks so much.

Bump

Bump

some script like this
Lua:
function onLogin(cid)
if getPlayerStorageValue(cid, 10000) == 1 then
doPlayerAddOutfit(cid, 253)
doPlayerAddOutfit(cid, 253)
setPlayerStorageValue(cid, 10000, 2)

    end
    return TRUE
end

Lua:
function onLogin(player)
    if player:getStorageValue(...) == 1 then
        player:addOutfit(player:getSex() == PLAYERSEX_MALE and maleOutfit or femaleOutfit)
    end

    return true
end
 
Solution
Back
Top