Wie kann ich dieses Gate für meinen Freund und mich machen?
Lua
Gate = createObject ( 980, -1527.90002, 737.40002, 9, 0, 0, 90 ) --created Gate
function moveGate_func ( player )
if getPlayerName ( player ) == "[Play]PlayOfLife" then
if GateState then
moveObject ( Gate, 3000, -1527.90002, 737.40002, 9, 0, 0, 270 ) --moved Tor AUF
else
moveObject ( Gate, 3000, -1527.90002, 737.40002, 2.3, 0, 0, 270 ) --moved Tor ZU
end
GateState = not GateState
end
end
addCommandHandler ("inhaber", moveGate_func)
Alles anzeigen