marty000123 Posted August 22, 2014 Share Posted August 22, 2014 Hey I got a rule panel here and I want to translate it into russian from english. If there's someone russian, please translate this script into russian. I already have one but google translate doesn't have good grammar. Script: GUIEditor = { window = {}, scrollpane = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(209, 141, 429, 340, "The Zombie Invasion Rules", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF07E917") GUIEditor.label[1] = guiCreateLabel(108, 30, 218, 34, "Rules:", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 7, 233, 23) GUIEditor.label[2] = guiCreateLabel(11, 83, 229, 21, "Rule 2: Do not Deathmatch / Teamkill", false, GUIEditor.window[1]) GUIEditor.label[3] = guiCreateLabel(11, 104, 335, 19, "Rule 3: Do not insult anyone! And don't flame/rage/blame!", false, GUIEditor.window[1]) GUIEditor.label[4] = guiCreateLabel(11, 123, 412, 15, "Rule 4: Do not heliblade! Don't spawnkill!", false, GUIEditor.window[1]) GUIEditor.label[5] = guiCreateLabel(11, 143, 413, 15, "Rule 5: Don't beg/ask for Staff!", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(11, 162, 413, 15, "Rule 6: Do not advertise other servers!", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(11, 181, 413, 15, "Rule 7: Army don't kill Squads! Terrorists don't kill Gangs!", false, GUIEditor.window[1]) GUIEditor.label[7] = guiCreateLabel(250, 205, 400, 19, "[Press F2/L To Close this GUI]", false, GUIEditor.window[1]) GUIEditor.label[8] = guiCreateLabel(11, 246, 154, 15, "More Information at:", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[8], 239, 0, 0) GUIEditor.label[9] = guiCreateLabel(11, 265, 202, 15, "http://mtazombieinvasion.enjin.com/", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 239, 0, 0) GUIEditor.label[10] = guiCreateLabel(10, 308, 187, 22, "Made by: Marty.", false, GUIEditor.window[1]) GUIEditor.label[11] = guiCreateLabel(11, 64, 298, 15, "Rule 1: Do not spam nades/grenades, 5sec delay!", false, GUIEditor.window[1]) GUIEditor.label[12] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.label[13] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.label[15] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.label[16] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.label[17] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.label[18] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.scrollpane[1] = guiCreateScrollPane(573, 206, 15, 223, false) GUIEditor.scrollpane[2] = guiCreateScrollPane(573, 206, 15, 223, false) GUIEditor.scrollpane[3] = guiCreateScrollPane(573, 206, 15, 223, false) GUIEditor.scrollpane[4] = guiCreateScrollPane(573, 206, 15, 223, false) GUIEditor.scrollpane[5] = guiCreateScrollPane(573, 206, 15, 223, false) GUIEditor.scrollpane[6] = guiCreateScrollPane(573, 206, 15, 223, false) end ) addEventHandler("onClientRender", root, function() dxDrawText("", 472, 204, 472, 204, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) end ) local function bindKeys() local newVisibleStatus = not guiGetVisible(GUIEditor.window[1]) -- get the opposite of the visibility (if its showing, make it hide) guiSetVisible(GUIEditor.window[1], newVisibleStatus) -- change window visibility state showCursor(newVisibleStatus) -- change cursor visibility state end -- add a bind bindKey( "F2", "down", bindKeys) bindKey( "l", "down", bindKeys) Thanks in advance! Marty Link to comment
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