Jump to content

AnDReJ98

Members
  • Posts

    67
  • Joined

  • Last visited

Everything posted by AnDReJ98

  1. Benxamix2 (The Kid) thanks i just wanna the user if he pressed the button will copying memo's data
  2. hi guys i have a question how to make the button to copy memo's data? client.lua GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Window[1] = guiCreateWindow(188,173,427,273,"",false) GUIEditor_Memo[1] = guiCreateMemo(34,18,366,140,"funnction scriptCreateTank ( commandName ) \n local luckyBugger = getLocalPlayer() -- get the local player \n local x, y, z = getElementPosition ( luckyBugger ) -- retrive the player's position \n createVehicle ( 432, x, y, z + 10 ) -- create te tank 10 units above them \n outputChatBox ( \"You got Tank'd!\", 255, 0, 0) \nend \n addCommandHandle( \"tank\", scriptCreateTank )",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(71,182,266,59,"copy all ",false,GUIEditor_Window[1])
  3. its work fine when player out the Vehicle but when in the Vehicle the Vehicle fly and blow any one help me
  4. its work thank you but when in the Vehicle and click button this picture 1 2 why?????
  5. what about if (source == GUIEditor_Button[1]) ?
  6. Solidsnake14 this not work please help me
  7. He wants to say that's another script, not this one. DUDE. this not another script any help??
  8. no i mean when in the car i click the button my car go this Position but car fly and blow why?
  9. this work but when in the Vehicle click the button Vehicle fly and blow why?????
  10. iam not need warp ped in vehicle i need setElementPosition telpoort when player in the Vehicle and also when player out the Vehicle
  11. John_Michael thanks so much i need telpoort when player in the Vehicle and also when player out the Vehicle
  12. hi guys i make this teleports its work but when in the vehicle when click the button vehicle fly and blow please some one help me this client side addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == GUIEditor_Button[1]) then local theplayer = getLocalPlayer() local theVehicle = getPedOccupiedVehicle setElementPosition (theplayer , 1523.9138183594, 1527.1204833984, 10.2602405548 ) setElementPosition (theVehicle , 1523.9138183594, 1527.1204833984, 10.2602405548 ) end end)
  13. Solidsnake14 thank you so much for help me give me example what writ in client side thank you so much
  14. Solidsnake14 thanks you so much this work but i need freez all player for one minute no freez me just freez all players this client.lua function onGuiClick (button, state, absoluteX, absoluteY) if (source == GUIEditor_Button[1]) then triggerServerEvent ("Froze", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick)
  15. freez work and time on sceen work but when time end player cant move (freez) why?
×
×
  • Create New...