-
Posts
1,410 -
Joined
-
Last visited
Everything posted by Arsilex
-
usa si quieres que cargue el color que pusite en settings get
-
si es un servidor lan tienes que abrir los puertos de tu router.
-
si reinicia el servidor el elemnt data tambien se borra
-
metelo tambien donde esta el acl
-
probaste : cBlack = tocolor( 250, 0, 0 ) cWhite = tocolor( 150, 150, 255 ) cSettingsBox = tocolor( 255, 255, 255, 150 )
-
puedes usar las funciones de file para ir abriendo los archivos y usarlos (tienes que hacer todo el sistema de resources de 0)
-
es que el downloader de mta no es un resource esta dentro de mta osea no lo puedes ver pero usa esas funciones o eso creo...
-
Si piensas hacer un nuevo donwload system entonces usaras funciones files asi que la funciona mas normal seria.. fileGetSize
-
not work but i test this function in other server and work why is ?
-
Hello i have one problem and i dont know why it... i have this script.. db = "mydb" host = "localhost" puerto = "3306" user = "myuser" pass = "*********" connect = dbConnect( "mysql", "dbname="..db..";host="..host..";port="..puerto, user, pass ) * is oculted text this is me mysql but when i start script have this error: dbConnect failed, Could not connect i alredy test whit other mysql and not work why it ?
-
intentaste hacer top con otro PC? ya que ese top times va por serial me parece
-
por lo que dice la pagina de gtav el gta salio en francia para PC ya http://www.gta5tv.com/GTA-v-PC/
-
local screenStartX = guiGetScreenSize() local SPECWIDTH = screenStartX local screenStartX = screenStartX * 0 local SPECHEIGHT = (SPECWIDTH / 16) * 7 -- height (changing requires palette adjustments too) local screenStartY = SPECHEIGHT / 2 local x, y = guiGetScreenSize() function calc ( ) dxSetRenderTarget( tar, true ) if act == true then dxDrawText("Tienes que activar tu cuenta" , screenStartX, screenStartY, screenStartX, screenStartY, tocolor(255, 0, 0, 255 ), 7, "default-bold") elseif banned == false then dxDrawText("Bienvenido a Fort Carson RP" , screenStartX+(50/1366)*x, screenStartY-(250/768)*y, (screenStartX/1366)*x, (screenStartY/768)*y, tocolor(255, 255, 255, 255 ), 7, "default-bold") dxDrawText("Nombre de usuario" , screenStartX+(75/1366)*x, screenStartY-(100/768)*y, (screenStartX/1366)*x, (screenStartY/768)*y, tocolor(255, 255, 255, 255 ), 4, "default-bold") dxDrawText("Contraseña" , (screenStartX/1366)*x+(800/1366)*x, (screenStartY/1366)*x-(100/768)*y, (screenStartX/1366)*x, (screenStartY/768)*y, tocolor(255, 255, 255, 255 ), 4, "default-bold") dxDrawImage ( (50/1366)*x, (275/768)*y, (SPECWIDTH/1366)*x-(850/1366)*x, (SPECHEIGHT/768)*y-(500/768)*y, "Login2.png", 0, 0,0, tocolor(255,255, 255, 255) ) dxDrawText(guiGetText ( User ) , screenStartX+(200/1366)*x, (screenStartY/768)*y, (screenStartX/1366)*x, (screenStartY/768)*y, tocolor(0, 0, 0, 255 ), 4, "default-bold") dxDrawImage ( (700/1366)*x, (275/768)*y, SPECWIDTH-(850/1366)*x, SPECHEIGHT-(500/768)*y, "Login2.png", 0, 0,0, tocolor(255,255, 255, 255) ) dxDrawText(guiGetText ( Uasd ) , screenStartX+(850/1366)*x, (screenStartY/768)*y, (screenStartX/1366)*x, (screenStartY/768)*y, tocolor(0, 0, 0, 255 ), 4, "default-bold") dxDrawImage ( (650/1366)*x, (400/768)*y, SPECWIDTH-(850/1366)*x, SPECHEIGHT-(500/768)*y, "button.png", 0, 0,0, tocolor(255,255, 255, 255) ) dxDrawImage ( (100/1366)*x, (400/768)*y, SPECWIDTH-(850/1366)*x, SPECHEIGHT-(500/768)*y, "button.png", 0, 0,0, tocolor(255,255, 255, 255) ) dxDrawText("Login" , screenStartX+(250/1366)*x, screenStartY+(120/768)*y, (screenStartX/1366)*x, (screenStartY/768)*y, tocolor(255, 255, 255, 255 ), 4, "default-bold") dxDrawText("Register" , screenStartX+(800/1366)*x, screenStartY+(120/768)*y, (screenStartX/1366)*x, (screenStartY/768)*y, tocolor(255, 255, 255, 255 ), 4, "default-bold") dxDrawText(guiGetText ( asd ) , screenStartX+(150/1366)*x, screenStartY+(200/768)*y, (screenStartX/1366)*x, (screenStartY/768)*y, tocolor(255, 255, 255, 255 ), 4, "default-bold") elseif banned == true then dxDrawText("Estas banneado!!!" , screenStartX+(250/1366)*x, screenStartY-(50/768)*y, (screenStartX/1366)*x, (screenStartY/768)*y, tocolor(255, 0, 0, 255 ), 7, "default-bold") end dxSetRenderTarget() dxSetShaderValue ( shader_cinema, "gTexture", tar ) end
-
Mi pregunta es como es posible ajustar el visualiser para todas las pantallas ._. con eso quiero decir que yo eh editar el visualiser para que sea un Login Panel y en mi resolucion de pantalla se ve bien pero en otras se ve mal alguna idea ._.? aqui dejo las imagenes de las dos pantallas esto es mi resolucion -- 1366x768 -- y esto es la resolucon -- 1024x768 --
-
si gracias ya lo arregle era otra cosa jeje
-
Bueno mi pregunta es soy yo el que tiene algo mal o es que ese evento esta bug y no funciona... addEventHandler( "onClientMouseEnter", getRootElement(), function(aX, aY) outputChatBox( "Pos ("..tostring(aX)..", "..tostring(aY)..")") end ) es el mismo ejemplo que el de la wiki pero no me funciona...
-
function sp(player) local vehicle = getPedOccupiedVehicle ( player) setElementVelocity ( vehicle , 0 , 50 , 0) end function bind() bindKey (source, "mouse1" , "down" , sp) end addEventHandler ("onPlayerVehicleEnter",getRootElement(),bind
-
In debug no errors. resource start
-
Hello i have this code.. pShader = dxCreateShader( 'clothestex.fx' ) if( pShader ) then local pTexture = dxCreateTexture( 'bandgang3.png' ) if( pTexture ) then dxSetShaderValue( pShader, 'gTexture', pTexture ) outputDebugString("yes") engineApplyShaderToWorldTexture( pShader, 'cj_ped_glasses' ) end end // Variable to fetch the texture from the script texture gTexture; // My nice technique. Requires absolutely no tools, worries nor skills technique TexReplace { pass P0 { // Set the texture Texture[0] = gTexture; // LET THE MAGIC DO ITS MAGIC! } } but not remplace the clothe... I have something wrong?
-
tiene que ser con shaders pero llevo como 2 horas intentando con shaders y no se cambia... PD: aver si alguien sabe cual es el error... pShader = dxCreateShader( 'clothestex.fx' ) if( pShader ) then local pTexture = dxCreateTexture( 'bandgang3.png' ) if( pTexture ) then dxSetShaderValue( pShader, 'gTexture', pTexture ) engineApplyShaderToWorldTexture( pShader, 'cj_ped_glasses' ) end end // Variable to fetch the texture from the script texture gTexture; // My nice technique. Requires absolutely no tools, worries nor skills technique TexReplace { pass P0 { // Set the texture Texture[0] = gTexture; // LET THE MAGIC DO ITS MAGIC! } }
-
como lo podría hacer con shaders?
-
Existe alguna manera mas aparte de usar un shader para poner ropa personalizada?
-
jeje lo siento es que pensé que esa función solo servia para borrar la linea no creía que también la organizaba