08.07.2011, 01:00
Change:
To:
You also need to learn how to detect if the gate is closed or open. I can't explain at the moment, got other stuff to do. But it's not opening/closing properly because you're not asking the script if it's opened or closed.
Код:
CreateObject(3749,316.01211548,-1785.01037598,9.54506397,0.00000000,0.00000000,0.00000000); //convertffs(1) gate2 = CreateObject(980,316.23278809,-1785.50659180,6.43586397,0.00000000,0.00000000,180.00000000); //convertffs(30)
Код:
gate = CreateObject(3749,316.01211548,-1785.01037598,9.54506397,0.00000000,0.00000000,0.00000000); //convertffs(1) gate2 = CreateObject(980,316.23278809,-1785.50659180,6.43586397,0.00000000,0.00000000,180.00000000); //convertffs(30)