Jump to content

Bug my script teleport


Furious^ONE!

Recommended Posts

Hello my script is bugged I'd like to know how to debug.

error message consol :

[2013-12-24 17:58:24] Starting teleport-para

[2013-12-24 17:58:24] WARNING: Script 'teleport-para/tp.lua' is not encoded in UTF-8. Loading as ANSI...

[2013-12-24 17:58:24] SCRIPT ERROR: teleport-para/tp.lua:1: unexpected symbol near '?'

[2013-12-24 17:58:24] ERROR: Loading script failed: teleport-para/tp.lua:1: unexpected symbol near '?'

I try to add a message at the teleportation :

outputChatBox ( "Vous vous êtes teleporté !, thePlayer, 255, 255, 255 ) 
 

my code :

function drift(gracz, cmd) 
setElementPosition(gracz, 1543.31995, -1360.21033, 329.46252) 
outputChatBox ( "Vous vous êtes teleporté !, thePlayer, 255, 255, 255 ) 
end 
addCommandHandler("para",drift) 
 

Link to comment

[2013-12-24 18:14:16] Starting teleport-para

[2013-12-24 18:14:16] WARNING: Script 'teleport-para/tp.lua' is not encoded in UTF-8. Loading as ANSI...

[2013-12-24 18:14:16] SCRIPT ERROR: teleport-para/tp.lua:1: unexpected symbol near '?'

[2013-12-24 18:14:16] ERROR: Loading script failed: teleport-para/tp.lua:1: unexpected symbol near '?'

[2013-12-24 18:14:16] teleport-para restarted successfully

It is still error...

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...