NotAvailable Posted April 24, 2010 Share Posted April 24, 2010 here is my lua code: function createTheGate () myGate = createObject ( MyObjectID, 2490.4057617188, 1055.2071533203,58.293659210205 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate, 3000, 2490.1667480469, 1056.8166503906, 58.293659210205 ) setTimer ( movingMyGateBack, 5000, 1 ) end addCommandHandler("openmodgate",openMyGate) function movingMyGateBack () moveObject ( myGate, 3000, 2490.4140625, 1055.1296386719, 58.293659210205 ) end what is wrong? Link to comment
dzek (varez) Posted April 24, 2010 Share Posted April 24, 2010 duuude!! don't act like COOKIE2, or you will be hated too .. if you post problem in one topic, stick to it, and wait for reply, don't make another one about same problem! Link to comment
Recommended Posts