UchihaClan
Only you can be you
- Joined
- Oct 25, 2014
- Messages
- 164
- Reaction score
- 33
Hey!
I got a little problem in my server. I use a war server with tfs 0.3.6 and when people get 250 frags they get a emblem but when people get 250 frags they can´t log in and I get a error in my console.
This is the error I get in my console, and in log.lua:13 it says this is maybe connected to the skull.lua
I got a little problem in my server. I use a war server with tfs 0.3.6 and when people get 250 frags they get a emblem but when people get 250 frags they can´t log in and I get a error in my console.
This is the error I get in my console, and in log.lua:13 it says this is maybe connected to the skull.lua
Code:
function onLogin(cid)
local frags = math.max(0, getPlayerStorageValue(cid, 20233))
if(frags >= 5000) then
doCreatureSetGuildEmblem(cid, EMBLEM_RED)
elseif(frags >= 1500) then
doCreatureSetGuildEmblem(cid, EMBLEM_BLUE)
elseif(frags >= 250) then
doCreatureSetGuildEmblem(cid, EMBLEM_GREEN) RAD 13 <<<<<<<<
[code]
[28/10/2014 18:11:40] [Error - CreatureScript Interface]
[28/10/2014 18:11:40] data/creaturescripts/scripts/login.lua:onLogin
[28/10/2014 18:11:40] Description:
[28/10/2014 18:11:40] data/creaturescripts/scripts/login.lua:13: attempt to call global 'doCreatureSetGuildEmblem' (a nil value)
[28/10/2014 18:11:40] stack traceback:
[28/10/2014 18:11:40] data/creaturescripts/scripts/login.lua:13: in function <data/creaturescripts/scripts/login.lua:6>