Jump to content

imCEASER

Members
  • Posts

    90
  • Joined

  • Last visited

Everything posted by imCEASER

  1. Coisa mais inútil que já vi, se o pessoal não tem criatividade e você não quer que eles copiem ou criem um nick em cima dos postados então isto está totalmente errado ("isso pode ser mais útil para evitar Fakes.")
  2. SE NÃO QUISER TER SEUS SCRIPTS VAZADOS, AQUI ESTÁ A SOLUÇÃO: https://luac.multitheftauto.com/ A melhor prevenção é a proteção.
  3. Não, simplesmente queria mostrar um pouco meu lado, pois está criticando uns... Desculpe por fazer os outros pensarem que está interessado em algo... Não busque ser agradecido pelo que fez, não foi um favor...
  4. Queria falar algumas coisas... O fórum tem administração que pode muito bem lidar com todo o descontentamento de vocês perante o moderador @Cadu12, é simplesmente reportar e não criar um tópico por este descontentamento. @#RooTs você já se envolveu em discussões que ficou parecendo criança (Tópico) A ajuda não é um pedido, então no momento em que a pessoa pediu uma ajuda ela não quer um trabalho pronto e sim um "empurrão". Acho que uma pessoa não deve ser escolhida por seus conhecimentos, pois pode muito bem saber mais não ajudar. @Banex achei muito interessante a ideia de aumentar as punições. @#RooTs este é um fórum de "total" liberdade, se alguém pede ajuda e você sabe resolver, é simplesmente você AJUDAR. Estas são minhas opiniões sobre tal tópico.
  5. Parabéns ai @StanleySathler pelo projeto, achei muito inteligente da sua parte reescrever o código até para deixar o DayZ mais leve. Espero que você consiga deixá-lo mais leve e tirar aquele warning chato (WARNING: Long execution (DayZ)). Parabéns pela iniciativa!!!
  6. Reviving this important topic
  7. Hello, I am Brazilian and wanted the gamemode translated into Brazilian Portuguese send me a private message.
  8. In your opinion, what is the best RPG game mode already posted?
  9. To help players who want to make a good server Thanks To help players who want to make a good server. If that did not help you, can help someone!
  10. List of Resources How can you add a feature in this list Changelog
  11. Galera, queria colocar o mod de deitar para atirar no meu servidor, alguem saberia como??
  12. Obrigado você por disponibilizar seus scripts, e ainda descompilados. Cara, você é criança ou algo do tipo?? Se não vai ajudar, por favor, não atrapalha. E o resource sf-roads por ter textura, não deixa de ser um resource.
  13. Não, você pode postar qualquer resource que achou útil pra você.
  14. Eae guilherme, bom vou esclarece-lo: - Meu servidor será freeroam - Não pretendo colocar um editor handling - Pretendo apenas substituir as skins dos carros Espero que tenha sanado suas dúvidas.
  15. Guys, I'm creating a MTA Server and do not know which car should replace server which, type: Entity XF (Carro mais rápido do GTA V) - Replace it by infernus, but there is Pegassi Infernus He wanted to know the opnion of you which car to replace which, example: Entity XF - Infernus Pegassi Infernus - Turismo Adder - Cheetah Albany Roosevelt - Perenniel
  16. Galera, estou criando um servidor de MTA:SA e não sei qual carro deveria substituir qual, tipo: Entity XF (Carro mais rápido do GTA V) - Substituiria ele pelo infernus, porém existe o Pegassi Infernus Queria saber na opnião de vocês qual carro deve substituir qual, ex: Entity XF - Infernus Pegassi Infernus - Turismo Adder - Cheetah Albany Roosevelt - Perenniel
  17. Sorry, I forgot to put the code function Contar ( source ) guiSetVisible ( imgcontador, true ) imgcontador = guiCreateStaticImage( 305, 119, 110, 190, "imagens/contador1/1.png", false ) setTimer ( Contar1, 1000, 1 ) end function Contar1 ( source ) guiSetVisible ( imgcontador, true ) imgcontador = guiCreateStaticImage( 305, 119, 110, 190, "imagens/contador1/2.png", false ) setTimer ( Contar2, 1000, 1 ) end function Contar2 ( source ) guiSetVisible ( imgcontador, true ) imgcontador = guiCreateStaticImage( 305, 119, 110, 190, "imagens/contador1/3.png", false ) setTimer ( Contar3, 1000, 1 ) end function Contar3 ( source ) guiSetVisible ( imgcontador, true ) imgcontador = guiCreateStaticImage( 305, 119, 110, 190, "imagens/contador1/4.png", false ) setTimer ( Contar4, 1000, 1 ) end function Contar4 ( source ) guiSetVisible ( imgcontador, true ) imgcontador = guiCreateStaticImage( 305, 119, 110, 190, "imagens/contador1/5.png", false ) setTimer ( Contar5, 1000, 1 ) end function Contar5 ( source ) guiSetVisible ( imgcontador, true ) imgcontador = guiCreateStaticImage( 305, 119, 110, 190, "imagens/contador1/6.png", false ) setTimer ( Contar6, 1000, 1 ) end function Contar6 ( source ) guiSetVisible ( imgcontador, true ) imgcontador = guiCreateStaticImage( 305, 119, 110, 190, "imagens/contador1/7.png", false ) setTimer ( FimContador, 1000, 1 ) end function FimContador ( source ) guiSetVisible ( imgcontador, false ) end addCommandHandler ( "contar1", Contar )
  18. Hello, for starters I have used the search, but found nothing to help me. I wanted to make a counter with 7 pictures, I made a code, but not worked. I wanted all the server saw the images
  19. But the 'admin' resource is already on.
  20. These resources are giving the following errors: HelloMessages\script\server.lua g_Root = getRootElement() countryNames = { AD="Andorra", AE="Arabian", AF="Afghanistan", AG="Antigua Bardura", AI="Anguilla", AL="Albania", AM="Armenia", AN="Netherlands Antilles", AO="Angola", AP="Asia", AR="Argentina", AS="American Samoa", AT="Austria", AU="Australia", AW="Aruba", AZ="Azerbaijan", BA="Bosnia Herzrgowina", BB="Barbados", BD="Bangladesh", BE="Belgium", BF="Burkina Faso", BG="Bulgaria", BH="Bahrain", BI="Burundi", BJ="Benin", BM="Bermuda", BN="Brunei Darussalam", BO="Bolivia", BR="Brasil", BS="Bahamas", BT="Bhutan", BW="Botswana", BY="Belarus", BZ="Belize", CA="Canada", CD="Congo The Democratic", CF="Centra African Republic", CH="Switzerland", CI="Cote Divoire", CK="Cook Isladinds", CL="Chile", CM="Cameroon", CN="China", CO="Colombia", CR="Costa Rica", CS="Serbia and Montenegro", CU="Cuba", CY="CY", CZ="Czech Republic", DE="Alemania", DJ="Djibouti", DK="Denmark", DO="Dominican Republic", DZ="Algeria", EC="Ecuador", EE="Estonia", EG="Egipto", ER="Eritrea", ES="España", ET="Ethiopia", EU="Europa", FI="Finland", FJ="Fiji", FM="Microdencia", FO="Faroe Islands", FR="Francia", GA="Gabon", GB="United Kingdom", GD="Grenada", GE="Gorgia", GF="Frech Guinia", GH="Ghana", GI="GibraItar", GL="Greenland", GM="Gambia", GR="Greece", GT="Guatelama", GU="Guam", GW="Guinea", GY="GUYANA", HK="HONG KONG", HN="HONDURAS", HR="Croacia", HT="Haiti", HU="Hungary", ID="Indonecia", IE="Ireland", IL="Isral", IN="India", IO="India Ocean", IQ="Iraq", IR="Iran", IS="Iceland", IT="Italia", JM="Jamaica", JO="Jorlan", JP="Japon", KE="Kenya", KG="Kyrgyzstan", KH="Cambodia", KI="Kiribati", KN="Saint Kitts And Nevis", KR="Korea", KW="Kuwait", KY="Cayman Islands", KZ="Kazakhstan", LA="Democratic Republic", LB="Lebaton", LC="Santa Lucia", LI="Liechtenstein", LK="Sri Lanka", LR="Liberia", LS="Lesotho", LT="LithuaniaI", LU="Luxembourg", LV="LATVIA", LY="Libyan Arab", MA="Morocco", MC="Monaco", MD="Moldoca Republic", MG="MadagascarA", MK="MK", ML="Malia", MM="Myanmar", MN="Mongolia", MO="MACAU", MP="MP", MR="Mauritania", MT="Malta", MU="Mauritius", MV="Maldives", MW="Malawi", MX="Mexcio", MY="Malaysia", MZ="Mozambique", NA="NAMIBIA", NC="NEW CALEDONIA", NE="Nigger", NF="Norfolk Island", NG="Nigeria", NI="Nicaragua", NL="Netherlands", NO="Norway", NP="Nepal", NR="Nauru", NU="Niuse", NZ="New Zealand", OM="Oman", PA="Parama", PE="Peru", PF="French Polynesia", PG="Papua New Guinea", PH="Philippines", PK="Pakistan", PL="Polonia", PR="Puerto Rico", PS="Palestian", PT="Portugal", PW="Palau", PY="Paraguay", QA="Qatar", RO="Romania", RU="Russian", RW="Rwanda", SA="Saudi Arabian", SB="Solomon Islands", SC="Seychelles", SD="Sudan", SE="Sweden", SG="Singapore", SI="Slovenia", SK="Slovak Republic", SL="Sierra Leone", SM="San Marino", SN="Senegal", SR="Suriname", SV="El Salvador", SY="Syrian Arab Republic", SZ="Swaziland", TG="Togo", TH="Thailand", TJ="Tajikistan", TM="Turkmenistan", TN="Tunisia", TO="Tonga", TR="Turkey", TT="Trinidad Tobago", TV="Tuvalu", TW="Taiwan Province China", TZ="Tanzania", UA="Ukranie", UG="Uganda", US="United States", UY="Uruguat", UZ="Uzbekistan", VA="Vatican City", VE="Venezuela", VG="Virgin Islands (British)", VI="Virgin Islands (U.S.)", VN="Vietnam", VU="Vauanuatu", WS="Samoa", YE="Yemen", YU="Formally Yugoslavia", ZA="Sudrafica", ZM="Zambia", ZW="Zimbabwe", ZZ="Reserved" } addEventHandler('onPlayerJoin',g_Root, function () local ping = getPlayerPing(source) local country = exports['admin']:getPlayerCountry(source) setElementData(source,'Country',country) outputChatBox('['..getPlayerCount()..'#FFFFFF / #7EC0EE'..getMaxPlayers()..'] '..getPlayerName(source)..' #FFFFFFentrou no Servidor - País [#7EC0EE'.. countryNames[tostring(country)] ..'#FFFFFF] / Ping [#7EC0EE'..ping..'#FFFFFF]', getRootElement(), 126, 192, 238, true) end ) addEventHandler('onPlayerChangeNick', g_Root, function(oldNick, newNick) outputChatBox('['..getPlayerCount()..'#FFFFFF / #7EC0EE'..getMaxPlayers()..'] '..oldNick..' #FFFFFFmudou o seu nick para: #7EC0EE'..newNick, getRootElement(), 126, 192, 238, true) end ) addEventHandler('onPlayerQuit', g_Root, function(reason) if (reason == "Quit") then outputChatBox('['..getPlayerCount()..'#FFFFFF / #7EC0EE'..getMaxPlayers()..'] '..getPlayerName(source)..' #FFFFFFsaiu do Servidor - Motivo [#FF0000SAIU#FFFFFF]', getRootElement(), 126, 192, 238, true) elseif (reason == "Timed out") then outputChatBox('['..getPlayerCount()..'#FFFFFF / #7EC0EE'..getMaxPlayers()..'] '..getPlayerName(source)..' #FFFFFFsaiu do Servidor - Motivo [#FF0000NET CAIU#FFFFFF]', getRootElement(), 126, 192, 238, true) elseif (reason == "Banned") then outputChatBox('['..getPlayerCount()..'#FFFFFF / #7EC0EE'..getMaxPlayers()..'] '..getPlayerName(source)..' #FFFFFFsaiu do Servidor - Motivo [#FF0000BANIDO#FFFFFF]', getRootElement(), 126, 192, 238, true) elseif (reason == "Kicked") then outputChatBox('['..getPlayerCount()..'#FFFFFF / #7EC0EE'..getMaxPlayers()..'] '..getPlayerName(source)..' #FFFFFFsaiu do Servidor - Motivo [#FF0000KICKADO#FFFFFF]', getRootElement(), 126, 192, 238, true) end end ) Scoreboard\scripts\dxscoreboard_exports.lua MAX_PRIRORITY_SLOT = 500 scoreboardColumns = { { ["name"] = "ID", ["width"] = 20, ["friendlyName"] = "ID", ["priority"] = 1 }, { ["name"] = "name", ["width"] = 200, ["friendlyName"] = "Name", ["priority"] = 2 }, { ["name"] = "fps", ["width"] = 30, ["friendlyName"] = "FPS", ["priority"] = 3 }, { ["name"] = "country", ["width"] = 140, ["friendlyName"] = "Country", ["priority"] = MAX_PRIRORITY_SLOT-1 }, { ["name"] = "ping", ["width"] = 40, ["friendlyName"] = "Ping", ["priority"] = MAX_PRIRORITY_SLOT } } resourceColumns = {} function toboolean( bool ) bool = tostring( bool ) if bool == "true" then return true elseif bool == "false" then return false else return nil end end forceShowTeams = toboolean( get( "forceShowTeams" ) ) or false forceHideTeams = toboolean( get( "forceHideTeams" ) ) or false allowColorcodedNames = toboolean( get( "allowColorcodedNames" ) ) or false scrollStep = tonumber( get( "scrollStep" ) ) or 1 local function iif( cond, arg1, arg2 ) if cond then return arg1 end return arg2 end function scoreboardAddColumn( name, forElement, width, friendlyName, priority ) if type( name ) == "string" then width = tonumber( width ) or 70 friendlyName = friendlyName or name priority = tonumber( priority ) or getNextFreePrioritySlot( scoreboardGetColumnPriority( "name" ) ) fixPrioritySlot( priority ) forElement = iif( type( forElement ) == "userdata" and isElement( forElement ), forElement, getRootElement() ) if forElement == getRootElement() then if not (priority > MAX_PRIRORITY_SLOT or priority < 1) then for key, value in ipairs( scoreboardColumns ) do if name == value.name then return false end end table.insert( scoreboardColumns, { ["name"] = name, ["width"] = width, ["friendlyName"] = friendlyName, ["priority"] = priority } ) table.sort( scoreboardColumns, function ( a, b ) return a.priority < b.priority end ) if sourceResource then if not resourceColumns[sourceResource] then resourceColumns[sourceResource] = {} end table.insert ( resourceColumns[sourceResource], name ) end return triggerClientEvent( getRootElement(), "doScoreboardAddColumn", getRootElement(), name, width, friendlyName, priority, sourceResource ) end else return triggerClientEvent( forElement, "doScoreboardAddColumn", getRootElement(), name, width, friendlyName, priority, sourceResource ) end end return false end function scoreboardRemoveColumn( name, forElement ) if type( name ) == "string" then forElement = iif( type( forElement ) == "userdata" and isElement( forElement ), forElement, getRootElement() ) if forElement == getRootElement() then for key, value in ipairs( scoreboardColumns ) do if name == value.name then table.remove( scoreboardColumns, key ) for resource, content in pairs( resourceColumns ) do table.removevalue( content, name ) end return triggerClientEvent( getRootElement(), "doScoreboardRemoveColumn", getRootElement(), name ) end end else return triggerClientEvent( forElement, "doScoreboardRemoveColumn", getRootElement(), name ) end end return false end function scoreboardClearColumns( forElement ) forElement = iif( type( forElement ) == "userdata" and isElement( forElement ), forElement, getRootElement() ) if forElement == getRootElement() then while ( scoreboardColumns[1] ) do table.remove( scoreboardColumns, 1 ) resourceColumns = {} end return triggerClientEvent( getRootElement(), "doScoreboardClearColumns", getRootElement() ) else return triggerClientEvent( forElement, "doScoreboardClearColumns", getRootElement() ) end end function scoreboardResetColumns( forElement ) forElement = iif( type( forElement ) == "userdata" and isElement( forElement ), forElement, getRootElement() ) if forElement == getRootElement() then while ( scoreboardColumns[1] ) do table.remove( scoreboardColumns, 1 ) resourceColumns = {} end local result = triggerClientEvent( getRootElement(), "doScoreboardResetColumns", getRootElement() ) if result then scoreboardAddColumn( "name", 200, "Name" ) scoreboardAddColumn( "ping", 40, "Ping" ) end return result else return triggerClientEvent( forElement, "doScoreboardResetColumns", getRootElement(), false ) end end function scoreboardSetForced( forced, forElement ) if type( forced ) == "boolean" then forElement = iif( type( forElement ) == "userdata" and isElement( forElement ), forElement, getRootElement() ) return triggerClientEvent( forElement, "doScoreboardSetForced", getRootElement(), forced ) else return false end end function scoreboardSetSortBy( name, desc, forElement ) if type( name ) == "string" or name == nil then if name == nil then forElement = iif( type( desc ) == "userdata" and isElement( desc ), desc, getRootElement() ) else forElement = iif( type( forElement ) == "userdata" and isElement( forElement ), forElement, getRootElement() ) end desc = iif( type( desc ) == "boolean", desc, true ) return triggerClientEvent( forElement, "doScoreboardSetSortBy", getRootElement(), name, desc ) else return false end end function scoreboardGetColumnPriority( name ) if type( name ) == "string" then for key, value in ipairs( scoreboardColumns ) do if name == value.name then return value.priority end end end return false end function scoreboardSetColumnPriority( name, priority, forElement ) if type( name ) == "string" and type( priority ) == "number" then if not (priority > MAX_PRIRORITY_SLOT or priority < 1) then forElement = iif( type( forElement ) == "userdata" and isElement( forElement ), forElement, getRootElement() ) if forElement == getRootElement() then local columnIndex = false for key, value in ipairs( scoreboardColumns ) do if name == value.name then columnIndex = key end end if columnIndex then scoreboardColumns[columnIndex].priority = -1 -- To empty out the current priority fixPrioritySlot( priority ) scoreboardColumns[columnIndex].priority = priority table.sort( scoreboardColumns, function ( a, b ) return a.priority < b.priority end ) return triggerClientEvent( forElement, "doScoreboardSetColumnPriority", getRootElement(), name, priority ) end else return triggerClientEvent( forElement, "doScoreboardSetColumnPriority", getRootElement(), name, priority ) end end end return false end function scoreboardForceTeamsVisible( enabled ) if type( enabled ) == "boolean" then forceShowTeams = enabled return true end return false end function scoreboardForceTeamsHidden( enabled ) if type( enabled ) == "boolean" then forceHideTeams = enabled return true end return false end function scoreboardGetColumnCount() return #scoreboardColumns end function onClientDXScoreboardResourceStart() for key, column in ipairs( scoreboardColumns ) do triggerClientEvent( client, "doScoreboardAddColumn", getRootElement(), column.name, column.width, column.friendlyName, column.priority ) end end addEvent( "onClientDXScoreboardResourceStart", true ) addEventHandler( "onClientDXScoreboardResourceStart", getResourceRootElement( getThisResource() ), onClientDXScoreboardResourceStart ) function requestServerInfoHandler() local mapmanager = getResourceFromName( "mapmanager" ) local output = {} output.forceshowteams = forceShowTeams output.forcehideteams = forceHideTeams output.allowcolorcodes = allowColorcodedNames output.scrollStep = scrollStep output.server = getServerName() output.players = getMaxPlayers() output.gamemode = false output.map = false if mapmanager and getResourceState( mapmanager ) == "running" then local gamemode = exports.mapmanager:getRunningGamemode() if gamemode then output.gamemode = getResourceInfo( gamemode, "name" ) or getResourceName( gamemode ) end local map = exports.mapmanager:getRunningGamemodeMap() if map then output.map = getResourceInfo( map, "name" ) or getResourceName( map ) end end triggerClientEvent( source, "sendServerInfo", getRootElement(), output ) end addEvent( "requestServerInfo", true ) addEventHandler( "requestServerInfo", getRootElement(), requestServerInfoHandler ) function removeResourceScoreboardColumns( resource ) if resourceColumns[resource] then while resourceColumns[resource][1] do local success = scoreboardRemoveColumn( resourceColumns[resource][1], getRootElement() ) if not success then break end end resourceColumns[resource] = nil end end addEventHandler( "onResourceStop", getRootElement(), removeResourceScoreboardColumns ) -- Compability addScoreboardColumn = function( name, forElement, position, size ) if type( size ) == "number" and size >= 0 and size <= 1.0 then size = size*700 end return scoreboardAddColumn( name, forElement, size, name, position ) end removeScoreboardColumn = scoreboardRemoveColumn resetScoreboardColumns = scoreboardResetColumns
×
×
  • Create New...