Jump to content

sousateew

Members
  • Posts

    10
  • Joined

  • Last visited

About sousateew

  • Birthday July 26

Details

  • Gang
    RIO Roleplay
  • Location
    Brasil
  • Occupation
    Developer
  • Interests
    Scripting

Recent Profile Visitors

740 profile views

sousateew's Achievements

Member

Member (5/54)

0

Reputation

  1. Oh, sorry. I did not realize it. addEventHandler("onClientKey", root, function (button,press) if button == "j" and not press then triggerServerEvent("jetpackClicked", localPlayer) end end) Or also, you can use bindKey bindKey("j", "down", function() triggerServerEvent("jetpackClicked", localPlayer) end)
  2. Try this: Client-side: addEventHandler("onClientKey", root, function (button,press) if button == "j" then triggerServerEvent("jetpackClicked", localPlayer) end end) Server-side: addEvent("jetpackClicked", true) addEventHandler('jetpackClicked', getRootElement(), function ( ) setPedWearingJetpack ( source, not isPedWearingJetpack( source ) ) end)
  3. I making animation script with bone rotation and interpolateBetween, but how do i get original bone rotation go to initial? Using the table to save the old rotation works, but it doesn't return to the original...
  4. Isso não altera nada. Você está com o MySQL ligado e configurou no script corretamente? Esse script precisa de uma conexão via MySQL, caso não tenha instalado ou configurado corretamente. Falhas como essa irão ocorrer.
  5. Queria saber como realizo uma função de trocar de window Tenho o seguinte code abaixo: function fds() if window == 1 then dxDrawImage(x*1450, y*285, x*355, y*708, "assets/wallpaper/1.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) elseif window == 2 then dxDrawImage(x*1450, y*285, x*355, y*708, "assets/wallpaper/1.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText(hours..":"..minutes, x*1495, y*310, x*1155, y*35, tocolor(255, 255, 255, 255), 0.90, "default-bold-small", "left", "top", false, false, false, false, false) dxDrawImage(x*1711, y*310, x*58, y*14, "assets/status_bar.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1450, y*285, x*355, y*708, "assets/overlay.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1485, y*365, x*65, y*65, "assets/icons/spotify.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1560, y*365, x*60, y*60, "assets/icons/seguro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1635, y*365, x*60, y*60, "assets/icons/uber.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1710, y*365, x*60, y*60, "assets/icons/paypal.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1485, y*445, x*65, y*65, "assets/icons/uber-eats.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1560, y*445, x*65, y*65, "assets/icons/whatsapp.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1635, y*445, x*65, y*65, "assets/icons/camera.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1710, y*445, x*65, y*65, "assets/icons/chrome.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1485, y*525, x*65, y*65, "assets/icons/config.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1600, y*900, x*60, y*60, "assets/icons/contatos.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1520, y*900, x*60, y*60, "assets/icons/chamada.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1680, y*900, x*58, y*58, "assets/icons/camera.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end dxDrawImage(x*1450, y*285, x*355, y*708, "assets/wallpaper/2.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText(hours..":"..minutes, x*1558.5, y*425, x*111, y*111, tocolor(255, 255, 255, 255), 1.0, gotham, "left", "top", false, false, false, false, false) dxDrawImage(x*1711, y*310, x*58, y*14, "assets/status_bar.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1450, y*285, x*355, y*708, "assets/overlay.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1593.5, y*355, x*60, y*60, "assets/cad.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1450, y*930, x*361, y*35, "assets/linha.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(x*1485.5, y*485, x*285, y*104, "assets/box.png", 0, 0, 0, tocolor(255, 255, 255, 185), false) dxDrawImage(x*1485.5, y*485, x*285, y*104, "assets/antibug.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end addEventHandler("onClientRender", getRootElement(), fds) Queria saber como coloco uma imagem pra quando clicar nela me mover para outra window (aba) (Script de Celular com ligação)
  6. Queria saber o event quando clico em mim e ele executa.
  7. Para resolver este problema é simples, Na aba Vídeo, Ative a opção "Ajustar HUD" e pronto.
  8. Queria saber como faço para colocar roupas em uma skin que não seja o CJ. Uma skin customizável.
×
×
  • Create New...