Anderl
Members-
Posts
2,266 -
Joined
-
Last visited
Everything posted by Anderl
-
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 )
-
only white color? GUI is not white, GUI is gray/black.
-
Explain, in english.
-
Did you even read what is written in that link?
-
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.
-
Oh cool, I didn't know. I asked what you want to do with this code, not what you are trying to do.
-
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.
-
Set area color to the player team's color using getTeamColor and setRadarAreaColor and don't set its color back when leave the area.
-
You can add your custom font with guiCreateFont and then guiSetFont.
-
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.
-
Create a col shape in same place as radar area and check when you enter the col shape with onColShapeHit.
-
Please write example... Please Why you ask for example everytime? JUST SEARCH WIKI.
-
Yea, you're right. I confused the news about it with the download.
-
How to fix that? Code not forom MTA:SA !!!!!!!! What exactly do you want to do?
-
He already released on his website.
-
No need for lazy comments.
-
Is this company registered?
-
even the player isn't admin? I don't know, I don't use this. Just test and see.
-
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".
-
You must be logged in as admin.
-
We aren't magic to know what the fuck you are talking about.
-
You can request help here or if you want, PM me.
-
I don't think graphic card would do this. What is your network speed, darksmoki? Did it do that before?
-
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.
