Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Algun error en el debugscript? estas dentro del marker? tenes $500?
  2. Lo que cambio ahi es el skin de la interfaz, lo podes cambiar en las settings > interface, pero no para todos los jugadores.
  3. Check debugscript and look for errors.
  4. But he's saying that the window is showing up when he connects, which is rather impossible since that script hides it after created.
  5. The dxscoreboard uses a setting config, so players can individually set the scoreboard look, maybe that's the problem.
  6. local myMarker = createMarker ( 2579.3999023438, -1894, 3.9000000953674, 'cylinder', 4.0, 0, 0, 255, 150 ) function MarkerHit ( hitElement, matchingDimension ) if ( getElementType ( hitElement ) == 'player' ) then local teleElement = ( isPedInVehicle ( hitElement ) and getPedOccupiedVehicle ( hitElement ) or hitElement ) setElementPosition ( teleElement, 2574.1999511719, -1784.3000488281, 1.6000000238419 ) end end addEventHandler ( "onMarkerHit", myMarker, MarkerHit ) That's an easier way to do it.
  7. I really don't understand a word of what you said.
  8. Castillo

    Return Nil SQL

    That's because you forgot to add the row index, like this: statsTable [ 1 ] [ "kills" ] statsTable [ 1 ] [ "dies" ]
  9. I'm not sure if I understand what do you want, but still, without the script, we can't help you.
  10. Isn't the code from each function the same? if so, then you can just use one function, that would be a lot more efficient.
  11. Castillo

    Text labels

    Do you get errors on the debugscript?
  12. Castillo

    Help Server :(

    Try removing the IP you put on MTAserver.conf.
  13. r1, g1, b1, r2, g2, b2 = getVehicleColor(vehicle) Solo devuelve R, G, B si pones 'true' en el segundo argumento, asi: r1, g1, b1, r2, g2, b2 = getVehicleColor ( vehicle, true )
  14. function state ( thePlayer ) local vehicle = getPedOccupiedVehicle ( thePlayer ) if ( vehicle ) then setVehicleDoorState ( vehicle, 0, 4 ) end end addCommandHandler ( "capo", state ) Con ese deberia funcionar, es server side el script.
  15. Postea lo que intentaste.
  16. No, te falta un 'end' para cerrar el otro 'if'.
  17. Antes de createMarker pero despues del 'if'.
  18. if ( getElementModel ( source ) == 574 ) then
  19. createMarker ( -2350.89, 2469.5, 5, "checkpoint", 2.5, 255, 255, 0, 255 )
  20. On this file if I'm right: "dxscoreboard/dxscoreboard_clientsettings.lua".
  21. You must have something else messing around with it, is it the only script on that resource?
  22. Esa era otra manera, pero para hacerlo mas simple se usa una tabla.
×
×
  • Create New...