Jump to content

whats wrong?


Recommended Posts

Posted

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) 

Posted
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) 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

No, you should compare them CAREFULLY.

My script only uses 1 line for the MEMO, yours uses more than 6.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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

http://vk.com/the_kenix

Вопросы задавайте на форуме, не пишите мне в личку.

Please don't pm me.

Posted

Yeah, the error in the script couldn't cause that.

Does it say why it can't parse?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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...