Jump to content

yMassai

Members
  • Posts

    382
  • Joined

  • Last visited

Everything posted by yMassai

  1. yMassai

    Help

    how i do from create the car and automatically warping the player?
  2. yMassai

    Help

    error occurs because the arrow does not appear
  3. yMassai

    Help

    carrosWindow = guiCreateWindow(100,100,175,200,"Criador de Carros",false) carrosList = guiCreateGridList ( 0.05, 0.10, 0.9, 0.7, true, carrosWindow) column = guiGridListAddColumn( carrosList, "Cars", 0.85 ) carrosCreate = guiCreateButton(05,170,85,45,"Create",false,carrosWindow) carrosClose = guiCreateButton(110,170,50,45,"Close",false,carrosWindow) carrosRow = guiGridListAddRow ( carrosWindow ) guiWindowSetSizable( carrosWindow,false) guiSetVisible( carrosWindow, false ) carrosVis = {{440},{320}} for i,v in ipairs (carrosVis) do local row = guiGridListAddRow (carrosList) guiGridListSetItemText (carrosList, carrosRow, 1, false, true) carrosMarker = createMarker( 1543.98962, -1670.46398, 12.55753, "cylinder", 1.5, 255, 0, 0, 170 ) addEventHandler ( "onClientMarkerHit", root, function ( hitElement ) if ( hitElement == localPlayer ) then if ( source == carrosMarker ) then guiSetVisible ( carrosWindow, true ) end end end ) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == carrosClose ) then guiSetVisible ( carrosWindow, false ) end end ) ??
  4. yMassai

    Help

    Sorry but I error. if I Knew I would have produced the script. I'm trying to learn.
  5. yMassai

    Help

    carrosWindow = guiCreateWindow(100,100,175,200,"Criador de Carros",false) carrosList = guiCreateGridList ( 0.05, 0.10, 0.9, 0.7, true, carrosWindow) column = guiGridListAddColumn( carrosList, "Cars", 0.85 ) carrosRow = guiGridListAddRow ( carrosWindow ) carrosText = guiGridListSetItemText ( carrosWindow, carrosRow, ( playeritem ), false, false ) carrosCreate = guiCreateButton(05,170,85,45,"Create",false,carrosWindow) carrosClose = guiCreateButton(110,170,50,45,"Close",false,carrosWindow) guiWindowSetSizable( carrosWindow,false) guiSetVisible( carrosWindow, false ) carrosMarker = createMarker( 1543.98962, -1670.46398, 12.55753, "cylinder", 1.5, 255, 0, 0, 170 ) addEventHandler ( "onClientMarkerHit", root, function ( hitElement ) if ( hitElement == localPlayer ) then if ( source == carrosMarker ) then guiSetVisible ( carrosWindow, true ) end end end ) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == carrosClose ) then guiSetVisible ( carrosWindow, false ) end end ) this?
  6. yMassai

    Help

    In this script have a place to list and two buttons. the two buttons are Create and Close, one used to create and another for close window. How do I get a few cars on the list in order to be created?
  7. yMassai

    Help

    carrosWindow = guiCreateWindow(100,100,175,200,"Criador de Carros",false) carrosList = guiCreateGridList ( 0.05, 0.10, 0.9, 0.7, true, carrosWindow) column = guiGridListAddColumn( carrosList, "Cars", 0.85 ) carrosCreate = guiCreateButton(05,170,85,45,"Create",false,carrosWindow) carrosClose = guiCreateButton(110,170,50,45,"Close",false,carrosWindow) guiWindowSetSizable( carrosWindow,false) guiSetVisible( carrosWindow, false ) carrosMarker = createMarker( 1543.98962, -1670.46398, 12.55753, "cylinder", 1.5, 255, 0, 0, 170 ) addEventHandler("onClientMarkerHit", root, function(hitElement) if hitElement == localPlayer then if source == carrosMarker then guiSetVisible(carrosWindow, true) end end end ) How do I close the window with the "Close" button?
  8. yMassai

    Help

    Thanks I will try here, I'm still learning.
  9. yMassai

    Help

    Server carrosMarker = createMarker( 1543.98962, -1670.46398, 12.55753, "cylinder", 1.5, 255, 0, 0, 170 ) addEventHandler("onClientMarkerHit", root, function(hitElement) if hitElement == localPlayer then if source == carrosMarker then guiSetVisible(carrosWindow, true) end end end ) Client carrosWindow = guiCreateWindow(100,100,175,200,"Criador de Carros",false) carrosList = guiCreateGridList ( 0.05, 0.10, 0.9, 0.7, true, carrosWindow) column = guiGridListAddColumn( playerList, "Cars", 0.85 ) carrosCreate = guiCreateButton(05,170,85,45,"Create",false,carrosWindow) carrosClose = guiCreateButton(110,170,50,45,"Close",false,carrosWindow) guiWindowSetSizable( carrosWindow,false) guiSetVisible( carrosWindow, false ) is this way? I just test and does not work
  10. yMassai

    Help

    carrosWindow = guiCreateWindow(100,100,175,200,"Criador de Carros",false) playerList = guiCreateGridList ( 0.05, 0.10, 0.9, 0.7, true, carrosWindow) column = guiGridListAddColumn( playerList, "Cars", 0.85 ) carrosCreate = guiCreateButton(05,170,85,45,"Create",false,carrosWindow) carrosClose = guiCreateButton(110,170,50,45,"Close",false,carrosWindow) guiWindowSetSizable( carrosWindow,false) guiSetVisible( carrosWindow, false ) carrosMarker = createMarker( 1543.98962, -1670.46398, 12.55753, "cylinder", 1.5, 255, 0, 0, 170 ) how could I open it with a Marker?
  11. yMassai

    Help

    carrosWindow = guiCreateWindow(100,100,175,200,"Sei La",false) carrosList1 = guiCreateGridList(90,20,100,50,true,carrosWindow) carrosComand1 = guiGridListAddColumn(carrosList1,"Carros",2) guiWindowSetSizable( carrosWindow,false) guiSetVisible( carrosWindow, false ) function carrosShow() if (guiGetVisible(carrosWindow) == false) then guiSetVisible(carrosWindow,true) showCursor(true) else guiSetVisible(carrosWindow,false) showCursor(false) end end bindKey("F5","down",carrosShow) tidy error!
  12. This is not essential. Could get only one color and not several. I believe this will not bring benefits to the MTA
  13. setPedMovementSpeed() , should primarily be seen that this argument would bring benefits.
  14. yMassai

    help?

    You can create your scripts. You can pay a scripter. Or even find in the community.https://community.multitheftauto.com/ Good Luck!
  15. Optimal idea. You can count on me. Good luck!
  16. Hum No comments, I know who you are TheIceman. One month ago was the RRC server, then i ask you from you, u will manage this server as managed the RRC? Saying is not doing. Good Luck!
  17. yMassai

    kil script?

    i do not really understand what it tried to speak. You can find ready resources at this link https://community.multitheftauto.com/index.php?p=resources Or you can create your own resources You can find some tutorials here https://forum.multitheftauto.com/viewforum.php?f=148 and you can use the wiki for help you https://wiki.multitheftauto.com/wiki/Main_Page Good Luck!
  18. yMassai

    Help

    infoWindow = guiCreateWindow(350,250,450,320,"Painel Info",false) button = guiCreateButton(15,40,105,35,"Regras",false,infoWindow) memo1 = guiCreateMemo(135,40,300,260,"text1",false,infoWindow) guiMemoSetReadOnly( memo1, true ) guiWindowSetSizable(infoWindow,false) guiSetVisible( infoWindow, false ) -------------------------------------------------------- button2 = guiCreateButton(15,80,105,35,"Infor",false,infoWindow) memo2 = guiCreateMemo(135,40,300,260,"text2",false,infoWindow) guiMemoSetReadOnly( memo2, true ) function infoShow ( ) guiSetVisible ( infoWindow, not guiGetVisible ( infoWindow ) ) showCursor ( not isCursorShowing( ) ) end bindKey ( "F1","down", infoShow ) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button2 ) then guiSetVisible( memo2, true ) guiSetVisible( memo1, false ) elseif ( source == button ) then guiSetVisible( memo1, true ) guiSetVisible( memo2, false ) end end ) Work 100% thank you very much
  19. yMassai

    Help

    window appears, but no exchange the "memo"
  20. yMassai

    Help

    infoWindow = guiCreateWindow(350,250,450,320,"Painel Info",false) guiCreateButton(15,40,105,35,"Regras",false,infoWindow) memo1 = guiCreateMemo(135,40,300,260,"Test text 11111111",false,infoWindow) guiMemoSetReadOnly( memo1, true ) guiWindowSetSizable(infoWindow,false) guiSetVisible( infoWindow, false ) -------------------------------------------------------- button = guiCreateButton(15,80,105,35,"Infor",false,infoWindow) memo2 = guiCreateMemo(135,40,300,260,"Test text 2222222",false,infoWindow) guiMemoSetReadOnly( memo2, true ) function infoShow ( ) guiSetVisible ( infoWindow, not guiGetVisible ( infoWindow ) ) showCursor ( not isCursorShowing( ) ) end bindKey ( "F1", "down", infoShow ) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then guiSetText ( memo1, guiGetText( memo2 ) ) end end ) Dont work.
  21. yMassai

    Help

    Now the window appears. but to push the button nothing happens.
  22. yMassai

    Help

    the window does not open
  23. yMassai

    Help

    Here again i this time I would like another helping hand. as we see there are two buttons and two texts. I would like to open for example: I want the text arises "Memo1" when tightening "Regras", and also that when I push the button "Infor", the text "Memo2" to emerge in place of text "Memo1". infoWindow = guiCreateWindow(350,250,450,320,"Painel Info",false) guiCreateButton(15,40,105,35,"Regras",false,infoWindow) memo1 = guiCreateMemo(135,40,300,260,"Test text",false,infoWindow) guiMemoSetReadOnly( memo1, true ) guiWindowSetSizable(infoWindow,false) guiSetVisible( infoWindow, false ) function infoShow () guiSetVisible( infoWindow, not guiGetVisible( infoWindow ) ) showCursor( not isCursorShowing( ) ) end bindKey ("F1", "down", infoShow ) guiCreateButton(15,80,105,35,"Infor",false,infoWindow) memo2 = guiCreateMemo(135,40,300,260,"Test text",false,infoWindow) guiMemoSetReadOnly( memo2, true )
  24. yMassai

    Help

    Hi how are you? I need a little help basic ,do not know very well create windows. In this example I created a window with a button and a place for text. In this text players can edit what is written, I want this to be intact, ie no one can remove what is written in place of text. infoWindow = guiCreateWindow(350,250,450,320,"Painel Info",false) guiCreateButton(15,40,105,35,"Regras",false,infoWindow) guiCreateMemo(135,40,300,260,"Test text",false,infoWindow) guiWindowSetSizable(infoWindow,false) guiSetVisible( infoWindow, false ) function infoShow () guiSetVisible( infoWindow, not guiGetVisible( infoWindow ) ) showCursor( not isCursorShowing( ) ) end bindKey ("F1", "down", infoShow )
  25. Você poderia ver se não é algo em sua placa de vídeo ou até em seu HD, isto esta acontecendo recentemente ou desde que instalou o mta? Mas a todo e em qualquer caso é bom reportar no Bug Tracker como DrakeN falou.
×
×
  • Create New...