Thread: stats
View Single Post
Old 10-26-2010   #4
Mex
Registered User
 
Join Date: Nov 2008
Posts: 44
Mex is on a distinguished roadMex is on a distinguished roadMex is on a distinguished road
in the setPlayerColor() function args, math.ra ndom(0,255) shouldn't have a space after the a

also in the first 2 connect messages you've used quotation marks inside the echo text, but the text is surrounded by them, so Lua will think the strings end after the word TYPE.
you need to escape the quotation marks used inside the strings with a backslash before them, or use other characters to define the strings:

outputChatBox(PlayerID,"BE SURE TO TYPE \"/cmds\" TO VIEW THE SERVER'S COMMANDS!",257,23,13,255)
outputChatBox(PlayerID,"BE SURE TO TYPE \"/teles\" TO VIEW THE TELEPORT COMMANDS!",252,209,22,255)

outputChatBox(PlayerID,'BE SURE TO TYPE "/cmds" TO VIEW THE SERVER'S COMMANDS!',257,23,13,255)
outputChatBox(PlayerID,[[BE SURE TO TYPE "/teles" TO VIEW THE TELEPORT COMMANDS!]],252,209,22,255)
Mex is offline   Reply With Quote