Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    Small help

    Yeah, when I put the lua tags I left it outside, then I though I had written it by mistake and removed it, added.
  2. What is the exact problem? because you aren't saying.
  3. Castillo

    Question

    Race uses setCameraTarget with vehicle's driver.
  4. Well, then you better try to do it.
  5. Castillo

    Question

    You'll need to make your own function, which will require maths if I'm right, to get the right position for the camera.
  6. Castillo

    Question

    For what do you need the camera to follow a vehicle?
  7. There's an event triggered when you do a toptime: Name: "onPlayerToptimeImprovement" Arguments: player, newPos, newTime, oldPos
  8. Castillo

    Question

    You can use setCameraMatrix.
  9. I have never tried to change the font of a gui-edit, so maybe is just not possible.
  10. Castillo

    Small help

    getElementsByType returns a table of elements, not a element. addEventHandler ( 'onResourceStop', resourceRoot, function ( ) for _, player in ipairs ( getElementsByType ( "player" ) ) do if ( getElementAlpha ( player ) == 0 ) then setElementAlpha ( player, 255 ) end end end )
  11. Castillo

    Small help

    onResourceStop has no player argument.
  12. You mean set the text inside a edit field scale? I think that you can make a custom font and set the scale when creating it. guiCreateFont
  13. addCommandHandler has no player argument client side.
  14. But if he wants to use it server side, he'll have to use the player argument.
  15. addCommandHandler ( "hey", function ( thePlayer ) outputChatBox ( "Hey!", thePlayer ) end )
  16. Castillo

    Points error

    You just get the rank, and should be sorted by players online and position.
  17. Castillo

    Points error

    I think this: rank = tonumber ( getElementData ( playerElementHere, "race rank" ) )
  18. Exactly, I think it was obviously, but well.
  19. Castillo

    Stopping Voice

    Topic moved to "Support for MTA:SA 1.x > Server".
×
×
  • Create New...