Neler yeni

Foruma hoş geldin, Ziyaretçi

Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.

Türkiye'nin İlk ve tek FiveM forum adresi

Forum adresimize hoş geldin FiveMTürk olarak amacımız siz değerli kullanıcılarımıza en aktif fikir ve paylaşım platformu sunmak bir yana en güvenilir şekilde alışveriş yapabileceğiniz bir platform sunmaktır.
DF DF
DF DF
DF DF

Cevaplandı GCPHONE TWİTTER RESİM YÜKLERKEN BUGDA KALIYOR

EmreBey01

Üye
FT Kullanıcı
Katılım
3 yıl 3 ay 5 gün
Mesajlar
6
GCPHONE TELEFON DA TWİTER A RESİM YÜKLERKEN BUGDA KALIYOR YÜKLENMİYOR TELEFON RESİM ÇEKME MODUNDA BUGDA KALIYOR YARDIMCI OLURMUSUNUZ
 
Merhaba,

Konunuzu yanlış kategoriye açtığınızdan dolayı tarafımca taşıma işlemi uygulanmıştır.

İyi Forumlar Dilerim , Saygılarımla..
 
Son düzenleme:
Discordan ulasın yardımcı oliyim Pack#6102
 
GCPHONE TELEFON DA TWİTER A RESİM YÜKLERKEN BUGDA KALIYOR YÜKLENMİYOR TELEFON RESİM ÇEKME MODUNDA BUGDA KALIYOR YARDIMCI OLURMUSUNUZ
knk telefonun foto çekmesini discord webhook a entegrele

ilk gcphone/client/client.lua buraya gir

Kod:
RegisterNUICallback('takePhoto', function(data, cb)
    CreateMobilePhone(1)
  CellCamActivate(true, true)
  takePhoto = true
  Citizen.Wait(0)
  if hasFocus == true then
    SetNuiFocus(false, false)
    hasFocus = false
  end
    while takePhoto do
    Citizen.Wait(0)

        if IsControlJustPressed(1, 27) then
            frontCam = not frontCam
            CellFrontCamActivate(frontCam)
    elseif IsControlJustPressed(1, 177) then
      DestroyMobilePhone()
      CellCamActivate(false, false)
      cb(json.encode({ url = nil }))
      takePhoto = false
      break
    elseif IsControlJustPressed(1, 176) then
            exports['screenshot-basic']:requestScreenshotUpload(data.url, data.field, function(data)
        local resp = json.decode(data)
        DestroyMobilePhone()
        CellCamActivate(false, false)
        cb(json.encode({ url = resp.files[1].url }))
      end)
      takePhoto = false
        end
        HideHudComponentThisFrame(7)
        HideHudComponentThisFrame(8)
        HideHudComponentThisFrame(9)
        HideHudComponentThisFrame(6)
        HideHudComponentThisFrame(19)
    HideHudAndRadarThisFrame()
  end
  Citizen.Wait(1000)
  PhonePlayAnim('text', false, true)
end)

bu kodu

Kod:
RegisterNUICallback('takePhoto', function(data, cb)
    CreateMobilePhone(1)
  CellCamActivate(true, true)
  takePhoto = true
  Citizen.Wait(0)
  if hasFocus == true then
    SetNuiFocus(false, false)
    hasFocus = false
  end
    while takePhoto do
    Citizen.Wait(0)

        if IsControlJustPressed(1, 27) then 
            frontCam = not frontCam
            CellFrontCamActivate(frontCam)
    elseif IsControlJustPressed(1, 177) then 
      DestroyMobilePhone()
      CellCamActivate(false, false)
      cb(json.encode({ url = nil }))
      takePhoto = false
      break
    elseif IsControlJustPressed(1, 176) then 
        exports['screenshot-basic']:requestScreenshotUpload("buraya webhook yazıyok", "files[]", function(data)
        local resp = json.decode(data)
        DestroyMobilePhone()
        CellCamActivate(false, false)
        cb(json.encode({ url = resp.attachments[1].proxy_url }))
      end)
      takePhoto = false
        end
        HideHudComponentThisFrame(7)
        HideHudComponentThisFrame(8)
        HideHudComponentThisFrame(9)
        HideHudComponentThisFrame(6)
        HideHudComponentThisFrame(19)
    HideHudAndRadarThisFrame()
  end
  Citizen.Wait(1000)
  PhonePlayAnim('text', false, true)
end)

