0 Üye ve 1 Ziyaretçi konuyu incelemekte.
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)
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)
triggerClientEvent(thePlayer, "onClientHouseSystemInfoMenueOpen", thePlayer, owner, x, y, z, price, locked, rentable, rentalprice, id, house, isrentedin,owner_bool)