[YARDIM] Markere Gelince Panel Açılımı

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı aves67

  • Yeni Üye
  • *
    • İleti: 50
: 04 Ağustos 2019, 16:54:28
Markere gelince chatte yazı gönderiyor şu tuşa basın falan yazı değil direk panel açılmasını istiyorum

Kod
	addEventHandler("onColShapeHit", house, function(hitElement)
if(getElementType(hitElement) == "player") then
setElementData(hitElement, "house:lastvisit", id)
bindKey(hitElement, open_key, "down", togglePlayerInfomenue, id)
outputChatBox("Ev Bilgilerine Ulaşmak Için "..open_key.." Tuşuna Basınız.", hitElement, 0, 255, 255)
end
end)

Panel ise client dosyasında

Kod
addEventHandler("onClientHouseSystemInfoMenueOpen", gMe, function(owner, x, y, z, price, locked, rentable, rentalprice, id, doingrent, isrentedin, owner_bool)
if(Guivar3 == 1) then
destroyElement(Fenster3[1])
showCursor(false)
Guivar3 = 0
return
end
Guivar3 = 1
showCursor(true)
guiSetInputMode("no_binds_when_editing")
local canadd = true
-- Make the variables --

local lockedstate = "no"
if(tonumber(locked) == 1) then lockedstate = "yes" end
local rentstate = "no"
if(tonumber(rentable) == 1) then rentstate = "yes" end

local X, Y, Width, Height = getMiddleGuiPosition(270,251)
Fenster3[1] = guiCreateWindow(X, Y, Width, Height,"Ev Bilgisi",false)

Mesaj Birleştirildi: [time]04 Ağustos 2019, 18:03:07[/time]
Tuşun tetiklendiği kodda kodu buldum ekliyorum tuş yerlerini silip ama açılmıyor

Kod
triggerClientEvent(thePlayer, "onClientHouseSystemInfoMenueOpen", thePlayer, owner, x, y, z, price, locked, rentable, rentalprice, id, house, isrentedin,owner_bool)
« Son Düzenleme: 30 Ağustos 2019, 23:06:29 Gönderen: Narkoz »
 


MTASATURK

[YARDIM] Markere Gelince Panel Açılımı
« : 04 Ağustos 2019, 16:54:28 »