0 Üye ve 1 Ziyaretçi konuyu incelemekte.
local marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 )local label = guiCreateLabel(70, 0, 336, 20, "TEST", false)guiSetVisible(label,false)function MarkerHit ( hitPlayer, matchingDimension ) guiSetVisible(label,true)endaddEventHandler ( "onClientMarkerHit", marker, MarkerHit )
Kod: lualocal marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 )local label = guiCreateLabel(70, 0, 336, 20, "TEST", false)guiSetVisible(label,false)function MarkerHit ( hitPlayer, matchingDimension ) guiSetVisible(label,true)endaddEventHandler ( "onClientMarkerHit", marker, MarkerHit )
local marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 )function markerGirdi( hitElement, matchingDimension ) if getElementType(hitElement) == "player" and (hitElement == localPlayer) then outputChatBox("Marker Girildi") endendaddEventHandler( "onClientMarkerHit", marker , markerGirdi)
Olmadı
local posx,posy,posz = 0,0,0 -- Marker koordinatlarını ayarla.local label = guiCreateLabel(50, 50, 336, 20, "TEST", false)guiSetVisible(label,false)local marker = createMarker ( posx, posy, posz, "cylinder", 1.5, 255, 255, 0, 170 )function markerGirdi( hitElement, matchingDimension ) if getElementType(hitElement) == "player" and (hitElement == localPlayer) then guiSetVisible(label,true) endendaddEventHandler( "onClientMarkerHit", marker , markerGirdi)
Ahmet Abi Label Dedim.
local marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 )local label = guiCreateLabel(x, y, w, h, "LABEL", false)guiSetVisible(label,false)function markerGirdi( hitElement, matchingDimension ) if getElementType(hitElement) == "player" and (hitElement == localPlayer) then outputChatBox("Marker Girildi") guiSetVisible(label,true) endendaddEventHandler( "onClientMarkerHit", marker , markerGirdi)
local posx,posy,posz = 493.40005493164,-1271.60546875,15.789039611816 -- Marker koordinatlarını ayarla. local label = guiCreateLabel(50, 50, 336, 20, "TEST", false)guiSetVisible(label,false) local marker = createMarker ( posx, posy, posz, "cylinder", 1.5, 255, 255, 0, 170 )function markerGirdi( hitElement, matchingDimension ) if getElementType(hitElement) == "player" and (hitElement == localPlayer) then guiSetVisible(label,true) endendaddEventHandler( "onClientMarkerHit", marker , markerGirdi)
<meta> <script src="s.lua" type="server" /> <script src="tele.lua"/></meta>
<meta> <script src="s.lua" type="client" /> <script src="tele.lua"/></meta>
function markerCikti( hitElement, matchingDimension )if getElementType(hitElement) == "player" and (hitElement == localPlayer) then guiSetVisible(label, false)endendaddEventHandler( "onClientMarkerLeave", marker , markerCikti)
Nere Yapıştırım BunuMesaj Birleştirildi: 30 Nisan 2017, 19:20:30Ahmet Abi Tam Kod Atsan