Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 22/12/18 in all areas

  1. Olá pessoal. Fiz um vídeo bem detalhado sobre os painéis CEGUI, abordando algumas das principais dúvidas e também algumas propriedades que podem ajudar muito na hora de criar um painel GUI. Recomendo que assistam com fones de ouvido, ou então que ativem as legendas no YouTube. Críticas, sugestões, opiniões, perguntas relacionadas ao vídeo, podem fazer por aqui ou então deixar nos comentários do vídeo. (Deu muitíssimo trabalho de produzir o vídeo, deixe seu like neste post e no vídeo. Se puder, se inscreva no canal e acompanhe a página Lord Henry Entertainment no facebook.) Links e funções que aparecem no vídeo em ordem de aparição: http://static.cegui.org.uk/docs/0.8.7/ guiGetScreenSize guiCreateWindow guiCreateButton http://static.cegui.org.uk/static/WindowsLookProperties.html guiSetProperty http://static.cegui.org.uk/static/WindowsLookProperties.html#FrameWindow http://static.cegui.org.uk/static/WindowsLookProperties.html#Button isMouseOnGUICloseButton Standard_GUI_Font_Names guiSetEnabled guiSetAlpha guiEditSetReadOnly guiEditSetMasked Tenham todos uma boa semana.
    5 points
  2. Corrigi várias coisas, entre elas o seguinte: Corrigi os outputChatBox que estavam com código hexadecimal no início, mudei pro código RGB nos parâmetros. Aumentei o tamanho dos markers de objetivo, que estavam pequenos demais, sendo necessário passar com o avião no lugar exato pra conseguir. Criei a 3 posição em LV, assim o jogador começa e finaliza no mesmo aeroporto. Mudei as posições de objetivo, colocando-os no meio da pista pra facilitar. Mudei a posição onde cria o avião e os Peds. Removi as linhas que setavam rotação nos Peds, em vez disso declaro a rotação deles no createPed. Deixei os Peds em tables também. Corrigi algumas indentações. Adicionei verificador do jogador nos timers, caso ele quite antes do tempo.
    2 points
  3. Police Pursuits of San Andreas - Cops and Robbers that someone took way too far Police Pursuits of San Andreas is a project made by two developers. It combines roleplay with cops and robbers in a way that is appealing to players and doesn't bore people after a few matches. When a match players, one to two players are chosen to be suspects, the rest are police officers. The suspect is usually wanted for X crime that gets announced to police officers through dispatch. Police officers respond to the location of the suspect and play it out. You have a suspect, you have a crime, the following is up to you. The suspect MAY or MAY NOT be armed. Efficient code that ensures a lag free and non-interrupted gameplay is one of the key features we are looking to achieve. The server won't have no ugly looking car mods or cop car handlings that turn your car into a NASA rocket in a city. The gamemode is completely made from scratch without using other code to ensure the best quality of the project. A match lasts 7 minutes or until suspects are either killed or apprehended. Officers are equipped with technology that is seen in real life police departments. Tasers, spikestrips, roadblocks, air units, you name it. Advanced suspects have some advanced technologies that makes them tougher. Media to be added in the upcoming few hours. We are still in development, however, we would be happy to see you in our Discord server where you can see live progress from our Github repo! Stay in touch and talk with us! https://discordapp.com/invite/mCbRRWg keymetaphore: Syncer#1290; Sergeant: Sergeant#9828
    1 point
  4. Você tá manipulando os peds como se estivessem em tabelas, sendo que quando criou os peds armazenou em variáveis comuns. Verificar o player no setTimer seria um simples: if not isElement(thePlayer) then return end pois assim evita o código continuar caso o player saia do servidor, e nesse caso thePlayer seria igual a nil. Instruções do tipo: if isElement(Bfim7[source]) then destroyElement (Bfim7[source]) end Bfim7[source] = nil Seriam adequadas assim: if isElement(Bfim7[source]) then destroyElement (Bfim7[source]) Bfim7[source] = nil end
    1 point
  5. A regra é clara: Se está tudo funcionando sem erros e nem bugs. Então está certo. Sempre pode existir um jeito "melhor" de fazer, mas não significa que seja necessariamente o mais certo. Na programação existem diversas formas de se conseguir um objetivo.
    1 point
  6. استبدل onClientGUIClick بـ onDgsMouseClick ( القسم خطأ ) @N3xT
    1 point
  7. Pode ser usado o SetElementPosition EXEMPLO: function Teleport (source) setElementPosition ( source, posX, posY, posZ ) end addCommandHandler("tp", Teleport)
    1 point
  8. 1 point
  9. ليه الكلام المنرفز ذا ؟ كل واحد في بدايته كذا عنده أخطاء أخوي عندك end زائده و قوس زائد في نهاية الدالة الكود كذا يصير : function mahdi() local level = getLevelInfo() local xp = getXPInfo() -----Level System dxDrawText("Level : "..level, 14, 695, 102, 710, tocolor(255, 255, 255, 255), 1.00, "sans", "left", "top", false, false, true, false, false) dxDrawText("XP : "..xp.." / "..(level*100).."", 13, 714, 101, 729, tocolor(255, 255, 255, 255), 1.00, "sans", "left", "top", false, false, true, false, false) end addEventHandler("onClientRender", root, mahdi)
    1 point
  10. https://github.com/CodyJL/JVice-City https://github.com/CodyJL/JStreamer
    1 point
  11. Mais um triste caso de pegar código pronto para painel DX sem ter conhecimento algum. ;-;
    0 points
×
×
  • Create New...