joedajoester Posted January 6, 2012 Posted January 6, 2012 Whats wrong? It says couldnt parse script. If not how do i get the script from gui editor? right click and output code? GUIEditor_Memo = {} GUIEditor_Image = {} window_rules = guiCreateWindow(152,115,721,549,"Rules",false) guiWindowSetMovable(window_rules,false) guiWindowSetSizable(window_rules,false) GUIEditor_Image[1] = guiCreateStaticImage(270,31,182,129,"images/mtalogo.png",false,window_rules) GUIEditor_Memo[1] = guiCreateMemo(27,166,670,374,"\n Rules! \nServer policy: All staff members shall treat all players with great kindness and respect. \n\n1. Deathmatching is allowed, but stop means stop. \n \n2. No hacking or glitch abusing. If you see someone doing this please use /report and a the problem will be dealt with. \n \n3. Do not spam the chat, commands, or the map with cars. \n \n4. Respect all players, be kind and please do not annoy anyone. \n \n5. If you see a staff member abusing or being rude please use /report and the problem will be dealt with. \n \nIf you see anyone breaking these rules please contact a staff member by typing /report and the problem will be dealt with.\n\nEnjoy and have fun!\n -The JWF team",false,window_rules) guiMemoSetReadOnly(GUIEditor_Memo[1],true) button_accept = guiCreateButton(66,55,187,76,"Accept!",false,window_rules) button_decline = guiCreateButton(477,52,188,77,"Decline",false,window_rules)
Castillo Posted January 6, 2012 Posted January 6, 2012 GUIEditor_Memo = {} GUIEditor_Image = {} window_rules = guiCreateWindow(152,115,721,549,"Rules",false) guiWindowSetMovable(window_rules,false) guiWindowSetSizable(window_rules,false) GUIEditor_Image[1] = guiCreateStaticImage(270,31,182,129,"images/mtalogo.png",false,window_rules) GUIEditor_Memo[1] = guiCreateMemo(27,166,670,374,"\n Rules!\nServer policy: All staff members shall treat all players with great kindness and respect.\n\n1. Deathmatching is allowed, but stop means stop.\n\n2. No hacking or glitch abusing. If you see someone doing this please use /report and a the problem will be dealt with.\n\n3. Do not spam the chat, commands, or the map with cars.\n\n4. Respect all players, be kind and please do not annoy anyone.\n\n5. If you see a staff member abusing or being rude please use /report and the problem will be dealt with.\n\nIf you see anyone breaking these rules please contact a staff member by typing /report and the problem will be dealt with.\n\nEnjoy and have fun!\n -The JWF team",false,window_rules) guiMemoSetReadOnly(GUIEditor_Memo[1],true) button_accept = guiCreateButton(66,55,187,76,"Accept!",false,window_rules) button_decline = guiCreateButton(477,52,188,77,"Decline",false,window_rules)
joedajoester Posted January 6, 2012 Author Posted January 6, 2012 So they each needed their own line?
Castillo Posted January 6, 2012 Posted January 6, 2012 No, you should compare them CAREFULLY. My script only uses 1 line for the MEMO, yours uses more than 6.
Kenix Posted January 6, 2012 Posted January 6, 2012 You can use this: [[ ]] Example: GUIEditor_Memo[1] = guiCreateMemo(27,166,670,374,[[ Rules! Server policy: All staff members shall treat all players with great kindness and respect. 1. Deathmatching is allowed, but stop means stop. 2. No hacking or glitch abusing. If you see someone doing this please use /report and a the problem will be dealt with. 3. Do not spam the chat, commands, or the map with cars. 4. Respect all players, be kind and please do not annoy anyone. 5. If you see a staff member abusing or being rude please use /report and the problem will be dealt with. If you see anyone breaking these rules please contact a staff member by typing /report and the problem will be dealt with. Enjoy and have fun! -The JWF team ]],false,window_rules) This more better It not colored in code oO
Castillo Posted January 6, 2012 Posted January 6, 2012 Yeah, the error in the script couldn't cause that. Does it say why it can't parse?
CapY Posted January 6, 2012 Posted January 6, 2012 Obviously he didn't specified script name correctly in meta.xml
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now