Search the Community
Showing results for tags 'settings'.
-
Regeneration (health) This resource lets you regenerate player and vehicle* health. It is not an unique idea, I know... but there weren't good implementations for it at the community resource list. So that's why I share this with YOU. * Vehicle regeneration for the driver only. Version 1.0.0 Not compiled! Smooth health regeneration No UI, just the manager Settings (Admin panel) Settings Regeneration [on/off] (player/vehicle) Regeneration value (player/vehicle) Regeneration delay (player/vehicle) Regeneration [o
-
Hello, I'm trying to pass my server side settings defined in my meta.xml to the client. However, when passing the table of XML data to the client, the data does not persist. Here's my server side code: addEvent("onClientRequestResourceSettings", true) addEventHandler("onClientRequestResourceSettings", resourceRoot, function() local xml = xmlLoadFile("meta.xml") local settingsNode = xmlFindChild(xml, "settings", 0) if(settingsNode) then local settings = xmlNodeGetChildren(settingsNode) triggerClientEvent(client, "onServerProvideResourceSe
-
Boa noite, novamente eu estou com varios projetos em mente, e estou criando eu mesmo por isso venho aqui no forum pedir ajuda, por que eu nao gosto de pega coisa feita, gosto de aprender com meus erros... Bom mais vamos la OPS: FIZ ESSE SISTEMA DO ZERO (AGORA MESMO FIQUEI 3 HORAS FAZENDO) Fiz esse Painel de radio, nele vai ter varios IP de radios.. o jogador seleciona a radio que quer e clica em Escutar Musica (botão), e a musica começa a toca e se quiser pausar ele clica no botão (Pausar Musica)... Só que no sistema se vc fica varias vezes clicando em "escutar musica" com ip selecio
-
Hello. I changed mouse sensitivity settings at menu and put it to o%. But when i return to the game, there is an impression, that sensitivity is 100500%. So what can i do? P.S. Sorry for english.
-
- mouse
- sensitivity
- (and 4 more)
-
Hello everyone. I have a script with some settings that can be changed on Admin Panel, they are working fine without any error. The settings are declared on meta.xml like this: <settings> <setting name="*playerHouseCounter" value="[1]" friendlyname="Número de casas por jogador" group="General" accept="1-5" desc="Quantas casas cada jogador pode ter ao mesmo tempo." /> <setting name="*keyVipLength" value="[4]" friendlyname="Número mínimo de caracteres na senha" group="General" accept="1-10" desc="Quantos caracteres no mínimo devem ter as senhas das casas." />
-
Olá novamente. Eu estou fazendo um script que possui configurações fora do script, aquelas configurações que vc declara no meta.xml e podem ser alteradas pelo painel admin. O script está tudo certo e as configurações estão funcionando. O problema é que quando eu altero qualquer valor de qualquer configuração, ele cria uma cópia dessa configuração com o novo valor e passa a utilizar essa nova configuração em vez da original, a configuração original continua com seu valor padrão e não é mais utilizada. Se eu tentar alterar o valor da cópia, ele cria uma terceira configuração cópia da cópia c
-
I have a gun sight system, but it keeps warning me when I click to aim ('Mouse2') I did a function to see if the error was going to go I'm going to put the old script and what I did PLEASE WHAT SHOULD I DO? old bindKey("mouse2","down",function() Crosshair_table = {} if getElementData(getLocalPlayer(),"sight") then if oldSight and oldSight == getElementData(getLocalPlayer(),"sight") then return end defaults = dxCreateTexture(getElementData(getLocalPlayer(),"sight")) oldSight = getElementData(getLocalPlayer(),"sight") Crosshair_table = dxCreateShader("utilitarios/painel/te
-
Hi, I got a problem with the "settings" on my script. I set in the meta the following: <settings> <setting name="*skinsPrice" value="2500" group="Price" desc="Set the price of the skins." /> </settings> But when I try to edit the value I got this error: Basically, if I edit one, another setting is created with the value I set, and the old setting is not changed. If I use get() function like this: function saveSkinPrice (skinsResource) if skinsResource ~= getThisResource() then return end local currentSkinPrice = get("skinsPrice") --I