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

Onlook

amr shalapy

Banned User
Joined
Aug 28, 2014
Messages
122
Reaction score
8
hello when i look on my self or anybody i got this error in my engin please need help!
Code:
[11/3/2017 7:23:43] [Error - CreatureScript Interface]
[11/3/2017 7:23:43]             domodlib("ranks")
[11/3/2017 7:23:43]             function onLook(cid, thing, position, lookDistance)
[11/3/2017 7:23:43]                 if(isPlayer(thing.uid)) then
[11/3/2017 7:23:43]                     local rank = {rank = "Private", frags = 0}
[11/3/2017 7:23:43]                     for k, v in pairs(titles) do
[11/3/2017 7:23:43]                         if(math.max(0, getPlayerStorageValue(thing.uid, fragsStorage)) > k - 1) then
[11/3/2017 7:23:43]                             if(k - 1 > rank.frags) then
[11/3/2017 7:23:43]                                 rank.rank, rank.frags = v, k - 1
[11/3/2017 7:23:44]                             end
[11/3/2017 7:23:44]                         end
[11/3/2017 7:23:44]                     end
[11/3/2017 7:23:44]                     doPlayerSetSpecialDescription(thing.uid, "\n Military rank: " .. rank.rank)
[11/3/2017 7:23:44]                 end
[11/3/2017 7:23:44]                 return true
[11/3/2017 7:23:44]             end
[11/3/2017 7:23:44]         :onLook
 
Back
Top