drk
Members-
Posts
1,607 -
Joined
-
Last visited
Everything posted by drk
-
If you want a good scripter NeverSay, don't choose jeremaniak.
-
That's not a orders room. We will not script for you. The way is learning: http://www.lua.org
-
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
-
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
-
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 ).
-
Yes, is this - Is what todd said.
-
local NAMETAG_DISTANCE = 25 --Distance until we're gone
-
You can do this way too: ( 956 / 1680 ) * sWidth, ( 692 / 1050 ) * sHeight, ( 1213 / 1680 ) * sWidth, ( 868 / 1050 ) * sHeight It ever works for me.
-
If you think that your code work properly, tell me what is variable "theVehicle".
-
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.
-
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 )
-
Then it's a MTA:SA bug Is your script client-side? It worked perfectly here.
-
You don't need use for-loop. Anyway, explain what you want to do.
-
You tested? It seems to work, it ever worked for me this way
-
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
-
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 )
-
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 )
-
You haven't put nothing about purchase cars. How you think we can do this?
-
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)
-
Awesome job! Also, give me your computer pleaseee
-
We will not create the script to you.
-
I said because i've not seen the part of team color..
-
Yes, basically is what Benxamix2 said
