• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

[0.7]OutfitLIB:get the name of any outfit! 099-outfits.lua

updated to 0.6.1, fixed the Library
 
Great lib, but what you think about change
Code:
return error[]
to
Code:
error(error[],1)
 
Great lib, but what you think about change
Code:
return error[]
to
Code:
error(error[],1)
:eek: ? why would I do that? all errors 'returns' are with a number:
error[1], error[2], error[3], error[4], error[5]
 
0.7 Update
0.7 Slight reduction of the code.
->Renamed functions: getOutfitNameById(id), getCreatureOutfitId(cid), getOutfitIdByName(name)]
->NEW FUNCTIONS getOutfitIdByLookType(lookType) && doCreatureChangeOutfitByName(cid, name)
->Changes in the error messages
 
Back
Top