0 Üye ve 1 Ziyaretçi konuyu incelemekte.
MarkerCAS = createMarker (1422.1999511719, -1180, 27.60000038147, "arrow", 2.5, 214, 131, 0, 255 ) -- Giriş YeriMarkerSAID = createMarker (2741.3000488281, -7902.5, 2154.3000488281, "arrow", 2.5, 214, 131, 0, 255 ) -- Cikis YeriMarkerCAS1 = createMarker (1426.0999755859, -1219.5, 196.69999694824, "arrow", 2.5, 214, 131, 0, 255 ) -- Giriş YeriMarkerSAID1 = createMarker (2735.6000976563, -7896.6000976563, 2154.3000488281, "arrow", 2.5, 214, 131, 0, 255 ) -- Cikis YerisetElementInterior(MarkerSAID, 0)function isAdmin(player) local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then return true end return falseendfunction IntSTAFF(thePlayer)if source == MarkerCAS and isAdmin(thePlayer) thenfadeCamera(thePlayer, false)setTimer( fadeCamera, 1000, 1, thePlayer, true)setTimer(setElementInterior, 1000, 1, thePlayer, 0)setTimer(setElementPosition, 1000, 1, thePlayer, 2744.5930175781, -7902.5747070313, 2152.7009277344, true) -- Giris Yerinin spawnisetTimer(setPedRotation, 800, 2, thePlayer, 0)endendaddEventHandler("onMarkerHit", getRootElement(), IntSTAFF)function SaidSTAFF(thePlayer)if source == MarkerSAID and isAdmin(thePlayer) thenfadeCamera(thePlayer, false)setTimer( fadeCamera, 1000, 1, thePlayer, true)setTimer(setElementInterior, 1000, 1, thePlayer, 0)setTimer(setElementPosition, 1000, 1, thePlayer, 1422.2197265625, -1176.5166015625, 25.9921875, true) -- Cikis Yerinin spawnisetTimer(setPedRotation, 800, 2, thePlayer, 0)endendaddEventHandler("onMarkerHit", getRootElement(), SaidSTAFF)function IntSTAFF(thePlayer)if source == MarkerCAS1 and isAdmin(thePlayer) thenfadeCamera(thePlayer, false)setTimer( fadeCamera, 1000, 1, thePlayer, true)setTimer(setElementInterior, 1000, 1, thePlayer, 0)setTimer(setElementPosition, 1000, 1, thePlayer, 2735.7248535156, -7893.6733398438, 2152.6999511719, true) -- Giris Yerinin spawnisetTimer(setPedRotation, 800, 2, thePlayer, 0)endendaddEventHandler("onMarkerHit", getRootElement(), IntSTAFF)function SaidSTAFF(thePlayer)if source == MarkerSAID1 and isAdmin(thePlayer) thenfadeCamera(thePlayer, false)setTimer( fadeCamera, 1000, 1, thePlayer, true)setTimer(setElementInterior, 1000, 1, thePlayer, 0)setTimer(setElementPosition, 1000, 1, thePlayer, 1423.48046875, -1219.4677734375, 195.046875, true) -- Cikis Yerinin spawnisetTimer(setPedRotation, 800, 2, thePlayer, 0)endendaddEventHandler("onMarkerHit", getRootElement(), SaidSTAFF)
Kod MarkerCAS = createMarker (1422.1999511719, -1180, 27.60000038147, "arrow", 2.5, 214, 131, 0, 255 ) -- Giriş YeriMarkerSAID = createMarker (2741.3000488281, -7902.5, 2154.3000488281, "arrow", 2.5, 214, 131, 0, 255 ) -- Cikis YeriMarkerCAS1 = createMarker (1426.0999755859, -1219.5, 196.69999694824, "arrow", 2.5, 214, 131, 0, 255 ) -- Giriş YeriMarkerSAID1 = createMarker (2735.6000976563, -7896.6000976563, 2154.3000488281, "arrow", 2.5, 214, 131, 0, 255 ) -- Cikis YerisetElementInterior(MarkerSAID, 0)function isAdmin(player) local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then return true end return falseendfunction IntSTAFF(thePlayer)if source == MarkerCAS and isAdmin(thePlayer) thenfadeCamera(thePlayer, false)setTimer( fadeCamera, 1000, 1, thePlayer, true)setTimer(setElementInterior, 1000, 1, thePlayer, 0)setTimer(setElementPosition, 1000, 1, thePlayer, 2744.5930175781, -7902.5747070313, 2152.7009277344, true) -- Giris Yerinin spawnisetTimer(setPedRotation, 800, 2, thePlayer, 0)endendaddEventHandler("onMarkerHit", getRootElement(), IntSTAFF)function SaidSTAFF(thePlayer)if source == MarkerSAID and isAdmin(thePlayer) thenfadeCamera(thePlayer, false)setTimer( fadeCamera, 1000, 1, thePlayer, true)setTimer(setElementInterior, 1000, 1, thePlayer, 0)setTimer(setElementPosition, 1000, 1, thePlayer, 1422.2197265625, -1176.5166015625, 25.9921875, true) -- Cikis Yerinin spawnisetTimer(setPedRotation, 800, 2, thePlayer, 0)endendaddEventHandler("onMarkerHit", getRootElement(), SaidSTAFF)function IntSTAFF(thePlayer)if source == MarkerCAS1 and isAdmin(thePlayer) thenfadeCamera(thePlayer, false)setTimer( fadeCamera, 1000, 1, thePlayer, true)setTimer(setElementInterior, 1000, 1, thePlayer, 0)setTimer(setElementPosition, 1000, 1, thePlayer, 2735.7248535156, -7893.6733398438, 2152.6999511719, true) -- Giris Yerinin spawnisetTimer(setPedRotation, 800, 2, thePlayer, 0)endendaddEventHandler("onMarkerHit", getRootElement(), IntSTAFF)function SaidSTAFF(thePlayer)if source == MarkerSAID1 and isAdmin(thePlayer) thenfadeCamera(thePlayer, false)setTimer( fadeCamera, 1000, 1, thePlayer, true)setTimer(setElementInterior, 1000, 1, thePlayer, 0)setTimer(setElementPosition, 1000, 1, thePlayer, 1423.48046875, -1219.4677734375, 195.046875, true) -- Cikis Yerinin spawnisetTimer(setPedRotation, 800, 2, thePlayer, 0)endendaddEventHandler("onMarkerHit", getRootElement(), SaidSTAFF)
Tamam, Teşekkür ederimm, Ellerine SağlıkMesaj Birleştirildi: 19 Ekim 2019, 21:29:20Ayrıca bu markerı animasyon haline getirebiliyor muyuz? Hani yukarı aşağı doğru hareket edecek
marker cylinder ise Linki görebilmek için Kayıt olun yada Giriş yapın.
Hayır demek istediğim, Arrow olan sabit ama ben onun yukarı aşağı dogru animasyonlu istiyorum
Anladığım kadarıyla istediğin şey arrow marker'n aşağı-yukarı animasyonlu hali, böyle bir kod olmadığını biliyorum ama Linki görebilmek için Kayıt olun yada Giriş yapın. gibi dx kodlarıyla kendine bi arrow çizip aşağı yukarı animasyonunu yapabilirsin