-
Posts
210 -
Joined
-
Last visited
Everything posted by Brad96
-
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)
-
amazon.comfgjte of the two timers in race_client .. eh I tried but does not change .. as change?
-
si pero en el server side no
-
function greetingHandler ( message , r ,g ,b) outputChatBox ( "Server : " .. message , r ,g ,b) end addEvent( "onGreeting", true ) addEventHandler( "onGreeting", getRootElement(), greetingHandler
-
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 )
-
listo la cosa es agregar el coloded enable .. osea el ultimo argumento opcional de outputChatBox da esa opcion ..
-
aah ye ye , i see sorry , tanks
-
but this is just the color of the text r,g,b , I say the color of the tag Player
-
Give me access to the wiki pls and thanks
-
how to make the chat show the color of my nick .. and all player
-
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
-
nada , osea si muestra color , pero no el color del player
-
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
-
solo marca el texto en azul ..
-
yaku no es eso .. el punto es que muestre el color del nick de cada jugador que lo haga
-
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 )
-
el client esta aparte .. esta es la parte que me interesa .. si lo necesitan diganme
-
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
-
gracias yaku se me pasa por alto , pero podrias explicarme que usa onPlayerSpawn ?
-
entonces como lo defino ?
