Lua
ZollMarkerPort = createMarker ( -2282.1999511719, 2288.3999023438, 4.5, "corona", 1, getColorFromString ( "#FF000099" ) )
function ZollMarker( player, dim )
if isZoll(player) then --Deine "If"-Abfrage halt, wo die Fraktion ausfindig gemacht wird
setElementInterior ( player, 6, 246.69999694824, 62.900001525879, 1003.5999755859)
outputChatBox ( "Du bist in den Zollmarker gegangen !", player, 125, 125, 0 )
else
outputChatBox ( "Nur Zollbeamte haben Zugang !", player, 255, 0, 0 )
end
end
addEventHandler ( "onMarkerHit", ZollMarkerPort, ZollMarker )
Alles anzeigen
[meta]<script src="King_Teleport.lua" />[/meta]