-
Content Count
372 -
Joined
-
Last visited
Community Reputation
9 NeutralAbout Platin - xNikoXD
-
Rank
Street Cat
- Birthday 07/06/2000
Details
-
Gang
Milanga Warriors
-
Location
Montevideo, Uruguay
-
Occupation
Homeless
-
Interests
Scripting, Computing, Anime, Technology, Girls, Alcohol, Weed and Parties.
Recent Profile Visitors
2,499 profile views
-
[Help] Reflection shader is not working on the vehicle component
Platin - xNikoXD replied to Hydra's topic in Modelling
Wow, such great memory Tut. The problem with my shader wasn't that I was unabled to get the texture of the spoiler or something like that, my problem was that creating a model that is used by the game as an spoiler or any other upgrade part, and then trying to add a shader that changed their texture would result in the upgrade just looking black. The shader was working because I could change any other object, but not any upgrade. The upgrades where created by createObject() and attached, but even without being attached the shader did not work. I don't recall exactly what was the issu -
Happy holidays for all of you!
-
gj!
-
Orlando started following Platin - xNikoXD
-
Yeah... about that: https://github.com/multitheftauto/mtasa-blue/issues/1377
-
Podes conseguir información más detallada con performancebrowser, incluso podes conseguir informacion de que funcion esta causando tanto uso de CPU: https://wiki.multitheftauto.com/wiki/Resource:Performancebrowser
-
Tbh is a big let down for a lot of RP users that are coming to MTA. Most of them are familiar with .asi and mods and have a lot of them in their game. The most popular it seems is modloader so they don't have to edit their gta3.img and replace the original files. It would be nice if on 1.6 it could be possible to let the servers decide fully if they will allow asi modifications or not. I know this isn't feasible or even necesary, specially bcuz the anticheat could be compromised with this, but it would be a nice thing to think about. Even better it would be to just accept certain .asi modifica
-
1.5.8 before summer? noice
-
It seems that 2020 is going to be a good year for MTA. Congrats and thanks for all the patch contributors to let us keep expanding our servers in many numerous ways!
-
Never, really never never never element datas if you will edit them every frame, you will just lag the client (and if synced) the entire server. The above code is ok, but I would personally make this changes: addEventHandler("onClientRender", root, function() -- Using getElementsByType("player", root, true) instead of getElementsByType("player") will give us only the users that the client is streaming in local rTable = difference(getElementsByType("player", root, true), my_player_list) -- This would be the same for the entirety of the frame, you don't need to update it for every
-
I don't quite get why your ranking system does not work, maybe you forgot to set anything to the element data "level" and its giving you an error because you are trying to compare a boolean with a number? Anyway, i made this mess, have fun trying to understand it, I hope you can exports.scoreboard:addScoreboardColumn('Rank') local ranking_table = { -- You would need at least level 1 to unlock this rank -- This table stores itself like this: {minimum level to obtain the rank, the name of the rank} {1, "Noobie"}, {5, "idk"}, {10, "just put your ranks in here"}, } function onSpawn
-
You should check out these wiki pages: https://wiki.multitheftauto.com/wiki/CreateLight https://wiki.multitheftauto.com/wiki/CreateEffect
-
Just do something like this, it should work just fine: function difference(a,b) -- This should put everything that is on table A and it isn't on table B into a new indexed table local ret = {} for k,v in pairs(a) do local insert = true for k2,v2 in pairs(b) do if v == v2 then insert = false break; end end if insert then table.insert(ret, v) end end return ret end If you want to go the way you code went then you should do something like this: function difference(a,b) local aa = {} for k,v in pairs(a) do aa[v]=true end for k,v in pairs(b) do