bunla değiş webhook yerine webhook yaz düzelir
 
kanka webhook yazdım olmuyor gene bugda kalıyor
 
bu şekilde hala çalışmıyor webhook unu yazdım gene aynı
61146
 
knk telefonun foto çekmesini discord webhook a entegrele

ilk gcphone/client/client.lua buraya gir

Kod:
RegisterNUICallback('takePhoto', function(data, cb)
    CreateMobilePhone(1)
  CellCamActivate(true, true)
  takePhoto = true
  Citizen.Wait(0)
  if hasFocus == true then
    SetNuiFocus(false, false)
    hasFocus = false
  end
    while takePhoto do
    Citizen.Wait(0)

        if IsControlJustPressed(1, 27) then
            frontCam = not frontCam
            CellFrontCamActivate(frontCam)
    elseif IsControlJustPressed(1, 177) then
      DestroyMobilePhone()
      CellCamActivate(false, false)
      cb(json.encode({ url = nil }))
      takePhoto = false
      break
    elseif IsControlJustPressed(1, 176) then
            exports['screenshot-basic']:requestScreenshotUpload(data.url, data.field, function(data)
        local resp = json.decode(data)
        DestroyMobilePhone()
        CellCamActivate(false, false)
        cb(json.encode({ url = resp.files[1].url }))
      end)
      takePhoto = false
        end
        HideHudComponentThisFrame(7)
        HideHudComponentThisFrame(8)
        HideHudComponentThisFrame(9)
        HideHudComponentThisFrame(6)
        HideHudComponentThisFrame(19)
    HideHudAndRadarThisFrame()
  end
  Citizen.Wait(1000)
  PhonePlayAnim('text', false, true)
end)

bu kodu

Kod:
RegisterNUICallback('takePhoto', function(data, cb)
    CreateMobilePhone(1)
  CellCamActivate(true, true)
  takePhoto = true
  Citizen.Wait(0)
  if hasFocus == true then
    SetNuiFocus(false, false)
    hasFocus = false
  end
    while takePhoto do
    Citizen.Wait(0)

        if IsControlJustPressed(1, 27) then
            frontCam = not frontCam
            CellFrontCamActivate(frontCam)
    elseif IsControlJustPressed(1, 177) then
      DestroyMobilePhone()
      CellCamActivate(false, false)
      cb(json.encode({ url = nil }))
      takePhoto = false
      break
    elseif IsControlJustPressed(1, 176) then
        exports['screenshot-basic']:requestScreenshotUpload("buraya webhook yazıyok", "files[]", function(data)
        local resp = json.decode(data)
        DestroyMobilePhone()
        CellCamActivate(false, false)
        cb(json.encode({ url = resp.attachments[1].proxy_url }))
      end)
      takePhoto = false
        end
        HideHudComponentThisFrame(7)
        HideHudComponentThisFrame(8)
        HideHudComponentThisFrame(9)
        HideHudComponentThisFrame(6)
        HideHudComponentThisFrame(19)
    HideHudAndRadarThisFrame()
  end
  Citizen.Wait(1000)
  PhonePlayAnim('text', false, true)
end)

bunla değiş webhook yerine webhook yaz düzelir
 

Forumdan daha fazla yararlanmak için giriş yapın yada üye olun!

Forumdan daha fazla yararlanmak için giriş yapın veya kayıt olun!

Kayıt ol

Forumda bir hesap oluşturmak tamamen ücretsizdir.

Şimdi kayıt ol
Giriş yap

Eğer bir hesabınız var ise lütfen giriş yapın

Giriş yap

Bu konuyu görüntüleyen kullanıcılar

Tema düzenleyici

Tema özelletirmeleri

Granit arka planlar

Lütfen Javascript'i etkinleştirin!Javascript'i etkinleştirin!