Jump to content

Anderl

Members
  • Posts

    2,266
  • Joined

  • Last visited

Everything posted by Anderl

  1. Cara, voce ainda nao percebeu que ninguem irá fazer um "hack" para voce conseguir os mapas dos outros servidores? ( Isso se sequer existir um jeito de fazer isso )
  2. Anderl

    Color GUI?:O

    only white color? GUI is not white, GUI is gray/black.
  3. Did you even read what is written in that link?
  4. Não tem como fazer isso, o código do MTA:SA teria de ser editado, e editando o código você não poderia mais entrar em servidores. Injetando uma dll dúvido que funcionasse também. Além disso, ninguém irá criar um "hack" para você conseguir mapas; Baixe-os, ou se não estiver na Internet, compre-os.
  5. Oh cool, I didn't know. I asked what you want to do with this code, not what you are trying to do.
  6. Anderl

    Turf system

    local pArea = createRadarArea( 2130, 728, 200, -100, 0, 255, 0, 175 ) local pCuboid = createColCuboid( 2133.1950683594, 633.66455078125, 10, 197.5, 92, 12 ) addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if( source == pCuboid ) then setRadarAreaFlashing( pArea, true ) local pTeam = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR, iG, iB = getTeamColor( pTeam ) setRadarAreaColor( pArea, iR, iG, iB, 175 ) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid ) then setRadarAreaFlashing( pArea, false ) end end ) Read comments to see what was wrong. Also, don't forget that you'll have to save areas' settings otherwise everything will return to its default settings after restart resource/restart server.
  7. Anderl

    Turf system

    Set area color to the player team's color using getTeamColor and setRadarAreaColor and don't set its color back when leave the area.
  8. You can add your custom font with guiCreateFont and then guiSetFont.
  9. Anderl

    Turf system

    Because you just got some shit handler and pasted on your code and you want it to work. Server-side: local pArea = createRadarArea( 2130, 728, 200, -100, 0, 255, 0, 175 ) local pCuboid = createColCuboid( 2133.1950683594, 633.66455078125, 10, 197.5, 92, 12 ) addEventHandler( 'onColShapeHit', root, function( ) if( source == pCuboid ) then setRadarAreaColor( pArea, 0, 0, 255, 255 ) setRadarAreaFlashing( pArea, true ) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid ) then setRadarAreaColor( pArea, 0, 255, 0, 175 ) setRadarAreaFlashing( pArea, false ) end end ) P.S.: You should also make a well developed system for multiple areas, and if you are going to release it, make it easy for people to add/edit areas and change settings.
  10. Anderl

    Turf system

    Create a col shape in same place as radar area and check when you enter the col shape with onColShapeHit.
  11. Please write example... Please Why you ask for example everytime? JUST SEARCH WIKI.
  12. Yea, you're right. I confused the news about it with the download.
  13. How to fix that? Code not forom MTA:SA !!!!!!!! What exactly do you want to do?
  14. He already released on his website.
  15. No need for lazy comments.
  16. even the player isn't admin? I don't know, I don't use this. Just test and see.
  17. If the house has owner, you can't buy it. If it's for sale, just hit the house's marker and a GUI will appear, there you should click on "Buy" or "Buy House".
  18. You must be logged in as admin.
  19. We aren't magic to know what the fuck you are talking about.
  20. You can request help here or if you want, PM me.
  21. Anderl

    Very hign ping

    I don't think graphic card would do this. What is your network speed, darksmoki? Did it do that before?
  22. Race gamemode auto enables/disables blur when a map is started. You must disable blur on race gamemode settings ( meta.xml ) or edit gamemode to stop doing that.
×
×
  • Create New...