Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/06/20 in all areas

  1. first thx for your help second i know that already but am telling him to update it in the GitHub project so when am trying to update the dgs after that there is no need to edit it every time i update it that's why am spamming here cuze my project totally depending on the dgs lib +_+ ah by the way my solution was like that function dgsGetVisible(dgsEle) assert(dgsIsDxElement(dgsEle),"Bad argument @dgsGetVisible at argument 1, expect a dgs-dxgui element got "..dgsGetType(dgsEle)) if dgsElementData[dgsEle].visible then local p = FatherTable[dgsEle] for i=1,5000 do if not p then break end if not dgsElementData[p].visible then return false end p = FatherTable[p] end return true end return false end he just forgot not word on this line if p then break end -- so i edit it to be if not p then break end
    2 points
  2. Does anyone know color 4 for Zmodeler, I know that Color1 is Prim, Color2 is sec, Color3 is 3rd, and someone knows how to tell me which color 4 is
    1 point
  3. That is not really an issue, since it doesn't freezes the code. The database will just queue the queries and not execute them in parallel. Creating tables is something you should do once, not every time you start your script. Or are you talking about saving player data when you stop the resource?
    1 point
  4. Сложно дать конкретный ответ. Все зависит от кода. Если нет нужды отображать другим игрокам сообщение, то достаточно выполнять функцию на клиенте. Как в случае с кодом выше.
    1 point
  5. Antes não estava, o tópico foi movido para cá pois você havia postado no local incorreto. Ele quis dizer pra você postar nessa seção na próxima vez, para não precisar mover o tópico novamente. Sobre a sua pergunta em si, você precisa de um resource de superman no servidor.
    1 point
  6. На клиенте функция outputChatBox не имеет аргумента, который указывает, кому видна строка в чате.
    1 point
  7. thanks, this was a mistake when I am optimizing dgs code
    1 point
  8. I'm not familar with Zmodeler but I did some searching the other day. It results that Zmodeler requires you to add the paint as a tag in the end of the material name. The tag would be [prim], [sec], [ter] and [qua]. Though as I understand the fourth color is only supported by a small selection of vehicles being the cement mixer, camper and squalo. Can you perhaps try adding the [qua] tag to a material in one of the listed vehicles and see if it works in-game using setVehicleColor or the freeroam color panel. If it works can you please upload a sample dff so that we can get the RGB code for it, as in 3ds Max we don't have access to it, only the first 3 colors and I frankly don't know where in game files these are defined. Source: https://www.grandtheftwiki.com/Car_Colours#car4
    1 point
×
×
  • Create New...