NotAvailable Posted April 24, 2010 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?
dzek (varez) Posted April 24, 2010 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! Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Recommended Posts