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

Lua -=[TFS]=- 0.4 8.60 Need Script Open Channel on Login

samuel157

/root
Joined
Mar 19, 2010
Messages
447
Solutions
3
Reaction score
49
Location
São Paulo, Brazil
GitHub
Samuel10M
Script that is not configured in source is login.lua openchannel

Error:

doPlayerOpenChannel(cid, CHANNEL_Help)
if(lastLogin > 0) then

Lua:
[28/09/2022 18:11:46] [GOD] Bryaan has logged in.

[28/09/2022 18:11:46] [Error - CreatureScript Interface]
[28/09/2022 18:11:46] data/creaturescripts/scripts/login.lua:onLogin
[28/09/2022 18:11:46] Description:
[28/09/2022 18:11:46] data/creaturescripts/scripts/login.lua:14: attempt to call global 'doPlayerOpenChannel' (a nil value)
[28/09/2022 18:11:46] stack traceback:
[28/09/2022 18:11:46]     data/creaturescripts/scripts/login.lua:14: in function <data/creaturescripts/scripts/login.lua:5>
[28/09/2022 18:11:46] [GOD] Bryaan has logged out.
 
Add the function.
 
Solution
Back
Top