Anderl
Members-
Posts
2,266 -
Joined
-
Last visited
Everything posted by Anderl
-
It's not a bug, it just interpretes smile "commands".
-
You don't need to declare any of these global variables, they're already pre-declared.
-
Client-side functions run in client's MTA:SA process, server-side functions run in the MTA:SA server. In Lua, you use only the boolean operators "true", "false" and "nil". Would be better if you explain what you are trying to do and we'll give you tips of how to do it. But I can tell you one thing: Anything you do in SA:MP, you do it faster and simpler in MTA:SA.
-
He meant you should split the CST file in multiple COLs ( one COL per object ).
-
Just call the function instead? ( args ) getTeamHealth( teamElement ); Function call tutorial here
-
You passed the function "getTeamHealth" as an argument in "setProgress" method, you should call the function to return the team's health instead.
-
More pictures: I don't know if some of these pictures have been posted already, anyway: And here's a comparison of GTA San Andreas with GTA V by Rockstar Games: Some things about GTA V:
-
@TAPL, use local variables.
-
Team health? I don't understand you.
-
Heck, no one here have a gaming machine that would like to show ( I don't mean these pre-built overpriced machines )?
-
He most likely wants to run two MTAs at the same time, he can do it with virtual machines or changing between users in Windows ( don't know about the latter ).
-
Array? I'm sounding quite the noob here An array is a table. Just add this to your gamemode: local g_pSkins = { [218] = { 0, 0, 0 }, [219] = { 0, 0, 0 }, [220] = { 0, 0, 0 } }; addEventHandler( "onPlayerSpawn", root, function( _, _, _, _, _, nSkin ) if ( g_pSkins[nSkin] ) then local pTeam, nRotation, nInterior, nDimension = getPlayerTeam( source ), getElementRotation( source ), getElementInterior( source ), getElementDimension( source ); spawnPlayer( source, g_pSkins[nSkin][1], g_pSkins[nSkin][2], g_pSkins[nSkin][3], nRotation, nSkin, nInterior, nDimension, pTeam ); end end ); I didn't test the code, there might be an error. P.S. Don't look at the identation, it's impossible to do anything with Notepad
-
Create an array, set index as skin ID and create another array for its value with the positions. Then get positions for a specific skin ID calling that array's index.
-
Did you realise that what you just said is the same I did above? Anyway.. @manve1, you can export functions by yourself in race gamemode but you'd need to have race gamemode started for it to work. Just copy the fancy progress "class" file and use the functions to do it. You create a fancy progress this way: local p_HealthBar = FancyProgress.create( 250, 1000, "PATH_TO_YOUR_BACKGROUND_HEALTH_BAR.png", -65, 60, 123, 30, "PATH_TO_A_LINE_THAT_WILL_COVER_BACKGROUND_AND_WILL_SHOW_HEALTH_STATE.png", 8, 8, 108, 15 ); You might be able to pass nil to some variables like the background picture to put only the "cover" but I haven't checked fancy progress "class" code. You can also make your own "class" of health bars. To set "cover" 's size ( width/height depending on how you put the image on the screen ) simply use the method "setProgress": p_HealthBar:setProgress( SOME_NUMBER_HERE );
-
It isn't, but since race gamemode code is well organised you can simply use the "fancyprogress" or something with "fancy" name ( file ) in your scripts ( might need some things from race so you better check before using it ).
-
Well, I don't know the best ones but I can recommend you Arctic MX-4/Arctic Silver 5.
-
What he said is if he can share the data to two files only and not to a third one.
-
[host] Alguem sabe onde eu encontro Host para MTA 1.3 ?
Anderl replied to Snes's topic in Portuguese / Português
Pois é, acabei de falar com o meu amigo ( dono da MinigunBR ) e ele me falou que parou de vender. -
[host] Alguem sabe onde eu encontro Host para MTA 1.3 ?
Anderl replied to Snes's topic in Portuguese / Português
MinigunBR ( www.minigun.com.br - está agora em manutenção mas deve voltar em breve ) - é de um amigo meu, já trabalhei lá, não sei se agora têm host brasileiro porque não estou a par do que se passa lá mas o host de USA é muito bom, com ping baixo. Se você falar com o suporte eles talvez te arranjem até um servidor de teste por algum tempo. -
But why would you need to share data in two files and not in the third?
-
I guess you can't.
-
Is that what you mean? viewtopic.php?f=91&t=52108
-
Don't forget to get the thermal paste from a decent brand.
-
Only that name will give you lots of customers.. Now imagine with your awesome reputation because of these "Script makers".
