Results 1 to 5 of 5
Thread: Lua Question
-
20-12-2009, 19:05 #1
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 3
Lua Question
Hello, I have a Question to the Lua Plugin in Teamspeak 3.
I have wrote a Hello World Lua Script in a external file.
I try to load it with /lua load helloworld but i get a error message:
even with filtype .lua i become these errorError loading lua script: C:/Program Files/TeamSpeak 3 Client/scripts/helloworld
why i can`t load my script ?
Sorry for my bad English
-
20-12-2009, 19:18 #2
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany - Near Berlin
- Posts
- 13
Post pls the Code of your LUA File.

-Flaver 'hooK'
-
20-12-2009, 19:28 #3
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 3
Its a simple Hello World ^^PHP Code:function helloworld(serverConnectionHandlerID)
ts3.printMessage(serverConnectionHandlerID, "Hello World")
end
-
20-12-2009, 19:32 #4
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany - Near Berlin
- Posts
- 13
Hmm I would say youve forgot to write the require's

Write these in the Top of your Script.PHP Code:require("ts3defs")
require("ts3errors")
I hope i could help
-Flaver 'hooK'
-
20-12-2009, 19:37 #5
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 3
yes i have forgotten it thx
it works
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
another backup question - searched w/ no luck
By DevilzEye in forum [TeamSpeak 2] Server SupportReplies: 4Last Post: 20-03-2009, 02:47 -
Question about channels
By dloyer4 in forum [TeamSpeak 2] Client SupportReplies: 1Last Post: 20-07-2008, 20:52 -
Hi guys, I have a little question, really.. :]
By BigShoe in forum [TeamSpeak 2] Server SupportReplies: 1Last Post: 16-05-2008, 15:49 -
server connection question
By safecracker in forum [TeamSpeak 2] Server SupportReplies: 2Last Post: 13-12-2007, 01:12 -
Good Server Question
By Z3r00n3 in forum [TeamSpeak 2] Client SupportReplies: 8Last Post: 06-10-2006, 00:11


Reply With Quote