Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: bindkeya
1. Teleport Na BINDKEY'a POMOCY
Tak jak w tytule..
A mianowicie potrzebuj? zrobi? TELEPORT NA BINDKEY'a lecz nie wiem jak si? za to zabra? :|

Mam co? takiego

local wejscie createMarker(1568.5999755859, -1689.59997558596.5999999046326"arrow"1243,246,22,138)
local wyjscie createMarker(1565.5, -1676.40002441413448.6000976563"arrow"1243,246,22,138)

function 
TeleportDoInterioru(player)
if 
getElementType(player)=="player" then
if source == wejscie then
setElementPosition
(player1565.42249, -1677.865973448.26245)
setElementInterior(player0)
setElementInterior(wyjscie0)
setElementFrozen(playertrue)
setTimer(setElementFrozen,2000,1,player,false)
end
end
end
addEventHandler
("onMarkerHit"wejscieTeleportDoInterioru)

function 
WyjscieZInterioru(player)
if 
getElementType(player)=="player" then
if source == wyjscie then
setElementPosition
(player1568.52307, -1691.571785.89063
setElementInterior(player0)
setElementFrozen(playertrue)
setTimer(setElementFrozen,2000,1,player,false)
end
end
end
addEventHandler
("onMarkerHit"wyjscieWyjscieZInterioru)
[/u]