Lua
tor_67894 = createObject(989 , 1779.8000488281, 2614.3000488281 , 11.60000038147, 0 ,0 ,199.98962402344)
tor_s_67894 = "zu"
addCommandHandler("67894", function ( )
if tor_s_67894 == "zu" then
moveObject(tor_67894, 2000, 1779.8000488281 , 2614.3000488281 , 5)
tor_s_67894 = "auf"
else
moveObject(tor_ 1780.1999511719, 2610.5, 11.60000038147, 199.98962402344)
tor_s_67894 = "zu"
end
end)
Alles anzeigen
Das sind meine Ersten Scripts, aber sie werden nicht im Lokal Host angezeigt
Lua
tor_67894 = createObject(989 , 1779.8000488281, 2614.3000488281 , 11.60000038147, 0 ,0 ,199.98962402344)
tor_s_67894 = "zu"
addCommandHandler("67894", function ( )
if tor_s_67894 == "zu" then
moveObject(tor_67894, 2000, 1779.8000488281 , 2614.3000488281 , 5)
tor_s_67894 = "auf"
else
moveObject(tor_ 1780.1999511719, 2610.5, 11.60000038147, 199.98962402344)
tor_s_67894 = "zu"
end
end)
Alles anzeigen
Vielen Dank