#banana

Members
  • Content count

    29
  • Joined

  • Last visited

Community Reputation

1 Neutral

About #banana

  • Rank
    Advanced Member
  • Birthday 19/05/01

Details

  • Gang
    Kaos Gaming Roleplay
  • Location
    Brasil,Bauru,São Paulo
  • Occupation
    Estudante
  • Interests
    Aprender Programação e se eu puder viver disso.
  1. Proposta ainda de pé?
  2. Thank you guys, may God give you all the best. TOPIC CLOSED!
  3. The error is present in the console and continues to open to player outside the team
  4. Hello guys, I have this problem in this script was for him to open the door only for gangs, but it is opening for any player and is giving this one on the console as you can see below if you can help me thanks! CODE! gate = createObject(971, 1543.400390625, -1628.2001953125, 15.89999961853, 0, 0, 90) x,y,z = getElementPosition (gate) zona = createColCircle ( x,y, 7, 7 ) function open() playerTeam = getPlayerTeam ( source ) Clann = getTeamFromName ("BOPE") if (playerTeam) == Clann then moveObject(gate, 2000, 1543.4000244141, -1619.0999755859, 15.89999961853 ) end end addEventHandler ( "onColShapeHit", zona, open ) function close() moveObject(gate, 2000, 1543.400390625, -1628.2001953125, 15.89999961853 ) end addEventHandler ( "onColShapeLeave", zona, close )
  5. seria mais facil se você cria-se um script de zombies fixos em seu server ficaria mais organizado e sem aqueles problemas de ficar respawnando na sua frente.
  6. obrigado! mais uma coisa que aprendi hoje jjjkkkjk TOPICO FECHADO!
  7. na verdade eu agradeci,mas todos esses scripts e muitos outros encontrados são bugados e forçam-nos a fazer manualmente,sorte que não fechei o topico kkk
  8. Obrigado novamente isso vai facilitar muito a minha vida para os mapas do kaos Gaming.
  9. Olá amigos,olha eu aqui novamente.Estou com um mini script que eu fiz para abrir/fechar o portão como podem ver nas prints baixo ao invés dele só abrir para a esquerda e voltar normalmente ele está dando alguns 360 maluco haha zueira,abaixo da prints está o código para que possam analisar Obrigado! CODIGO local gate = createObject(971, 1543.400390625, -1628.2001953125, 15.89999961853, 0, 0, 90) function open() moveObject(gate, 2000, 1543.4000244141, -1619.0999755859, 15.89999961853, 0, 0, 90 ) end addCommandHandler("abrir", open) function close() moveObject(gate, 2000, 1543.400390625, -1628.2001953125, 15.89999961853, 0, 0, 90 ) end addCommandHandler("fechar", close) OBS: Tanto para abrir e para fechar o portão está se retorcendo assim!
  10. obrigado,creio que você poderá me ajudar no post que vou fazer ágora também.. kkk TOPICO FECHADO!
  11. já consequi arrumar erá um aquivo da gamemode nerd gaming que bloqueava o painel se não adicionasse a acl arrumei mas valeu!
  12. Olá rapazes gostaria de saber como eu posso postar imagens em um topico presiso disso para um topico que vou criar! se puder me ajudar,Obrigado
  13. Look here again ... Well this time the problem is with the resource slothbot. As you can see in this script below I created 2 bots guardians in an interior, but whenever I execute the command / render and enter the bots are stopped And I want them to move what I can change in the script? ----------------------------------------------------------------------------------------------------------------------------- local Mk1 = createMarker(2412.501953125, 1123.806640625, 10.8203125 +1,"arrow",1.8,255,255,0,255) local Mk2 = createMarker(390.76953125, 173.7890625, 1008.3828125 +1,"arrow",1.8,255,255,0,255) local Mk3 = createMarker(368.4228515625, 194.044921875, 1008.3828125 -1,"cylinder",1.2,255,50,0,80) local Mk4 = createMarker(2149.4716796875, 1603.0419921875, 1006.1677246094 -1,"cylinder",1.2,255,50,0,80) local Mk5 = createMarker(2144.21484375, 1625.703125, 993.68817138672 -1,"cylinder",2,255,50,0,50) local Mka = createMarker(2165.1083984375, 1600.6103515625, 999.97644042969 -1,"cylinder",1.2,255,50,0,30) ---------------------------------------------------------------------------------------------------------- setElementDimension(Mk2,0) setElementInterior(Mk2,3) setElementDimension(Mk3,0) setElementInterior(Mk3,3) setElementDimension(Mk4,0) setElementInterior(Mk4,1) setElementDimension(Mk5,0) setElementInterior(Mk5,1) setElementInterior(Mka,1) ------------------------------------------------- function warp (player) setElementPosition(player,388.8701171875, 173.806640625, 1008.3828125) setElementDimension(player,0) setElementInterior(player,3) end addEventHandler("onMarkerHit",Mk1,warp) -------------------------------------------------------------------------------- function warp2 (player) setElementPosition(player,2414.3779296875, 1123.6572265625, 10.8203125) setElementDimension(player,0) setElementInterior(player,0) end addEventHandler("onMarkerHit",Mk2,warp2) -------------------------------------------------------------------------------- function warp3 (player) setElementPosition(player,2148.3505859375, 1602.6572265625, 1006.1677246094) setElementRotation(player,0, 0, 110.73016357422) setElementDimension(player,0) setElementInterior(player,1) end addEventHandler("onMarkerHit",Mk3,warp3) --------------------------------------------------------------------------------- function warp4 (player) setElementPosition(player,367.85546875, 192.9169921875, 1008.3828125) setElementRotation(player,0, 0, 146.19454956055) setElementDimension(player,0) setElementInterior(player,3) end addEventHandler("onMarkerHit",Mk4,warp4) ---------------------------------------------------------------------------------- function atvbomba (player) outputChatBox("#FFFFFFPara arrombar o cofre digite /arrombar",player,0,0,0,true) end addEventHandler("onMarkerHit",Mk5,atvbomba) ----------------------------------------------------------------------------------- function pedLoad () local ped1 = createPed ( 150, 2166.708984375, 1600.205078125, 999.97448730469 ) setElementInterior(ped1, 1) setElementRotation( ped1, 0, 0, 69.53076171875 ) end addEventHandler ( "onResourceStart", getResourceRootElement(), pedLoad ) ------------------------------------------------------------------------------------ function spawnar() exports.slothbot:spawnBot ( 2142.0341796875, 1607.2802734375, 993.68817138672, 0, 71, 1, 0, nil, 27, "guarding" ) exports.slothbot:spawnBot ( 2146.7744140625, 1607.1728515625, 993.68817138672, 0, 71, 1, 0, nil, 27, "guarding" ) end addCommandHandler("render",spawnar) ---------------------------------------------------------------------------------------------------------------------------
  14. Thank you worked Already taking advantage of the cituation I think it's too annoying to add marker pro marker is there any specific function that can create several at once only with the coordinates?
  15. Here is local Mk1 = createMarker(2412.501953125, 1123.806640625, 10.8203125 +1,"arrow",1.8,255,255,0,255) local Mk2 = createMarker(390.76953125, 173.7890625, 1008.3828125 +1,"arrow",1.8,255,255,0,255) local Mk3 = createMarker(368.4228515625, 194.0439453125, 1008.3828125 +1,"arrow",1.4,255,50,0,255) local Mk4 = createMarker(2149.4716796875, 1603.0419921875, 1006.1677246094 +1,"arrow",1.4,255,50,0,255) local Mk5 = createMarker(2144.21484375, 1625.703125, 993.68817138672 -1,"cylinder",2,255,50,0,255) setElementDimension(Mk2,0) setElementInterior(Mk2,3) setElementDimension(Mk3,0) setElementInterior(Mk3,3) setElementDimension(Mk4,0) setElementInterior(Mk4,1) setElementDimension(Mk5,0) setElementInterior(Mk5,1) function warp (player) setElementPosition(player,388.8701171875, 173.806640625, 1008.3828125) setElementDimension(player,0) setElementInterior(player,3) end addEventHandler("onMarkerHit",Mk1,warp) function warp2 (player) setElementPosition(player,2414.3779296875, 1123.6572265625, 10.8203125) setElementDimension(player,0) setElementInterior(player,0) end addEventHandler("onMarkerHit",Mk2,warp2) function warp3 (player) setElementPosition(player,2147.8505859375, 1601.66796875, 1006.1677246094) setElementDimension(player,0) setElementInterior(player,1) end addEventHandler("onMarkerHit",Mk3,warp3) function atvbomba (player) outputChatBox("#FFFFFFPara arrombar o cofre digite /arrombar",player,0,0,0,true) end addEventHandler("onMarkerHit",Mk5,atvbomba) function pedLoad ( ped1 ) createPed ( 105, 2144.974609375, 1633.62890625, 993.57611083984 ) setElementInterior(ped1, 1) end addEventHandler ( "onResourceStart", getResourceRootElement(), pedLoad )