Lua
tauchIcon = createMarker ( 822, 2, 1003.299987793, "cylinder", 1, 255, 0, 0, 170 )
function tauchhit ( player )
outputChatBox ( "/tauchen um zu tauchen!", player, 200, 2000, 20 )
end
addEventHandler ( "onMarkerHit", tauchIcon, tauchhit )
function tauch_func ( player, cmd )
end
addCommandHandler ( "tauchen", tauch_func )setTimer(function(player)
if isElement(player) then
setPedOxygenLevel(player, 1000)
end
end, 1000, 60*5, player)
Alles anzeigen
funkt egendwie nicht