-
Posts
1,708 -
Joined
-
Last visited
Everything posted by iFoReX
-
Solid no entiendo como se usa ese evento
-
con un render pero nose que mas
-
Ok thank you, , now, how do a script for it : Example : guiSetText(label, "the Manhunt Finished in X Seconds" ) how ? X seconds
-
in a servers I looked a buttons for paste the serial , a function for do it ?
-
Solid I dont undestand anything of it function :c
-
GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Progress = {} GUIEditor_Image = {} GUICar = guiCreateWindow(0.6553,0.6224,0.3477,0.3802,"GUI Sistema de Autos",true) guiWindowSetMovable(GUICar,false) guiWindowSetSizable(GUICar,false) GUIEditor_Label[1] = guiCreateLabel(18,161,130,39,"Velocidad",false,GUICar) GUIEditor_Progress[1] = guiCreateProgressBar(19,194,328,50,false,GUICar) GUIEditor_Label[2] = guiCreateLabel(158,251,52,14,"0 Kms/H",false,GUICar) guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Button[1] = guiCreateButton(9,35,106,40,"Bloquear",false,GUICar) GUIEditor_Label[3] = guiCreateLabel(12,82,102,32,"Vencina/Petroleo",false,GUICar) GUIEditor_Progress[2] = guiCreateProgressBar(14,102,333,54,false,GUICar) showCursor ( false ) guiSetVisible ( GUICar, false ) addEventHandler ( "onClientVehicleEnter", getRootElement(), function ( thePlayer, seat ) if ( thePlayer == localPlayer ) then guiSetVisible ( GUICar, true ) end end ) bindKey ( "M", "down", function ( ) if isPedInVehicle ( localPlayer ) then showCursor ( not isCursorShowing ( ) ) end end ) addEventHandler("onClientVehicleExit", getRootElement(), function(thePlayer, seat) if thePlayer == getLocalPlayer() then guiSetVisible(GUICar,false) showCursor(false) end end ) function getElementSpeed(thePlayer) local car = getPedOccupiedVehicle(thePlayer,"kph") local km = getElementSpeed(car) guiSetText( GUIEditor_Label[2], km ) end ?
-
Doesnt work I dont undestand how work it function u.u please help me GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Progress = {} GUIEditor_Image = {} GUICar = guiCreateWindow(0.6553,0.6224,0.3477,0.3802,"GUI Sistema de Autos",true) guiWindowSetMovable(GUICar,false) guiWindowSetSizable(GUICar,false) GUIEditor_Label[1] = guiCreateLabel(18,161,130,39,"Velocidad",false,GUICar) GUIEditor_Progress[1] = guiCreateProgressBar(19,194,328,50,false,GUICar) GUIEditor_Label[2] = guiCreateLabel(158,251,52,14,"0 Kms/H",false,GUICar) guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Button[1] = guiCreateButton(9,35,106,40,"Bloquear",false,GUICar) GUIEditor_Label[3] = guiCreateLabel(12,82,102,32,"Vencina/Petroleo",false,GUICar) GUIEditor_Progress[2] = guiCreateProgressBar(14,102,333,54,false,GUICar) showCursor ( false ) guiSetVisible ( GUICar, false ) addEventHandler ( "onClientVehicleEnter", getRootElement(), function ( thePlayer, seat ) if ( thePlayer == localPlayer ) then guiSetVisible ( GUICar, true ) end end ) bindKey ( "M", "down", function ( ) if isPedInVehicle ( localPlayer ) then showCursor ( not isCursorShowing ( ) ) end end ) addEventHandler("onClientVehicleExit", getRootElement(), function(thePlayer, seat) if thePlayer == getLocalPlayer() then guiSetVisible(GUICar,false) showCursor(false) end end ) function getElementSpeed(thePlayer) local x,y,z = getElementVelocity(thePlayer) guiProgressBarSetProgress( GUIEditor_Progress[1], x,y,z ) end
-
functions for do a speedometer with a progress bar ?
-
I want if the Player Press M put the showCursor true/false here the code GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Progress = {} GUIEditor_Image = {} GUICar = guiCreateWindow(0.6553,0.6224,0.3477,0.3802,"GUI Sistema de Autos",true) guiWindowSetMovable(GUICar,false) guiWindowSetSizable(GUICar,false) GUIEditor_Label[1] = guiCreateLabel(18,161,130,39,"Velocidad",false,GUICar) GUIEditor_Progress[1] = guiCreateProgressBar(19,194,328,50,false,GUICar) GUIEditor_Label[2] = guiCreateLabel(158,251,52,14,"0 Kms/H",false,GUICar) guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Button[1] = guiCreateButton(9,35,106,40,"Bloquear",false,GUICar) GUIEditor_Label[3] = guiCreateLabel(12,82,102,32,"Vencina/Petroleo",false,GUICar) GUIEditor_Progress[2] = guiCreateProgressBar(14,102,333,54,false,GUICar) showCursor(false) guiSetVisible(GUICar,false) addEventHandler("onClientVehicleEnter", getRootElement(), function(thePlayer, seat) if thePlayer == getLocalPlayer() then guiSetVisible(GUICar,true) end end ) bindKey("M","down", function () if isPedInVehicle( localPlayer ) then showCursor(true) else showCursor(false) end end )
-
I done it for my server addEventHandler("onClientPlayerDamage", getLocalPlayer(), function() cancelEvent() end )
-
Muuuchas gracias solid es que era mi primera vez haciendo un script de scoreboard
-
Quiero que la IP se ponga en el tab , no funciona alexs
-
Que esta mal ? exports [ "scoremota" ]:scoreboardAddColumn ( "ip" ) function IP() local account = getPlayerAccount(source) if isGuestAccount(account) then return end local ip = getAccountData(account,"ip") if not ip then setAccountData(account,"ip",Cargando) end setAccountData(account,"ip",tonumber(getPlayerIP(source))) end addEventHandler("onPlayerLogin",root, function () local account = getPlayerAccount(source) if isGuestAccount(account) then return end local ip = getAccountData(account,"ip") if ip then setElementData(source,"ip",tostring(getPlayerIP(source))) else setElementData(source,"ip",Cargando) end end) no me aparece nada en la columna
-
ok eso, y como se hacia eso para exportar la columna ?
-
Se Necesita Gente Para Crear Un CIT Proyect en Español
iFoReX replied to mercenario1995's topic in Scripting
Con esa actitud no conseguiras nada. -
? como la hago se q con esta funcion getPlayerIP pero con que mas ?
-
Blazy I think , if the vehicle is in client-side , cant Entry to the Vehicle sv-side addEvent("warpEvent", true) function warp () humvee = createVehicle ( 470, 208.60000610352, 1920.6999511719, 16.60000038147, 0, 0, 90 ) warpPedIntoVehicle( source, humvee ) end addEventHandler("warpEvent", getRootElement(), warp) cl-side function Patriot() if source == GUIEditor_Button[1] then guiSetVisible(GUIEditor_Window[1], false) showCursor(false) triggerServerEvent( "warpEvent", getLocalPlayer() ) end end addEventHandler("onClientGUIClick", root , Patriot) only I think
-
try this function playrules() outputChatBox("#FFFB0ENo cheat No spam No disrespect ", source,255,255,255,true) end addCommandHandler("rules", playrules)
-
ahora me hice uno con virtual dj lo coloco en el script y no me da error , pero no suena function onResourceStart() local sound = playSound("http://186.10.224.98:8000/VirtualDJ.ogg") end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart)
-
what is bad ? , I want first the Object move Z, and after it move Y , I dont know if undestand model = 3095 elevador1E = createObject(model, 140.3994140625, 1930.7998046875, 17.799999237061) elevador2E = createObject(model, 137.7998046875, 1930.69921875, 17.799999237061) elevador3E = createObject(model, 128.7998046875, 1930.69921875, 17.799999237061) marker1 = createMarker(133.97859191895, 1916.5592041016, 18, "cylinder", 4, 255, 255, 255, 30) elevador6 = createObject(model, 129.19921875, 1917.5, 17.60000038147) elevador5 = createObject(model, 137, 1917.5, 17.60000038147) elevador4 = createObject(model, 140.69921875, 1917.3994140625, 17.60000038147) function mover(hitPlayer) if ( hitPlayer == localPlayer ) then moverO1 = moveObject(elevador6, 5000, 129.19921875, 1917.5, 25) moverO2 = moveObject(elevador5, 5000, 137, 1917.5, 25) moverO3 = moveObject(elevador4, 5000, 140.69921875, 1917.3994140625, 25) if moverO1 and moverO2 and moverO3 then moveObject(elevador6, 5000, 129.19921875, 1930.7998046875, 25) moveObject(elevador5, 5000, 137, 1930.7998046875, 25) moveObject(elevador4, 5000, 140.69921875, 1930.7998046875, 25) end end end addEventHandler("onClientMarkerHit", marker1, mover) what is bad ?
-
problema en el deubugscript 3 ?
-
see it https://community.multitheftauto.com/index.php?p=resources&s=comments&id=4794 if you dont speak spanish, go to the translate and see what said he
-
te faltan Parecentisis y orden tambien en los Parentesis
-
es que estaba poniendo musica ve ahora funciona a la perfeccion http://radioservermta.listen2myradio.com/
-
es que quiero que de esa URL se escuche la musica pero en los botones no dice copiar direccion de enlace