Register for your free account! | Forgot your password?

You last visited: Today at 09:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



MTA Script Problem!

Discussion on MTA Script Problem! within the Grand Theft Auto forum part of the Other Online Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2011
Posts: 14
Received Thanks: 0
Post MTA Script Problem!

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!
QMafia is offline  
Old 04/07/2013, 18:02   #2
 
Croco™'s Avatar
 
elite*gold: 235
Join Date: Jan 2012
Posts: 920
Received Thanks: 377
Das liegt an der Kodierung der LUA Datei.
Dadurch werden Zeichen wie "³" von "Teamspeak³" als "?" Dargestellt und somit von LUA als Fehler markiert.
Croco™ is offline  
Thanks
1 User
Old 04/07/2013, 21:18   #3
 
elite*gold: 0
Join Date: Aug 2011
Posts: 14
Received Thanks: 0
Danke
QMafia is offline  
Reply


Similar Threads Similar Threads
SQL Script Problem
07/03/2011 - Shaiya - 0 Replies
Fixed sorry for post
Script Problem
12/19/2010 - WoW Private Server - 2 Replies
Guten Tag! Core: ArcEmu Rev. 3930 Scripts: ArcScripts Script: Habe ein Script erstellt welches wie ein Buzzer Spiel funktioniert. Es sind mehrere GO's statisch da und wer einen dieser Buzzer drückt löst ein Event aus welches einen NPC Spawnt der dann den Namen des Spieler sagt welcher gedrückt hat. Nach 5 Sekunden despawnt der wieder und das Event ist gesperrt bis ein GM auf nen eigenen buzzer drückt um es zu reseten. Problem: Das Script funktioniert einwandfrei, zumindest die...
Problem VB 10 Patcher Script Problem
09/20/2010 - .NET Languages - 8 Replies
Hayho liebe Com. ich habe mal wieder einen ganz netten Patcher gescriptet, für einen metin2 P Server, da es nicht mein erster is, hab ich echt kp was da vorliegt, Hier der Script an sich: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEv entArgs) Handles...
Problem mit Script
08/10/2010 - AutoIt - 14 Replies
hey, ich brauche dringend hilfe!! hab mir ein script für ein spiel gebastelt aber ich schaffe es nicht, das er einmal auf eine stelle drückt. also wenn er einmal auf die stelle (524,394, 1, 0) clickt das er dann 1 sekunde nichtmehr dahinklicken kann. würde das gehen? wär nett wenn mir jemand helfen könnte :) mfg Key4To
[HOW-TO]Hp-Script+Admin-script (weekly-updatet) problem!
06/21/2010 - Metin2 Private Server - 11 Replies
hallo leute ich hab ein problem und zwar bei dem hp script von masterboss kommt der fehler : http://img541.imageshack.us/img541/8140/24955249. png und wenn ich dann die datei öffne und in die zeile gehe kommt: while($row = mysql_fetch_array($ergebnis)) kann mir jmd helfen?



All times are GMT +2. The time now is 09:25.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.