Jump to content

#Al-Ha[J]aRii

Members
  • Posts

    482
  • Joined

  • Last visited

Everything posted by #Al-Ha[J]aRii

  1. yea go check it in MTA Script editor there wrong in him
  2. lol ur code wrong samer thanx max and all
  3. it's for panel in button Lock-Unlock this is not full of the my script just the code lock unlock Car
  4. hi all what wrong with this script it's for window button Lock-Unlock addEventHandler( "onClientGUIClick", root, function () if ( source == Lock-UnLock ) then local playervehicle = getPedOccupiedVehicle ( thePlayer ) if playervehicle then setVehicleLocked ( playervehicle, true ) outputChatBox ( "Your Vehicle Lock !",255, 0, 0, true ) else setVehicleLocked ( playervehicle, false ) outputChatBox ( " Your Vehicle UnLock !",255, 0, 0, true ) end end end )
  5. destroy مايشتغل addEventHandler("onClientGUIClick", root, function () if (source == GUIEditor.button[3]) then local vehicle = getPedOccupiedVehicle(localPlayer) destroyElement(vehicle) end end )
  6. تسلم نسيت ذذ + تسلم الم
  7. تسلمـــــــ في مشكلة ماتفتح النافدة ويش المشكلة هذه هذه كلنت مو كامل ذذ GUIEditor = { button = {}, label = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(520, 86, 298, 263, "Car System By Alhajarii", false) guiWindowSetSizable(GUIEditor.window[1], false) Repair = guiCreateButton(18, 45, 109, 50, "Repair", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "clear-normal") On-Off = guiCreateButton(169, 45, 109, 50, "On-Off", false, GUIEditor.window[1]) Flip = guiCreateButton(23, 148, 109, 50, "Flip", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "clear-normal") Destroy = guiCreateButton(173, 148, 105, 50, "Destroy", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(7, 206, 226, 42, "By Alhajarii", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-header") guiSetVisible (GUIEditor.window[1], false) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F5", "down", OpenWin) و السيرفر لين فيه اغلاط addEvent("Repair",true) addEventHandler("Repair",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 0) then takePlayerMoney(source,0) fixVehicle(getPedOccupiedVehicle(source)) end end ) addEvent("Flip",true) addEventHandler("Flip",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 0) then takePlayerMoney(source,0) rx, ry, rz = getVehicleRotation (getPedOccupiedVehicle(source)) end end )
  8. بالضفغط على زر في لوحة زر Destroy
  9. الايدي مايحتاج بس في ويكي المثال مكتوب الايدي ماعرفة شلون اسويهـا destroyElement
  10. الحذف مافهمتها ممكن مثال؟
  11. تسلم بحاول اسوي الحذف
  12. التشغيل + اطفاء كذا تصير ؟ function OnOff () setVehicleEngineState ( theVehicle, true ) setVehicleEngineState ( theVehicle, false ) end
  13. destroyElement setVehicleEngineState ما قال حذف السيارة قال إخفاء setElementAlpha قصدي حذف destroy
  14. طلب كود للشوب اخفاء السيارة اطفاء و تشغيل السيارة
  15. في مشكلة ذذ المود اشتغل كل واحد في سيرفر يقدر يكتب في قوانين هناا + وين اخلي الايفنت اول مايدخل السيرفر ذذ تنفتح له الوحة
  16. الوحة ماتظهررر سويت لها زر انا الحين GUIEditor = { memo = {}, button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(226, 84, 822, 574, "قـــوانـــيــن الــســيــرفــر", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(204, 499, 431, 66, "I Agree And Acttep", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") GUIEditor.memo[1] = guiCreateMemo(10, 30, 803, 460, "القوانين هنا\n\n", false, GUIEditor.window[1]) addEventHandler ( "onClientGUIClick", GUIEditor.button[1], function ( ) guiSetVisible ( GUIEditor.window[1], false ) showCursor ( false ) end ) function GUIEditor.window[1]() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F12", "down", GUIEditor.window[1])
  17. ابيها ماتظهر بزر اول مايدخل السيرفر احد تظهر له او لين يضغط على زر I agree and acttep تغلق او خلاصص
  18. اليوم انا سويت نافدة القوانين بس ماتظهر ليش ؟ هذه الكود GUIEditor = { memo = {}, button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(226, 84, 822, 574, "قـــوانـــيــن الــســيــرفــر", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(204, 499, 431, 66, "I Agree And Acttep", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") GUIEditor.memo[1] = guiCreateMemo(10, 30, 803, 460, "القوانين هنا\n\n", false, GUIEditor.window[1]) addEventHandler ( "onClientGUIClick", GUIEditor.button[1], function ( ) guiSetVisible ( GUIEditor.window[1], false ) showCursor ( false ) end )
  19. My Code Wrong ? Can u Fix it please ?
×
×
  • Create New...