Ich habe ein Problem die Warpmarker funktionieren nicht
wisst ihr woran das liegen kann ? DAS SIND 2 VERSCHIEDENE !!
Lua
local Exitdoor = createMarker( 1360.8000488281, 2198.1000976563, 9.5, "cylinder", 1.5, 150, 0, 0, 255 )
function Exitd( player )
if (source == Exitdoor) then
if getElementType(player) == "player" then
fadeCamera ( player, false, 1, 0, 0, 0 )
setTimer ( fadeCamera, 1000, 1, player, true, 1 )
setTimer ( setElementPosition, 1000, 1, player, 211.30000305176, 1811.4000244141, 21.60000038147 )
setTimer ( setElementInterior, 1000, 1, player, 0, 211.30000305176, 1811.4000244141, 21.60000038147 )
toggleControl ( player, "fire", true )
end
end
end
addEventHandler ("onMarkerHit", getRootElement() ,Exitd )
local Exitdoor = createMarker( 223.39999389648, 1931.5, 17.299999237061, "cylinder", 1.5, 150, 0, 0, 255 )
function Exitd( player )
if (source == Exitdoor) then
if getElementType(player) == "player" then
fadeCamera ( player, false, 1, 0, 0, 0 )
setTimer ( fadeCamera, 1000, 1, player, true, 1 )
setTimer ( setElementPosition, 1000, 1, player, 1305.1999511719, 2107, 10.699999809265 )
setTimer ( setElementInterior, 1000, 1, player, 0, 1305.1999511719, 2107, 10.699999809265 )
toggleControl ( player, "fire", true )
end
end
end
addEventHandler ("onMarkerHit", getRootElement() ,Exitd )
Alles anzeigen