MTA Script Problem!

04/07/2013 17:07 QMafia#1
Hey Leute ich versuche eine "automessage" zu scripten aber er zeigt mir die ganze Zeit den Error an: WARNING: Loading script failed: automessage/auto_message.lua:1: unexpected symbol near '?'

Und hier mein Script:

function news1 ()
outputChatBox ( "---Info---", getRootElement(), 200, 200, 0 )
outputChatBox ( "You want a own base? Then contact an Admin!, Chat: O", getRootElement(), 200, 200, 0 )
outputChatBox ( "Teamspeak³: GamingZone.nitrado.net:15650", getRootElement(), 200, 200, 0 )
outputChatBox ( "Admins: Karl0h, BeatTrix, Prime, xDreaMx3, F3BR3ZE", getRootElement(), 200, 200, 0 )
outputChatBox ( "Have Fun!", getRootElement(), 200, 200, 0 )
outputChatBox ( "", getRootElement(), 200, 200, 0 )
setTimer ( news2, 900000, 1 )
end
function news2 ()
outputChatBox ( "---Info---", getRootElement(), 200, 200, 0 )
outputChatBox ( "You want a own base? Then contact an Admin!, Chat: O", getRootElement(), 200, 200, 0 )
outputChatBox ( "Teamspeak³: GamingZone.nitrado.net:15650", getRootElement(), 200, 200, 0 )
outputChatBox ( "Admins: Karl0h, BeatTrix, Prime, xDreaMx3, F3BR3ZE", getRootElement(), 200, 200, 0 )
outputChatBox ( "Have Fun!", getRootElement(), 200, 200, 0 )
setTimer ( news3, 900000, 1 )
end

function news3 ()
outputChatBox ( "---Info---", getRootElement(), 200, 200, 0 )
outputChatBox ( "You want a own base? Then contact an Admin!, Chat: O", getRootElement(), 200, 200, 0 )
outputChatBox ( "Teamspeak³: GamingZone.nitrado.net:15650", getRootElement(), 200, 200, 0 )
outputChatBox ( "Admins: Karl0h, BeatTrix, Prime, xDreaMx3, F3BR3ZE", getRootElement(), 200, 200, 0 )
outputChatBox ( "Have Fun!", getRootElement(), 200, 200, 0 )
setTimer ( news1, 900000, 1 )
end
setTimer ( news1, 900000, 1 )

function infobox ( player, text, time, r, g, b )

if isElement ( player ) then
triggerClientEvent ( player, "infobox_start", getRootElement(), text, time, r, g, b )
end
end

Danke im Vorraus!
04/07/2013 18:02 Croco™#2
Das liegt an der Kodierung der LUA Datei.
Dadurch werden Zeichen wie "³" von "Teamspeak³" als "?" Dargestellt und somit von LUA als Fehler markiert.
04/07/2013 21:18 QMafia#3
Danke :)