Jump to content

Brad96

Members
  • Posts

    210
  • Joined

  • Last visited

Everything posted by Brad96

  1. checkpoint = dxText:create('0/0', screenWidth - 15, screenHeight - 54, false, 'bankgothic', 0.8, 'right'), timepassed = dxText:create('0:00:00', screenWidth - 10, screenHeight - 25, false, 'myFont', 0.7, 'right'), mapdisplay = dxText:create('Map: none', 2, screenHeight - dxGetFontHeight(0.7, 'bankgothic')/2, false, 'bankgothic', 0.7, 'left') } g_dxGUI.ranknum:type('stroke', 2, 0, 0, 0, 255) g_dxGUI.ranksuffix:type('stroke', 2, 0, 0, 0, 255) g_dxGUI.checkpoint:type('stroke', 1, 0, 0, 0, 255) g_dxGUI.timepassed:type('stroke', 1, 0, 0, 0, 255) g_GUI = { timeleftbg = guiCreateStaticImage(screenWidth/2-108/2, 15, 108, 24, 'img/timeleft.png', false, nil), timeleft = guiCreateLabel(screenWidth/2-108/2, 19, 108, 30, '', false), healthbar = FancyProgress.create(250, 1000, 'img/progress_health_bg.png', -65, 60, 123, 30, 'img/progress_health.png', 8, 8, 108, 15), speedbar = FancyProgress.create(0, 1.5, 'img/progress_speed_bg.png', -65, 90, 123, 30, 'img/progress_speed.png', 8, 8, 108, 15), } guiSetFont(g_GUI.timeleft, 'bankghotic)
  2. amazon.comfgjte of the two timers in race_client .. eh I tried but does not change .. as change?
  3. si pero en el server side no
  4. thanks , i test this
  5. function greetingHandler ( message , r ,g ,b) outputChatBox ( "Server : " .. message , r ,g ,b) end addEvent( "onGreeting", true ) addEventHandler( "onGreeting", getRootElement(), greetingHandler
  6. not work function greetingCommand ( playerSource, commandName ) local r,g,b = getPlayerNametagColor (playerSource) triggerClientEvent ( "onGreeting", getRootElement(), "Hola " ..getPlayerName(playerSource),getRootElement,r,g,b,true) end addCommandHandler ("greet" , greetingCommand )
  7. listo la cosa es agregar el coloded enable .. osea el ultimo argumento opcional de outputChatBox da esa opcion ..
  8. aah ye ye , i see sorry , tanks
  9. but this is just the color of the text r,g,b , I say the color of the tag Player
  10. Give me access to the wiki pls and thanks
  11. how to make the chat show the color of my nick .. and all player
  12. how to make the chat show the color of my nick .. and all player outputChatBox ("getPlayerName(source):gsub("#%x%x%x%x%x%x","")) ?? thx
  13. nada , osea si muestra color , pero no el color del player
  14. ejemplo si mi nombre es #000000Brad y hay un #007AFFYakuza , a yakuza le salga de el color de su name , ose azul y a brad de color negro
  15. solo marca el texto en azul ..
  16. yaku no es eso .. el punto es que muestre el color del nick de cada jugador que lo haga
  17. I want a command to start shooting and another not shoot, and it kills me every time I have to click, and lines Explain to me please .. thanks: D function misil () vehicle = getPedOccupiedVehicle ( localPlayer ) x, y, z = getElementPosition ( vehicle ) Pro = createProjectile( localPlayer,19,x,y,z+2,200) end addEventHandler ( "onVehicleEnter", getRootElement(), misil) function bindMisil() bindKey ( "mouse1", "down", misil ) end addEventHandler ("onClientResourceStart" , getRootElement (), bindMisil )
  18. el client esta aparte .. esta es la parte que me interesa .. si lo necesitan diganme
  19. estoy probando lo de la wiki , trigerclient .. y ps quiero que me de el color de mi nombre ..como hago para que me de el color de mi name ? gracias function greetingCommand ( playerSource, commandName ) triggerClientEvent ( "onGreeting", getRootElement(), "Hola " ..getPlayerName(playerSource):gsub("#%x%x%x%x%x%x","") ) end
  20. gracias yaku se me pasa por alto , pero podrias explicarme que usa onPlayerSpawn ?
  21. entonces como lo defino ?
×
×
  • Create New...