Jump to content

Flying boats like an flying cars - it's possible?


Recommended Posts

Hi all, good peoples. I've question - it is possible to make an script, so that boats will be able to fly? Like the flying cars? I'm trying to make command (below is modified "flying cars" and it works), it works, but setWorldSpecialPropertyEnabled don't accept "airboats". So, is there some other, working argument?

addCommandHandler("fly_boat", 
    function (command) 
        if not isWorldSpecialPropertyEnabled("airboats") 
        then 
            setWorldSpecialPropertyEnabled("airboats", true) -- airboats not work, but maybe it's a string like this, which works? 
            outputChatBox("Flying boats enabled.", 255, 255, 0) 
        else 
            setWorldSpecialPropertyEnabled("airboats", false) -- airboats not work, but maybe it's a string like this, which works? 
            outputChatBox("Flying boats disabled.", 255, 0, 0) 
        end 
    end 
) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...