[Yardım] Debug

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı Minato

  • Bilgin Üye
  • *
    • İleti: 285
: 28 Ekim 2020, 23:49:02
Login Panel ve Ses Paneli buglarına yardım edebilcek var mı ?

Linki görebilmek için Kayıt olun yada Giriş yapın.

45.Satır
Kod
guiSetFont(login.label_chek_two, login.font["chek_b"] )

46.Satır
Kod
guiLabelSetColor(login.label_chek_two, 255, 255, 255)

89
Kod
setSoundVolume(sound, 0.1) -- set the sound volume to 50%

104
Kod
local function loginPanelVisible(state) 
guiSetVisible(login.back_ground, state)
guiSetVisible(login.back_ground1, state)
if state == false then
stopSound(sound)   104
end
showCursor(state)
end

314
Kod
function createSpeaker (player, url, distance, x, y, z, rotation, loopCheck)
local url = tostring (url)
speakers[player] = {}   314
if not disabledPlayers[getPlayerName (localPlayer)] then
speakers[player]["sound"] = playSound3D (url, x, y, z, loopCheck)   
setSoundMaxDistance (speakers[player]["sound"], distance)
end
DRIFT MASTERS
 


MTASATURK

[Yardım] Debug
« : 28 Ekim 2020, 23:49:02 »

Çevrimdışı mantar_

  • Yeni Üye
  • *
    • İleti: 13
Yanıtla #1 : 28 Ekim 2020, 23:55:57
GUI hataların gui elementini bulamadığı için gui elementlerini paylaşmadan yardım edemem,

Satır 314 için dener misin
Kod
function createSpeaker (player, url, distance, x, y, z, rotation, loopCheck)
  local url = tostring (url)
  speakers[player] = {}
 
  local playerName = getPlayerName(localPlayer)
if not disabledPlayers[playerName] then
         speakers[player]["sound"] = playSound3D (url, x, y, z, loopCheck)   
         setSoundMaxDistance (speakers[player]["sound"], distance)
  end
end
 


Çevrimdışı Minato

  • Bilgin Üye
  • *
    • İleti: 285
Yanıtla #2 : 28 Ekim 2020, 23:59:46
Linki görebilmek için Kayıt olun yada Giriş yapın.
GUI hataların gui elementini bulamadığı için gui elementlerini paylaşmadan yardım edemem,

Satır 314 için dener misin
Kod
function createSpeaker (player, url, distance, x, y, z, rotation, loopCheck)
  local url = tostring (url)
  speakers[player] = {}
 
  local playerName = getPlayerName(localPlayer)
if not disabledPlayers[playerName] then
         speakers[player]["sound"] = playSound3D (url, x, y, z, loopCheck)   
         setSoundMaxDistance (speakers[player]["sound"], distance)
  end
end


Linki görebilmek için Kayıt olun yada Giriş yapın. şunu aldım
DRIFT MASTERS
 


Çevrimdışı mantar_

  • Yeni Üye
  • *
    • İleti: 13
Yanıtla #3 : 29 Ekim 2020, 00:14:59
function createSpeaker(player, url, distance, x, y, z, rotation, loopCheck)
  local url = tostring(url)
  speakers[player] = {}
 
  local playerName = getPlayerName(localPlayer)
   if not (disabledPlayers[playerName]) then
    speakers[player]["sound"] = playSound3D(url, x, y, z, loopCheck)   
    setSoundMaxDistance(speakers[player]["sound"], distance)
  end
end

Code içinde attığımda saçma bir şekilde atıyor, böyle dener misin.
 


Çevrimdışı Minato

  • Bilgin Üye
  • *
    • İleti: 285
Yanıtla #4 : 29 Ekim 2020, 00:18:43
Linki görebilmek için Kayıt olun yada Giriş yapın.
function createSpeaker(player, url, distance, x, y, z, rotation, loopCheck)
  local url = tostring(url)
  speakers[player] = {}
 
  local playerName = getPlayerName(localPlayer)
   if not (disabledPlayers[playerName]) then
    speakers[player]["sound"] = playSound3D(url, x, y, z, loopCheck)   
    setSoundMaxDistance(speakers[player]["sound"], distance)
  end
end

Code içinde attığımda saçma bir şekilde atıyor, böyle dener misin.

Aynı hatayı aldım

Görkem#2999 dc varsa yazabilirsin
DRIFT MASTERS