Jump to content

BonSay~^

Members
  • Posts

    100
  • Joined

  • Last visited

Everything posted by BonSay~^

  1. Mas edita ali o script pra mim mano sou nessas coisas e queria editar a cor pode me ajudar?
  2. Como faço pra por cor nesse anuncio de admin ? http://imgur.com/2XWIZFA eu tentei colocar mas nao deu alguem pode me ajudar function announceScript(player, cmd, ...) local accountname = getAccountName(getPlayerAccount(player)) if ( hasObjectPermissionTo ( player, "command.mute", true ) ) then for id, players in ipairs(getElementsByType("player")) do local message = table.concat({...}," ") local textChat = textCreateDisplay () local textItem = textCreateTextItem( "#FFD700STAFF : #ffffff"..message, 0.5, 0.5, 1.5, 255,0 ,0 , 255, 2.5, "center", "center") textDisplayAddText ( textChat, textItem ) textDisplayAddObserver ( textChat, players ) setTimer ( textDestroyTextItem, 5000, 1, textItem ) setTimer ( textDestroyDisplay, 5000, 1, textChat ) end else outputChatBox(getPlayerName(player) .." #FF0000Você precisa estar logado como administrador para usar este comando!",player,255,255,255,true) end end addCommandHandler("anuncio", announceScript)
  3. Ola gostaria de faze um time pro meu vip como faço isso eu queria fazer um script tipo eu digito /addvip [Account] 3000000 adiciona o player na acl VIP tipo o 3000000 eo tempo do vip e quando esse tempo acaba sai sozinho da acl VIP sem precisar eu tirar alguem pode me ajudar nisso?
  4. bad argument line addEventHandler("onPlayerWasted",getRootElement(),sairdoevento)
  5. Mano eu troquei mas tipo se voce morre com outra skin voce nasce com ela queria que quando o player morresse nascesse com a skin do cj Cola o código aqui local spawnpoint addEventHandler("onResourceStart", resourceRoot, function() spawnpoint = getRandomSpawnPoint() resetMapInfo() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) function spawn(player) if not isElement(player) then return end if get("spawnreset") == "onSpawn" then spawnpoint = getRandomSpawnPoint() end exports.spawnmanager:spawnPlayerAtSpawnpoint(player,spawnpoint,false) repeat until setElementModel(player,math.random(312)) fadeCamera(player, true) setCameraTarget(player, player) showChat(player, true) end function getRandomSpawnPoint () local spawnpoints = getElementsByType("spawnpoint") return spawnpoints[0(1,#spawnpoints)] end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerQuit",root, function () if getPlayerCount() == 1 and get("spawnreset") == "onServerEmpty" then spawnpoint = getRandomSpawnPoint() end end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 1800, 1, source) end )
  6. clkei mano so q n funfo do mesmo jeito
  7. Mano eu troquei mas tipo se voce morre com outra skin voce nasce com ela queria que quando o player morresse nascesse com a skin do cj
  8. Pow no meu server quando a gente morre nao nasce com o cj nasce com 1 personagem aleatorio do jogo alguem pode me ajudar como deixo o cj como personagem principal?
  9. Krai tu é vivo ainda? ----- playersnoevento = 0 maxplayersnoevento = 100 function entrarnovento(thePlayer) playernoevento = playersnoevento + 1 if not (getElementData(thePlayer,"noevento")) then -- vê se o cara já ta no evento setElementData(thePlayer,"noevento",true) setElementPosition(thePlayer,seuX,seuY,seuZ) outputChatBox("[EVENTO] "..getPlayerName(source).." entrou no evento ["..playersnoevento.."/"..maxplayersnoevento.."]") end end addCommandHandler("irevento",entrarnoevento) function sairdoevento() if (playersnoevento > 0) then -- vÊ se tem alguém no evento pra não ficar -1 if getElementData(source,"noevento") then -- vê se o cara ta no evento pra ele poder usar o comando playersnoevento = playersnoevento - 1 setElementData(source,"noevento",false) outputChatBox("[EVENTO] "..getPlayerName(source).." saiu do evento ["..playersnoevento.."/"..maxplayersnoevento.."]") end end end addCommandHandler("sairevento",sairdoevento) addEventHandler("onPlayerWasted",getRootElement(),sairdoevento) Mano nao funfou tu tem skype rc alguma coisa para me explicar melhor isso ae
  10. Poxa alguem pode me mandar o script que mate com a sniper com apenas 1 tiro em qualquer parte do jogador obg ate agr so vi gente brigando U.u
  11. Vlw mano mas eu ja axei o que eu tinha net mas mesmo assim vlw
  12. Ola alguem tem um script de dar armas vida e colete para o server inteiro eu tinha ele mas formatei o pc e perdi eu tinha axado na net mas procurei um monte e n axei nd alguem pode disponibilizalo para mim?
  13. Eu quero que mate em qualquer parte do corpo nao so na cabeça
  14. Ola eu gostaria de alterar o dano da sniper do meu servidor para matar com 1 tiro eu sei que tem que usar setweaponproperty mas nao sei montar o script alguem me ajuda !!
  15. Ola preciso de ajuda no meu script quero fazer um chat kill no meu script por exemplo o jogador usa o tele /evento se ele morre depois que usou o comando aparece [ Evento ] O jogador [Jogador] morreu no evento restao 2/40 tipo ali no 2/40 o 2 eo tanto que falta de players e o 40 eo numero de pessoas que usou o comando e quando a ultima pessoa morrer por exemplo 1/40 aparece no chat [ Evento ] O jogador [Jogador] ganhou o evento por favor alguem pode me ajudar setElementDimension ( thePlayer, 3 ) takeAllWeapons ( thePlayer ) end addCommandHandler ( "evento", evento )
  16. Se você fez um sistema de evento (como vc mostrou no primeiro post) basta adicionar takeAllWeapons no codigo, assim: function evento ( thePlayer ) setElementDimension ( thePlayer, 3 ) takeAllWeapons ( thePlayer ) end addCommandHandler ( "evento", evento ) Vlw mano deu certo
  17. Mas como faço pra perder em outras dimensoes e que sou novo em scripts
  18. Ola eu gostaria de saber como faço para quando alguem vai para outra dimensao por exemplo 3 perca suas armas por que fiz um script de evento e gostaria de saber como posso fazer isso setElementDimension ( thePlayer, 3 ) end addCommandHandler ( "evento", evento )
  19. Hello my name is rafael I am Brazilian and I had to use google translator to speak with you. I wonder how I can block the mod's from my server in other dimensions and I did an event script for my only server I know not to do the script to block freeroam these things when the player use the / event I wanted when he used the / event and were pro denominated place for me he could not open the freeroam and other mods and for those who want to know setelementdimension put in my event script
  20. you can send it to me then
  21. no you're not understanding me I want a script geito I asked not for these things pls panel
  22. look at this script and very large you could edit it and send me?
  23. Hello I was wondering if anyone has an event script that when you type / irevento goes to a teleport done to such a place and when he dies but can not go back and appear in chat who died
  24. Hello I wanted to know what the script to edit and damage the sniper for me to leave at least it only for VIPs to see that they buy the vip has advantage who send me the script thanks
×
×
  • Create New...