Jump to content

ALw7sH

Members
  • Posts

    1,165
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by ALw7sH

  1. ALw7sH

    isPlayerInTeam

    You have to add isPlayerInTeam function to your script function medicenterVehicle ( player, seat, jacked ) if not isPlayerInTeam (source, "Médico") then cancelEvent() outputChatBox ( "Debes de ser un médico para poder entrar al vehículo.", player ) end end function isPlayerInTeam(player, team) assert(isElement(player) and getElementType(player) == "player", "Bad argument 1 @ isPlayerInTeam [player expected, got " .. tostring(player) .. "]") assert((not team) or type(team) == "string" or (isElement(team) and getElementType(team) == "team"), "Bad argument 2 @ isPlayerInTeam [nil/string/team expected, got " .. tostring(team) .. "]") return getPlayerTeam(player) == (type(team) == "string" and getTeamFromName(team) or (type(team) == "userdata" and team or (getPlayerTeam(player) or true))) end
  2. Have you gave it admin rights?
  3. "onPlayerDamage" can not be cancelled function cancelDamage( attacker ) local x,y,z = getElementPosition(attacker) local location = getZoneName ( x, y, z, true ) if ( location == "Los Santos" ) then cancelEvent() end end addEventHandler ( "onClientPlayerDamage", root, cancelDamage )
  4. ALw7sH

    help?

    use file functions
  5. exactly, then you can execute the command of your code using executeCommandHandler
  6. You should create your own encryption system if someone here give you an idea everyone gonna now how did you encrypt them and they'll know how to decrypt them
  7. create button with guiCreateButton function and use onClientGUIClick event
  8. هههههههههههههه ياخوي افهم الفنكشن قبل ماتساعد فيه الرجال ----- لازم تعدل الفري روم دور الفنكشن الي يفك الفري روم وحط تحقق if getElementDimension(element) == 100 then return end
  9. DX الاستخدام الصحيح لل مايسبب أي لاق
  10. i tried to change the passowrd of Console accout from server console and login with it before
  11. ALw7sH

    setPedArmor

    use triggerServerEvent
  12. he can. ---- Are trying to "Hack" server ? lol
  13. addEvent("updateColor",true) addEventHandler("updateColor",root, function(color) local myClan = getAccountData(getPlayerAccount(source),"clan") if myClan then local xml = xmlLoadFile("clans.xml") if xml then for k,v in ipairs(xmlNodeGetChildren(xml)) do if xmlNodeGetAttribute(v, "tag") == myClan then xmlNodeSetAttribute(v,"r",color.r) xmlNodeSetAttribute(v,"g",color.g) xmlNodeSetAttribute(v,"b",color.b) xmlNodeSetAttribute(v,"color",color.renk) break end end xmlSaveFile(xml) xmlUnloadFile(xml) end end end )
  14. use setPedStat 24: MAX_HEALTH
  15. function drawPlay ( ) dxDrawLine(358, 454, 358, 480, tocolor(255, 255, 255, 255), 2, true) dxDrawImage(267, 163, 258, 23, "S1.png", 0, 0, 0, tocolor(23, 28, 142, 255), true) dxDrawLine(267, 163, 524, 163, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(268, 197, 525, 196, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(267, 185, 267, 163, tocolor(23, 87, 141, 255), 4, true) dxDrawText("=|ط·آ³ط¸ئ’ط·آ±ط·آ¨ط·ع¾ ط·آ§ط¸â€ط¸â€ڑط¸ث†ط·آ§ط¸â€ ط¸ظ¹ط¸â€ , ط¸…ط·آ·ط¸ث†ط·آ± DX |=", 282, 163, 501, 185, tocolor(255, 255, 255, 255), 1, "default", "center", "top", true, false, true, false, false) dxDrawLine(267, 186, 524, 185, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 197, 531, 196, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 196, 259, 498, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(535, 196, 536, 504, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 500, 532, 500, tocolor(23, 87, 141, 255), 4, true) dxDrawImage(258, 196, 0, 0, "S1.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawImage(261, 201, 272, 297, "S1.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("ط·آ³ط·آ¨ ط¸ث† ط·آ´ط·ع¾ط¸… = ط¸…ط¸ظ¹ط¸ث†ط·ع¾ 10 ط·آ¯ط¸â€ڑط·آ§ط·آ¦ط¸â€ڑ", 306, 210, 449, 226, tocolor(163, 157, 0, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط·آ§ط¸â€ط¸â€ ط·آ´ط·آ± = ط·آ¨ط·آ§ط¸â€ ط·آ¯ ط¸…ط·آ¤ط·آ¨ط·آ¯", 333, 236, 476, 252, tocolor(163, 0, 0, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-1", 481, 206, 624, 233, tocolor(255, 255, 255, 255), 1, "default", "left", "center", false, false, true, false, false) dxDrawText("-2", 433, 235, 576, 262, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-3", 472, 262, 615, 289, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط·آ¹ط·آ¯ط¸… ط¸…ط·آ³ط·آ§ط·آ¹ط·آ¯ط·آ© ط·آ§ط¸â€ط·آ²ط¸ث†ط·آ§ط·آ± = ط·آ³ط·آ­ط·آ¨ ط·آ§ط¸â€ط·آ±ط·ع¾ط·آ¨ط¸â€،", 280, 262, 423, 278, tocolor(161, 84, 1, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-4", 486, 294, 629, 321, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط·آ§ط¸â€ط·آ¹ط¸â€ ط·آµط·آ±ط¸ظ¹ط·آ© ط·آ§ط¸ث† ط·آ§ط¸â€ط·ع¾ط¸ئ’ط·آ¨ط·آ± = ط¸…ط¸ظ¹ط¸ث†ط·ع¾ 30 ط·آ¯ط¸â€ڑط¸ظ¹ط¸â€ڑط¸â€،", 290, 293, 433, 309, tocolor(163, 0, 0, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط·آ·ط¸â€ط·آ¨ ط·آ±ط·ع¾ط·آ¨ط¸â€، = ط¸…ط¸ظ¹ط¸ث†ط·ع¾ 10 ط·آ¯ط¸â€ڑط·آ§ط·آ¦ط¸â€ڑ", 338, 370, 481, 386, tocolor(161, 84, 1, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط·آ§ط¸â€ط·ع¾ط¸â€،ط·آ¯ط¸ظ¹ط·آ¯ = ط·آ§ط¸â€ط¸â€ڑط·آ±ط·آ§ط·آ± ط·آ¨ط¸ظ¹ط·آ¯ ط·آ§ط¸â€ط¸ئ’ط¸ث†ط¸â€ ط·آ³ط¸â€", 328, 331, 471, 347, tocolor(163, 157, 0, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-6", 496, 369, 639, 396, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-5", 486, 333, 629, 360, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط·آ§ط¸â€ط·ع¾ط¸â€،ط·آ§ط¸ث†ط·آ´ ط·آ¨ط¸ظ¹ط¸â€ ط·آ§ط·آ¯ط¸…ط¸â€ ط¸ظ¹ط¸â€ = ط·آ³ط·آ­ط·آ¨ ط·آ±ط·ع¾ط·آ¨ط¸â€،ط¸… ط·آ§ط¸â€ط·آ§ط·آ«ط¸â€ ط¸ظ¹ط¸â€ ط¸â€،ط¸…", 268, 402, 411, 418, tocolor(161, 84, 1, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-7", 515, 396, 658, 423, tocolor(255, 255, 255, 255), 1, "default", "left", "center", false, false, true, false, false) dxDrawLine(358, 452, 452, 452, tocolor(224, 245, 0, 255), 2, true) dxDrawLine(358, 480, 452, 480, tocolor(224, 245, 0, 255), 2, true) dxDrawLine(452, 454, 452, 480, tocolor(224, 245, 0, 255), 2, true) dxDrawLine(358, 452, 358, 478, tocolor(224, 245, 0, 255), 2, true) end function draw1 ( ) dxDrawLine(358, 454, 358, 480, tocolor(255, 255, 255, 255), 2, true) dxDrawImage(267, 163, 258, 23, "S1.png", 0, 0, 0, tocolor(23, 28, 142, 255), true) dxDrawLine(267, 163, 524, 163, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(268, 197, 525, 196, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(267, 185, 267, 163, tocolor(23, 87, 141, 255), 4, true) dxDrawText("=|ط·آ³ط¸ئ’ط·آ±ط·آ¨ط·ع¾ ط·آ§ط¸â€ط¸â€ڑط¸ث†ط·آ§ط¸â€ ط¸ظ¹ط¸â€ , ط¸…ط·آ·ط¸ث†ط·آ± DX |=", 282, 163, 501, 185, tocolor(255, 255, 255, 255), 1, "default", "center", "top", true, false, true, false, false) dxDrawLine(267, 186, 524, 185, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 197, 531, 196, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 196, 259, 498, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(535, 196, 536, 504, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 500, 532, 500, tocolor(23, 87, 141, 255), 4, true) dxDrawImage(258, 196, 0, 0, "S1.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawImage(261, 201, 272, 297, "S1.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("ط¸â€ط¸â€ط·آ­ط·آµط¸ث†ط¸â€ ط·آ¹ط¸â€ط¸‰ ط·آ§ط¸â€ط·آ±ط·ع¾ط·آ¨ط¸â€، ط·آ·ط·آ¨ط¸â€ڑ ط¸…ط·آ§ ط¸ظ¹ط¸â€ط¸ظ¹ :-", 300, 207, 443, 223, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط¸â€ ط·آ´ط·آ± ط·آ§ط¸â€ط·آ³ط¸ظ¹ط·آ±ط¸ظ¾ط·آ±", 339, 236, 482, 252, tocolor(23, 87, 141, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-1", 425, 233, 570, 261, tocolor(255, 255, 255, 255), 1, "default", "left", "center", false, false, true, false, false) dxDrawText("-2", 472, 262, 615, 289, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط¸…ط·آ³ط·آ§ط·آ¹ط·آ¯ط·آ© ط·آ§ط¸â€ط·آ²ط¸ث†ط·آ§ط·آ± ط¸ث†ط·آ§ط¸â€ط¸…ط·آ­ط·ع¾ط·آ§ط·آ¬ط¸ظ¹ط¸â€ ", 305, 263, 448, 279, tocolor(161, 84, 1, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-3", 443, 292, 586, 319, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط¸…ط·آ±ط·آ§ط¸â€ڑط·آ¨ط¸â€، ط·آ§ط¸â€ط·آ´ط·آ§ط·ع¾", 290, 293, 433, 309, tocolor(163, 0, 0, 255), 1, "default", "right", "top", false, false, true, false, false) dxDrawLine(358, 452, 452, 452, tocolor(211, 0, 0, 255), 2, true) dxDrawLine(358, 480, 452, 480, tocolor(211, 0, 0, 255), 2, true) dxDrawLine(452, 454, 452, 480, tocolor(211, 0, 0, 255), 2, true) dxDrawLine(358, 452, 358, 478, tocolor(211, 0, 0, 255), 2, true) dxDrawText("-1", 425, 233, 570, 261, tocolor(255, 255, 255, 255), 1, "default", "left", "center", false, false, true, false, false) dxDrawText("-2", 472, 262, 615, 289, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-3", 443, 292, 586, 319, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) end local opened = false function Open ( ) if opened then removeEventHandler ( "onClientRander", root,drawPlay) showCursor ( false ) opened = false else addEventHandler ("onClientRander", root , draw1) showCursor ( true ) opened = true end end bindKey ("F10", "down", Open ) GUIEditor = { button = {}, } GUIEditor.button[1] = guiCreateButton(358, 452, 93, 29, "ط·آ§ط¸â€ط·ع¾ط·آ§ط¸â€ط¸ظ¹", false) GUIEditor.button[2] = guiCreateButton(358, 452, 93, 29, "ط·آ§ط¸â€ط·آ³ط·آ§ط·آ¨ط¸â€ڑ", false) function Buttons () if source == GUIEditor.button[1] then addEventHandler ( "onClientRender",root,drawPlay ) removeEventHandler ( "onClientRender",root,draw1 ) guiSetVisible(GUIEditor.button[1] , false) guiSetVisible ( GUIEditor.button[2],true ) elseif source == GUIEditor.button[2] then removeEventHandler ( "onClientRender",root,drawPlay ) addEventHandler ( "onClientRender",root,draw1 ) guiSetVisible(GUIEditor.button[1] , true) guiSetVisible ( GUIEditor.button[2], false) end end addEventHandler ( "onClientGUIClick",root,Buttons )
  16. You have to use xmlSaveFile before unload the file
  17. ALw7sH

    Position name

    and he can edit getZoneName function so it will be more easier than do "if zonename == zone then" everytime local customNames = { ['Los Santos'] = "Custom Name", ['San Fierro'] = "Custom Name" } function getZoneName(x,y,z,citiesonly) if type(x) == "number" and type(y) == "number" and type(z) == "number" then return customNames[getZoneName(x,y,z,citiesonly or false)] or getZoneName(x,y,z,citiesonly or false) end end
  18. عشان تتأكد انه لوحة التسجيل مافيها اخطاء سجل دخول من لوحة التسجيل وخل احد معه ادمنية يشوف اذا انت سجلت دخول اصلاً او لا واذا سجلت هل هو نفس حسابك بالضبط ( الاحرف الكبيره والصغيره) اذا ماكان نفسه حط اكواد اللوقن سيرفر سايد
  19. ALw7sH

    Blocked fight

    addEventHandler("onPlayerJoin",root, function() toggleControl(source,"fire", false) toggleControl(source,"aim_weapon", false) end )
  20. ALw7sH

    Position name

    Im just not sure about which locations are talking about how do you get locations name ? sorry but i can't get what do you mean
  21. ALw7sH

    Position name

    You are talking about locations that you get with getZoneName function?
  22. ALw7sH

    Position name

    I dont think you can change the original gta sa locations name but you can create your own locations system
  23. function drawPlay() dxDrawLine(358, 454, 358, 480, tocolor(255, 255, 255, 255), 2, true) dxDrawImage(267, 163, 258, 23, "S1.png", 0, 0, 0, tocolor(23, 28, 142, 255), true) dxDrawLine(267, 163, 524, 163, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(268, 197, 525, 196, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(267, 185, 267, 163, tocolor(23, 87, 141, 255), 4, true) dxDrawText("=|ط³ظƒط±ط¨طھ ط§ظ„ظ‚ظˆط§ظ†ظٹظ† , ظ…ط·ظˆط± DX |=", 282, 163, 501, 185, tocolor(255, 255, 255, 255), 1, "default", "center", "top", true, false, true, false, false) dxDrawLine(267, 186, 524, 185, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 197, 531, 196, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 196, 259, 498, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(535, 196, 536, 504, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 500, 532, 500, tocolor(23, 87, 141, 255), 4, true) dxDrawImage(258, 196, 0, 0, "S1.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawImage(261, 201, 272, 297, "S1.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("ط³ط¨ ظˆ ط´طھظ… = ظ…ظٹظˆطھ 10 ط¯ظ‚ط§ط¦ظ‚", 306, 210, 449, 226, tocolor(163, 157, 0, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط§ظ„ظ†ط´ط± = ط¨ط§ظ†ط¯ ظ…ط¤ط¨ط¯", 333, 236, 476, 252, tocolor(163, 0, 0, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-1", 481, 206, 624, 233, tocolor(255, 255, 255, 255), 1, "default", "left", "center", false, false, true, false, false) dxDrawText("-2", 433, 235, 576, 262, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-3", 472, 262, 615, 289, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط¹ط¯ظ… ظ…ط³ط§ط¹ط¯ط© ط§ظ„ط²ظˆط§ط± = ط³ط­ط¨ ط§ظ„ط±طھط¨ظ‡", 280, 262, 423, 278, tocolor(161, 84, 1, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-4", 486, 294, 629, 321, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط§ظ„ط¹ظ†طµط±ظٹط© ط§ظˆ ط§ظ„طھظƒط¨ط± = ظ…ظٹظˆطھ 30 ط¯ظ‚ظٹظ‚ظ‡", 290, 293, 433, 309, tocolor(163, 0, 0, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط·ظ„ط¨ ط±طھط¨ظ‡ = ظ…ظٹظˆطھ 10 ط¯ظ‚ط§ط¦ظ‚", 338, 370, 481, 386, tocolor(161, 84, 1, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط§ظ„طھظ‡ط¯ظٹط¯ = ط§ظ„ظ‚ط±ط§ط± ط¨ظٹط¯ ط§ظ„ظƒظˆظ†ط³ظ„", 328, 331, 471, 347, tocolor(163, 157, 0, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-6", 496, 369, 639, 396, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-5", 486, 333, 629, 360, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ط§ظ„طھظ‡ط§ظˆط´ ط¨ظٹظ† ط§ط¯ظ…ظ†ظٹظ† = ط³ط­ط¨ ط±طھط¨ظ‡ظ… ط§ظ„ط§ط«ظ†ظٹظ†ظ‡ظ…", 268, 402, 411, 418, tocolor(161, 84, 1, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-7", 515, 396, 658, 423, tocolor(255, 255, 255, 255), 1, "default", "left", "center", false, false, true, false, false) dxDrawLine(358, 452, 452, 452, tocolor(224, 245, 0, 255), 2, true) dxDrawLine(358, 480, 452, 480, tocolor(224, 245, 0, 255), 2, true) dxDrawLine(452, 454, 452, 480, tocolor(224, 245, 0, 255), 2, true) dxDrawLine(358, 452, 358, 478, tocolor(224, 245, 0, 255), 2, true) end bindKey ("F10", "down", function draw() if ( draw == false ) then addEventHandler("onClientRender", root, drawPlay) addEventHandler("onClientRender", root, move) addEventHandler("onClientClick", root, click) addEventHandler("onClientCursorMove", root, mouse) showCursor ( true ) draw = true else removeEventHandler("onClientRender", root, drawPlay) removeEventHandler("onClientRender", root, move) removeEventHandler("onClientClick", root, click) removeEventHandler("onClientCursorMove", root, mouse) showCursor ( false ) draw = false end end ) guiSetVisible(GUIEditor.button[1],ture) addEventHandler("onClientClick", root, function() if source == GUIEditor.button[1] then guiSetVisible (drawPlay , false) guiSetVisible (GUIEditor.button[1] , false) guiSetVisible (draw1 ,true) guiSetVisible (GUIEditor.button[2] ,true) end end ) addEventHandler("onClientRender", root, function draw1 () dxDrawLine(358, 454, 358, 480, tocolor(255, 255, 255, 255), 2, true) dxDrawImage(267, 163, 258, 23, "S1.png", 0, 0, 0, tocolor(23, 28, 142, 255), true) dxDrawLine(267, 163, 524, 163, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(268, 197, 525, 196, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(267, 185, 267, 163, tocolor(23, 87, 141, 255), 4, true) dxDrawText("=|ط³ظƒط±ط¨طھ ط§ظ„ظ‚ظˆط§ظ†ظٹظ† , ظ…ط·ظˆط± DX |=", 282, 163, 501, 185, tocolor(255, 255, 255, 255), 1, "default", "center", "top", true, false, true, false, false) dxDrawLine(267, 186, 524, 185, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 197, 531, 196, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 196, 259, 498, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(535, 196, 536, 504, tocolor(23, 87, 141, 255), 4, true) dxDrawLine(258, 500, 532, 500, tocolor(23, 87, 141, 255), 4, true) dxDrawImage(258, 196, 0, 0, "S1.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawImage(261, 201, 272, 297, "S1.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("ظ„ظ„ط­طµظˆظ„ ط¹ظ„ظ‰ ط§ظ„ط±طھط¨ظ‡ ط·ط¨ظ‚ ظ…ط§ ظٹظ„ظٹ :-", 300, 207, 443, 223, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ظ†ط´ط± ط§ظ„ط³ظٹط±ظپط±", 339, 236, 482, 252, tocolor(23, 87, 141, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-1", 425, 233, 570, 261, tocolor(255, 255, 255, 255), 1, "default", "left", "center", false, false, true, false, false) dxDrawText("-2", 472, 262, 615, 289, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ظ…ط³ط§ط¹ط¯ط© ط§ظ„ط²ظˆط§ط± ظˆط§ظ„ظ…ط­طھط§ط¬ظٹظ†", 305, 263, 448, 279, tocolor(161, 84, 1, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-3", 443, 292, 586, 319, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("ظ…ط±ط§ظ‚ط¨ظ‡ ط§ظ„ط´ط§طھ", 290, 293, 433, 309, tocolor(163, 0, 0, 255), 1, "default", "right", "top", false, false, true, false, false) dxDrawLine(358, 452, 452, 452, tocolor(211, 0, 0, 255), 2, true) dxDrawLine(358, 480, 452, 480, tocolor(211, 0, 0, 255), 2, true) dxDrawLine(452, 454, 452, 480, tocolor(211, 0, 0, 255), 2, true) dxDrawLine(358, 452, 358, 478, tocolor(211, 0, 0, 255), 2, true) dxDrawText("-1", 425, 233, 570, 261, tocolor(255, 255, 255, 255), 1, "default", "left", "center", false, false, true, false, false) dxDrawText("-2", 472, 262, 615, 289, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) dxDrawText("-3", 443, 292, 586, 319, tocolor(255, 255, 255, 255), 1, "default", "left", "top", false, false, true, false, false) end ) addEventHandler("onClientClick", root, function() if source == GUIEditor.button[2] then guiSetVisible (drawPlay , true) guiSetVisible (GUIEditor.button[1] , true) guiSetVisible (draw1 ,false) guiSetVisible (GUIEditor.button[2] ,false) end end ) GUIEditor = { button = {}, } GUIEditor.button[1] = guiCreateButton(358, 452, 93, 29, "ط§ظ„طھط§ظ„ظٹ", false) GUIEditor.button[2] = guiCreateButton(358, 452, 93, 29, "ط§ظ„ط³ط§ط¨ظ‚", false) الكود كذا المفروض يشتغل بس بعد الكود فيه اخطاء على فنكشنات guiSetVisible أنك تستخدم فنكشن
×
×
  • Create New...