Jump to content

RealXwar

Members
  • Posts

    7
  • Joined

  • Last visited

Details

  • Gang
    CSC

RealXwar's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. شكرا انا لسا بتعلم جديد
  2. السلام عليكم المود عباره عن Car Spawner وهو عندما يدخل الاعب الي الماركر و يضغط علي "Sanchez" ثم تعطيه اياها meta.xml Client marker1 = createMarker(1543.01550,-1719.50916,12.55456,"cylinder",3,255,255,255) function spawn() GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(238, 130, 492, 333, "INRU Spawner", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[2] = guiCreateButton(386, 24, 96, 55, "Close", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(9, 22, 103, 50, "Sanchez", false, GUIEditor.window[1]) showCursor ( true ) end addEventHandler("onClientMarkerHit",getRootElement(),spawn) addEventHandler("onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[2]) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) end end) addEventHandler("onClientGUIClick",root, function ( thePlayer ) if ( source == GUIEditor.button[1]) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) triggerServerEvent ( "onClientGUIClick", resourceRoot, thePlayer ) end end) Server function GUI(thePlayer) local luckyBugger = getLocalPlayer() local x, y, z = getElementPosition ( luckyBugger ) veh = createVehicle ( 468, x, y, z + 10 ) end addEvent ("onClientGUIClick",true) addEventHandler( "onClientGUIClick", resourceRoot, getLocalPlayer )
  3. السلام عليكم شباب اريد مساعده في التالي Sanchez لا استطيع ركوب الدراجه و اريد نقل الاعب داخل الدراجه لكي يقودها عندما يضفط علي marker1 = createMarker(1543.01550,-1719.50916,12.55456,"cylinder",3,255,255,255) function spawn() GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(238, 130, 492, 333, "INRU Spawner", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[2] = guiCreateButton(386, 24, 96, 55, "Close", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(9, 22, 103, 50, "Sanchez", false, GUIEditor.window[1]) showCursor ( true ) end addEventHandler("onClientMarkerHit",getRootElement(),spawn) addEventHandler("onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[2]) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) end end) addEventHandler("onClientGUIClick",root, function ( thePlayer ) if ( source == GUIEditor.button[1]) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) local luckyBugger = getLocalPlayer() local x, y, z = getElementPosition ( luckyBugger ) veh = createVehicle ( 468, x, y, z + 10 ) warpPedIntoVehicle(thePlayer, veh) end end)
  4. السلام عليكم وتختفي الفاره Panel يغلق الClose ممكن مساعده في السكربت التالي هو انا اريد عندما يضغط الاعب علي شكرا . لا اعرف كيفيه وضع السكربت في Spoldier marker1 = createMarker(1543.01550,-1719.50916,12.55456,"cylinder",3,255,255,255) function spawn() GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(238, 130, 492, 333, "INRU Spawner", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[2] = guiCreateButton(386, 24, 96, 55, "Close", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(9, 22, 103, 50, "Sanchez", false, GUIEditor.window[1]) showCursor ( true ) end addEventHandler("onClientMarkerHit",getRootElement(),spawn) function Close() GUIEditor.button[2] = guiCreateButton(386, 24, 96, 55, "Close", false, GUIEditor.window[1]) end addEventHandler ( "onClientGUIClick",GUIEditor.button[2] , close2, false ) function close2() guiSetVisible ( GUIEditor.window[1], false ) end
  5. شباب ممكن كود لما الاعب يلمس الماركر يحصله Freez
×
×
  • Create New...