Jump to content

#RooTs

Members
  • Posts

    1,990
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by #RooTs

  1. local sW,sH = guiGetScreenSize() function render() dxDrawText("Teste",sW*4/1280,sH*4/800,sW*112/1280, sH*64/80, tocolor(255, 0, 0, 255), 2.00, "default-bold", "left", "top", false, false, false, false, false) end addEventHandler("onClientRender", root, render ) use removeEventHandler("onClientRender", root, render )
  2. the description does not match the resource. OMG we Brazilians can speak several languages and you do not know our language. this is a disgrace to the community. not even read the description.
  3. no decription https://community.multitheftauto.com/index.php?p ... s&id=12865 DONE
  4. Hello, I've been noticing that. several scripts using as argument "source" are giving errors on the server and causing the fall. error on the console before the fall ... servivor bad argument in several scripts at the same time http://i.imgur.com/WSkhLZC.jpg givecar, erro in line 22 http://i.imgur.com/wLqrILo.png ejetar, erro in line 121 http://i.imgur.com/J1Ts1Bf.png givearmas, erro in line 26 http://i.imgur.com/XXFqK9A.png the doubt is. why these errors? and because they can cause the server crash ahhh friends I do not know what to do more
  5. is version 1.5.2 and not 1.5.0 mtasa-1.5.2-rc 7915-20160319.exe
  6. can anyone help me find the version of the mta 1.5. I'm having trouble with the new version. https://nightly.multitheftauto.com/ -- no there is version 1.5
  7. delete https://community.multitheftauto.com/in ... s&id=12679 https://community.multitheftauto.com/in ... s&id=12024 DONE
  8. procura dar uma estudada nas funções getElementeData setElementeData
  9. ?? dxDrawImage( 200, 100, w, h, Table["Value"] ) boy ... much do it for me? my god...
  10. this did not help me at all
  11. @Gaberiel, you can create table in clientSide?
  12. the table need to both sides. client and server
  13. and clientSide ? dxDrawImage( 200, 100, w, h, myTexture1 )--?? dxDrawImage( 200, 100, w, h, myTexture2 ) dxDrawImage( 200, 100, w, h, myTexture3 )
  14. is that a good guy can make a table for me to add multiple images? example table,{ image01 = "http://www.example.com/image.jpg", image02 = "http://www.example.com/image2.jpg", image03 = "http://www.example.com/image3.jpg", } all my code server.lua function startImageDownload( playerToReceive ) fetchRemote ( "http://www.example.com/image.jpg", myCallback, "", false, playerToReceive ) end function myCallback( responseData, errno, playerToReceive ) if errno == 0 then triggerClientEvent( playerToReceive, "onClientGotImage", resourceRoot, responseData ) end end client.lua addEvent( "onClientGotImage", true ) addEventHandler( "onClientGotImage", resourceRoot, function( pixels ) if myTexture then destroyElement( myTexture ) end myTexture = dxCreateTexture( pixels ) end ) addEventHandler("onClientRender", root, function() if myTexture then local w,h = dxGetMaterialSize( myTexture ) dxDrawImage( 200, 100, w, h, myTexture ) end end )
  15. Friends, what might be causing this drop? [2016-03-17 17:53:46] QUIT: Hard left the game [Quit] [2016-03-17 17:53:46] WARNING: [scripts]\[MOD]lock\car_locks_server.lua:132: Bad argument @ 'getElementData' [Expected element at argument 1] [2016-03-17 17:53:46] WARNING: [scripts]\[MOD]lock\car_locks_server.lua:139: Bad argument @ 'setVehicleLocked' [Expected element at argument 1] [2016-03-17 17:55:01] [Network] OutCommandQueue > 600000 msgs. This is due to server overload or script freeze [2016-03-17 17:55:01] Temporarily suspending outgoing sync packets [2016-03-17 17:56:47] Resuming outgoing sync packets [2016-03-17 17:56:56] INFO: #8A2BE2THC~#00FF00Weed (177.159.228.10) connection gone away [2016-03-17 17:56:56] QUIT: #8A2BE2THC~#00FF00Weed left the game [Timed out] [2016-03-17 17:57:00] CONNECT: drogado_br connected (IP: 200.149.245.86 Serial: 62B386A2840D8AF32736AF31EBFD93F3 Version: 1.5.2-9.07879.0) [2016-03-17 17:57:01] INFO: Dead connection detected for gui [2016-03-17 17:57:01] QUIT: gui left the game [Timed out] [2016-03-17 17:57:02] CONNECT: ALQTraficanteVLHC connected (IP: 177.70.133.93 Serial: 7DE09B8310DDCACFBB564FD20C425093 Version: 1.5.2-9.07879.0) [2016-03-17 17:57:02] DISCONNECT: #FF0000{R.T}Jhef_!_ Supplanted by (#FF0000{R.T}Jhef_!_) [2016-03-17 17:57:02] QUIT: #FF0000{R.T}Jhef_!_ left the game [Quit] [2016-03-17 17:57:02] CONNECT: #FF0000{R.T}Jhef_!_ connected (IP: 167.249.124.137 Serial: 67BD228B8BFD6768B44AB900181BBA02 Version: 1.5.2-9.07879.0) [2016-03-17 17:57:03] DISCONNECT: BielCoeLho Supplanted by (BielCoeLho) [2016-03-17 17:57:03] QUIT: BielCoeLho left the game [Quit] [2016-03-17 17:57:03] CONNECT: BielCoeLho connected (IP: 189.47.100.253 Serial: EAA51E75E1481B1F31E2682D3AD4A333 Version: 1.5.2-9.07879.0) [2016-03-17 17:57:04] DISCONNECT: #7D26CDMOHAMED_miLgrau Supplanted by (#7D26CDMOHAMED_miLgrau) [2016-03-17 17:57:04] QUIT: #7D26CDMOHAMED_miLgrau left the game [Quit] [2016-03-17 17:57:04] CONNECT: #7D26CDMOHAMED_miLgrau connected (IP: 189.18.87.80 Serial: 5F52D2EA15EFCD9D4170C73B0F511602 Version: 1.5.2-9.07879.0) [2016-03-17 17:57:05] QUIT: joaopedro left the game [Timed out] [2016-03-17 17:57:05] QUIT: #8388834M#FF1493ZPABLO left the game [Timed out] [2016-03-17 17:57:05] QUIT: Gnr-Kuat left the game [Timed out] [2016-03-17 17:57:05] QUIT: #00F30FREEDOM left the game [Timed out] [2016-03-17 17:57:05] QUIT: gustavo_BR left the game [Timed out] [2016-03-17 17:57:06] QUIT: #000000BOPE|Anderson left the game [Timed out] [2016-03-17 17:57:06] QUIT: #FF4500B#838B83art left the game [Timed out] [2016-03-17 17:57:06] QUIT: #838b9aALQ|#00fa9aW.$ left the game [Timed out] [2016-03-17 17:57:06] QUIT: 4M|MenordoChapa left the game [Timed out] [2016-03-17 17:57:06] QUIT: felipe.exet left the game [Timed out] [2016-03-17 17:57:07] QUIT: renken left the game [Timed out] [2016-03-17 17:57:07] QUIT: [exe]-Danilo left the game [Timed out] [2016-03-17 17:57:07] QUIT: AnimatedCrow89 left the game [Timed out] [2016-03-17 17:57:07] QUIT: BOPE/lrickpesado left the game [Timed out] [2016-03-17 17:57:08] INFO: Clothessaver: Saved clothes [2016-03-17 17:57:08] QUIT: Sr.R#00CB73ussO left the game [Timed out] [2016-03-17 17:57:08] ERROR: [Exclusivo]\[Mod]AbrirPortas\sourceS.lua:1013: attempt to call global 'detachNeon' (a nil value) [2016-03-17 17:57:08] QUIT: Transfor12br left the game [Timed out] possible error [2016-03-17 17:57:08] ERROR: [Exclusivo]\[Mod]AbrirPortas\sourceS.lua:1013: attempt to call global 'detachNeon' (a nil value) part of my code -----------------------------------------------------------[FUNÇOES NEON]---------------------------------------------------------- local vehicles = { [ 400 ] = true, [ 401 ] = true, [ 402 ] = true, [ 403 ] = true, [ 404 ] = true, [ 405 ] = true, [ 409 ] = true, [ 410 ] = true, [ 415 ] = true, [ 411 ] = true, [ 412 ] = true, [ 413 ] = true, [ 415 ] = true, [ 416 ] = true, [ 418 ] = true, [ 419 ] = true, [ 420 ] = true, [ 421 ] = true, [ 422 ] = true, [ 423 ] = true, [ 426 ] = true, [ 428 ] = true, [ 429 ] = true, [ 431 ] = true, [ 434 ] = true, [ 436 ] = true, [ 437 ] = true, [ 438 ] = true, [ 439 ] = true, [ 440 ] = true, [ 442 ] = true, [ 445 ] = true, [ 446 ] = true, [ 451 ] = true, [ 458 ] = true, [ 459 ] = true, [ 466 ] = true, [ 467 ] = true, [ 470 ] = true, [ 474 ] = true, [ 475 ] = true, [ 477 ] = true, [ 479 ] = true, [ 480 ] = true, [ 482 ] = true, [ 483 ] = true, [ 489 ] = true, [ 490 ] = true, [ 491 ] = true, [ 492 ] = true, [ 494 ] = true, [ 495 ] = true, [ 496 ] = true, [ 498 ] = true, [ 499 ] = true, [ 500 ] = true, [ 502 ] = true, [ 503 ] = true, [ 504 ] = true, [ 505 ] = true, [ 506 ] = true, [ 507 ] = true, [ 508 ] = true, [ 516 ] = true, [ 517 ] = true, [ 518 ] = true, [ 525 ] = true, [ 526 ] = true, [ 527 ] = true, [ 528 ] = true, [ 529 ] = true, [ 533 ] = true, [ 534 ] = true, [ 535 ] = true, [ 536 ] = true, [ 540 ] = true, [ 541 ] = true, [ 542 ] = true, [ 543 ] = true, [ 545 ] = true, [ 546 ] = true, [ 547 ] = true, [ 549 ] = true, [ 550 ] = true, [ 551 ] = true, [ 552 ] = true, [ 554 ] = true, [ 555 ] = true, [ 558 ] = true, [ 559 ] = true, [ 560 ] = true, [ 561 ] = true, [ 562 ] = true, [ 565 ] = true, [ 566 ] = true, [ 567 ] = true, [ 568 ] = true, [ 575 ] = true, [ 576 ] = true, [ 579 ] = true, [ 580 ] = true, [ 582 ] = true, [ 585 ] = true, [ 587 ] = true, [ 588 ] = true, [ 589 ] = true, [ 596 ] = true, [ 597 ] = true, [ 598 ] = true, [ 599 ] = true, [ 600 ] = true, [ 602 ] = true, [ 603 ] = true, [ 604 ] = true, [ 605 ] = true, [ 609 ] = true } function neons (theVehicle) local NeonType = getElementData(source, "neon") if not NeonType or ( NeonType == 0 ) then return end local x, y, z = getElementPosition ( theVehicle ) if not x or not y or not z then return end local id = getElementModel ( theVehicle ) if ( vehicles [ id ] ) then local neon = createObject ( NeonType, x, y, z ) local neon1 = createObject ( NeonType, x, y, z ) local neon2 = createObject ( NeonType, x, y, z ) local neon3 = createObject ( NeonType, x, y, z ) if ( id == 401 ) then destroyElement(neon2) destroyElement(neon3) attachElements ( neon1, theVehicle or source, 0.9, 0, -0.55 ) attachElements ( neon, theVehicle or source, -0.9, 0, -0.55 ) elseif ( id == 411 ) then attachElements ( neon3, theVehicle or source, 0, 1.25, -0.63, 0, 0, 90 ) attachElements ( neon2, theVehicle or source, 0, -1.25, -0.63, 0, 0, 90 ) attachElements ( neon1, theVehicle or source, 0.95, 0, -0.63 ) attachElements ( neon, theVehicle or source, -0.95, 0, -0.63 ) elseif ( id == 416 ) then attachElements ( neon3, theVehicle or source, 0, 1.55, -0.67, 0, 0, 90 ) attachElements ( neon2, theVehicle or source, 0, -1.55, -0.73, 0, 0, 90 ) attachElements ( neon1, theVehicle or source, 0.9, 0, -0.7 ) attachElements ( neon, theVehicle or source, -0.9, 0, -0.7 ) elseif ( id == 422 ) then destroyElement(neon2) destroyElement(neon3) attachElements ( neon1, theVehicle or source, 0.85, 0, -0.66 ) attachElements ( neon, theVehicle or source, -0.85, 0, -0.66 ) elseif ( id == 429 ) then destroyElement(neon2) destroyElement(neon3) attachElements ( neon1, theVehicle or source, 0.9, 0, -0.51 ) attachElements ( neon, theVehicle or source, -0.9, 0, -0.51 ) elseif ( id == 445 ) then attachElements ( neon3, theVehicle or source, 0, 1.1, -0.55, 0, 0, 90 ) attachElements ( neon2, theVehicle or source, 0, -1.15, -0.55, 0, 0, 90 ) attachElements ( neon1, theVehicle or source, 0.95, 0, -0.55 ) attachElements ( neon, theVehicle or source, -0.95, 0, -0.55 ) elseif ( id == 459 ) then destroyElement(neon2) destroyElement(neon3) attachElements ( neon1, theVehicle or source, 0.8, 0, -0.78 ) attachElements ( neon, theVehicle or source, -0.8, 0, -0.78 ) elseif ( id == 498 ) or ( id == 609 ) then attachElements ( neon3, theVehicle or source, 0, 1.65, -0.7, 0, 0, 90 ) attachElements ( neon2, theVehicle or source, 0, -1.2, -0.7, 0, 0, 90 ) attachElements ( neon1, theVehicle or source, 1.1, 0, -0.7 ) attachElements ( neon, theVehicle or source, -1.1, 0, -0.7 ) elseif ( id == 499 ) or ( id == 498 ) then destroyElement(neon2) destroyElement(neon3) attachElements ( neon1, theVehicle or source, 0.8, 0, -0.6 ) attachElements ( neon, theVehicle or source, -0.8, 0, -0.6 ) elseif ( id == 504 ) then attachElements ( neon3, theVehicle or source, 0, 1.1, -0.55, 0, 0, 90 ) attachElements ( neon2, theVehicle or source, 0, -1.15, -0.55, 0, 0, 90 ) attachElements ( neon1, theVehicle or source, 0.95, 0, -0.55) attachElements ( neon, theVehicle or source, -0.95, 0, -0.55 ) elseif ( id == 575 ) then attachElements ( neon3, theVehicle or source, 0, 1.3, -0.38, 0, 0, 90 ) attachElements ( neon2, theVehicle or source, 0, -1.25, -0.38, 0, 0, 90 ) attachElements ( neon1, theVehicle or source, 0.9, 0, -0.38) attachElements ( neon, theVehicle or source, -0.9, 0, -0.38 ) elseif ( id == 535 ) or ( id == 536 ) then attachElements ( neon3, theVehicle or source, 0, 1.1, -0.6, 0, 0, 90 ) attachElements ( neon2, theVehicle or source, 0, -1.15, -0.6, 0, 0, 90 ) attachElements ( neon1, theVehicle or source, 0.95, 0, -0.6 ) attachElements ( neon, theVehicle or source, -0.95, 0, -0.6 ) elseif ( id == 496 ) then destroyElement(neon2) destroyElement(neon3) attachElements ( neon1, theVehicle or source, 0.85, 0, -0.5 ) attachElements ( neon, theVehicle or source, -0.85, 0, -0.5 ) elseif ( id == 568 ) then destroyElement(neon1) destroyElement(neon2) destroyElement(neon3) attachElements ( neon, theVehicle or source, 0, 0.45, -0.42 ) elseif ( id == 602 ) then attachElements ( neon3, theVehicle or source, 0, 1.05, -0.6, 0, 0, 90 ) attachElements ( neon2, theVehicle or source, 0, -1.05, -0.6, 0, 0, 90 ) attachElements ( neon1, theVehicle or source, 0.95, 0, -0.6 ) attachElements ( neon, theVehicle or source, -0.95, 0, -0.6 ) elseif ( id == 518 ) then attachElements ( neon3, theVehicle or source, 0, 1.3, -0.5, 0, 0, 90 ) attachElements ( neon2, theVehicle or source, 0, -1.05, -0.5, 0, 0, 90 ) attachElements ( neon1, theVehicle or source, 0.95, 0.15, -0.5 ) attachElements ( neon, theVehicle or source, -0.95, 0.15, -0.5 ) elseif ( id == 402 ) then destroyElement(neon2) destroyElement(neon3) attachElements ( neon1, theVehicle or source, 1, 0, -0.63 ) attachElements ( neon, theVehicle or source, -1, 0, -0.63 ) elseif ( id == 541 ) then destroyElement(neon2) destroyElement(neon3) attachElements ( neon1, theVehicle or source, 0.9, 0, -0.45 ) attachElements ( neon, theVehicle or source, -0.9, 0, -0.45 ) elseif ( id == 482 ) then attachElements ( neon3, theVehicle or source, 0, 1.25, -0.82, 0, 0, 90 ) attachElements ( neon2, theVehicle or source, 0, -1.25, -0.82, 0, 0, 90 ) attachElements ( neon1, theVehicle or source, 0.95, 0.05, -0.82 ) attachElements ( neon, theVehicle or source, -0.95, 0.05, -0.82 ) elseif ( id == 438 ) then attachElements ( neon3, theVehicle or source, 0, 1.25, -0.72, 0, 0, 90 ) attachElements ( neon2, theVehicle or source, 0, -1.3, -0.72, 0, 0, 90 ) attachElements ( neon1, theVehicle or source, 0.95, 0, -0.72 ) attachElements ( neon, theVehicle or source, -0.95, 0, -0.72 ) elseif ( id == 527 ) then destroyElement(neon2) destroyElement(neon3) attachElements ( neon1, theVehicle or source, 0.92, 0.15, -0.47 ) attachElements ( neon, theVehicle or source, -0.92, 0.15, -0.47 ) elseif ( id == 483 ) then attachElements ( neon3, theVehicle or source, 0.85, -0.48, -0.80 ) attachElements ( neon2, theVehicle or source, -0.85, -0.48, -0.80 ) attachElements ( neon1, theVehicle or source, 0.85, 0.3, -0.80 ) attachElements ( neon, theVehicle or source, -0.85, 0.3, -0.80 ) elseif ( id == 431 ) or ( id == 437 ) then attachElements ( neon3, theVehicle or source, 1.3, -0.7, -0.77 ) attachElements ( neon2, theVehicle or source, -1.3, -0.7, -0.77 ) attachElements ( neon1, theVehicle or source, 1.3, 1.8, -0.77 ) attachElements ( neon, theVehicle or source, -1.3, 1.8, -0.77 ) elseif ( id == 415 ) or ( id == 542 ) or ( id == 466 ) or ( id == 604 ) then
  16. function onPlayerQuit() local vehicle = getPedOccupiedVehicle(source) if vehicle then detachNeon(vehicle) -- line 1013 ?? end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit )
  17. paste part of code [Exclusivo]\[Mod]AbrirPortas\sourceS.lua:1013: attempt to call global 'detachNeon' (a nil value)
  18. o que vc quer fazer com o painel "dashboard" ??? se você não sabe as shader não existe.. https://community.multitheftauto.com/ind ... s&id=12813
×
×
  • Create New...