Jump to content

drk

Members
  • Posts

    1,607
  • Joined

  • Last visited

Everything posted by drk

  1. If you want a good scripter NeverSay, don't choose jeremaniak.
  2. That's not a orders room. We will not script for you. The way is learning: http://www.lua.org
  3. drk

    MTA SA GFX preview

    Yeah, the biggest problem of the computer is the processor, too slow I tried to run GTA IV in this shit, it runs at 12 FPS with 10 shaders, commandline and some other things, with parts of city missing, hard to play and gta 3 graphics
  4. drk

    MTA SA GFX preview

    Fuu!! Intel Atom - Single Core Intel GMA 950 256MB -- With Modded Driver 1GB of RAM 250GB HD It runs Windows 8 smoothly But in games, sucks... I hate it.. I need buy a new one, but I don't have money
  5. drk

    MTA SA GFX preview

    But mine sucks too much ( 15 ~ 25 FPS on GTA SA with low textures packs, draw distance 0, 800 x 600 resolution, maximum of memory usage in MTA, fx quality low ).
  6. Yes, is this - Is what todd said.
  7. local NAMETAG_DISTANCE = 25 --Distance until we're gone
  8. drk

    calculating gui.

    You can do this way too: ( 956 / 1680 ) * sWidth, ( 692 / 1050 ) * sHeight, ( 1213 / 1680 ) * sWidth, ( 868 / 1050 ) * sHeight It ever works for me.
  9. drk

    Vehicle System

    If you think that your code work properly, tell me what is variable "theVehicle".
  10. drk

    Vehicle System

    the label has been updated for me, when I enter and leave the vehicle Don't start saying that your code works for you. It's a total mess.
  11. drk

    what is wrong?

    Here works perfectly.
  12. And why the hell you need for-loop? bar = guiCreateProgressBar ( 50, 50, 100, 70, false ) setTimer ( function ( ) guiProgressBarSetProgress ( bar, 20 ) outputChatBox ( 'Progress Bar = ' .. guiProgressBarGetProgress ( bar ) ) end, 1000, 1 )
  13. drk

    what is wrong?

    Then it's a MTA:SA bug Is your script client-side? It worked perfectly here.
  14. You don't need use for-loop. Anyway, explain what you want to do.
  15. drk

    what is wrong?

    You tested? It seems to work, it ever worked for me this way
  16. Will never work because X-SHADOW only COPY code and paste and think will work. See: https://wiki.multitheftauto.com/wiki/OnMarkerHit There is nothing about cancel onMarkerHit cancel event affection. Try this: Server-side: for _, marker in ipairs ( getElementsByType 'marker' ) do addEventHandler ( 'onMarkerHit', marker, cancelEnter ) end function cancelEnter ( player ) if ( getElementType ( player ) == 'vehicle' or isPedInVehicle ( player ) ) then return end end
  17. drk

    what is wrong?

    painel_policial = guiCreateWindow ( 230, 200, 250, 200, 'Information', false ) guiWindowSetMovable ( painel_policial, false ) guiWindowSetSizable ( painel_policial, false ) guiCreateButton ( 0.4, 0.85, 0.20, 0.15, 'OK', true, painel_policial ) bindKey ( 'f5', 'down', function ( ) guiSetVisible ( painel_policial, not guiGetVisible ( painel_policial ) ) showCursor ( not isCursorShowing ( ) ) end )
  18. CTimer = { } bar = guiCreateProgressBar ( 50, 50, 100, 70, false ) CTimer [ localPlayer ] = setTimer ( function ( ) guiProgressBarSetProgress ( bar, guiProgressBarGetProgress ( bar ) + 20 ) if ( guiProgressBarGetProgress ( bar ) == 100 ) then killTimer ( CTimer [ localPlayer ] ) end end, 1000, 0 )
  19. drk

    Vehicle System

    You haven't put nothing about purchase cars. How you think we can do this?
  20. drk

    Vehicle System

    function createGUI ( ) theWindow = guiCreateWindow(300,200,250,200,"Sistema de Veiculos",false) guiWindowSetSizable(theWindow,false) guiSetVisible (theWindow, false) guiCreateButton(0.650,0.100,0.3,0.2,"Trancar / Destrancar",true,theWindow) guiCreateButton(0.650,0.330,0.3,0.2,"Blip",true,theWindow) destroyBut = guiCreateButton(0.650,0.560,0.3,0.2,"Visivel / Invisivel",true,theWindow) guiCreateButton(0.005,0.560,0.3,0.2,"Vender",true,theWindow) guiCreateButton(0.345,0.560,0.3,0.2,"Seila",true,theWindow) guiCreateLabel(0.080, 0.780, 0.6, 0.2, "Tabela feita por Ninguem", true, theWindow) if ( getPedOccupiedVehicle ( localPlayer ) ) then spawnBut = guiCreateButton(0.005, 0.100, 0.6, 0.130, "Veiculo: "..getVehicleName(getPedOccupiedVehicle(localPlayer)).."", true, theWindow) else spawnBut = guiCreateButton(0.005, 0.100, 0.6, 0.130, "Veiculo: Nenhum", true, theWindow) end end function refreshLabel() setTimer(createGUI, 50, 1) end addEventHandler("onClientVehicleEnter", root, refreshLabel) addEventHandler("onClientVehicleExit", root, refreshLabel) addEventHandler("onClientResourceStart", root, refreshLabel) bindKey ( 'f3', 'down', function ( ) guiSetVisible ( theWindow, not guiGetVisible ( theWindow ) ) showCursor ( not isCursorShowing ( ) ) end ) function guiClick ( ) if ( source == spawnBut ) then triggerServerEvent ("carSpawn", localPlayer) elseif ( source == destroyBut ) then triggerServerEvent ("carDestroy", localPlayer) end end addEventHandler ("onClientGUIClick", root, guiClick)
  21. drk

    MTA SA GFX preview

    Awesome job! Also, give me your computer pleaseee
  22. drk

    Vehicle System

    We will not create the script to you.
  23. drk

    Vehicle color

    I said because i've not seen the part of team color..
×
×
  • Create New...