[DooD]Heavyair
Members-
Posts
264 -
Joined
-
Last visited
Everything posted by [DooD]Heavyair
-
sorry to butt in but i was wondering if when u set an interior does it just make the walls and floors or does it place all the objects as well ( like will 8 track stadium create the figure 8 race track as well as the walls and floors ) thanx for any reply
-
sorry to butt in but i was wondering if when u set an interior does it just make the walls and floors or does it place all the objects as well ( like will 8 track stadium create the figure 8 race track as well as the walls and floors ) thanx for any reply
-
AWESOME it seems that im missing a lot of commands ( like that getDistanceBetweenTwoPoints thing are all the commands listed anywhere or are they all on the wiki and im just being dumb i think a lot of my problems are not knowing how to tell the script what i want it to do can someone tell me where i can find them all THANX AGAIN robhol and ace_gambit i have had a quick look at your script ace_gambit and id like to see if im getting the idea should i add an event handler that will fire when your testtargetangleagainstLOS returns true not sure if i worded that right what i mean is if something flys into the line of sight your function will return true and then i should have an event handler that fires a missle / bomb when your function returns true hope that makes some sense
-
AWESOME it seems that im missing a lot of commands ( like that getDistanceBetweenTwoPoints thing are all the commands listed anywhere or are they all on the wiki and im just being dumb i think a lot of my problems are not knowing how to tell the script what i want it to do can someone tell me where i can find them all THANX AGAIN robhol and ace_gambit i have had a quick look at your script ace_gambit and id like to see if im getting the idea should i add an event handler that will fire when your testtargetangleagainstLOS returns true not sure if i worded that right what i mean is if something flys into the line of sight your function will return true and then i should have an event handler that fires a missle / bomb when your function returns true hope that makes some sense
-
thanx for the help but i have no idea about the math stuff i kind of understand what your saying about calculating the distance but how to actually use it i have no idea at all i have looked at the way math is used in other script ( interstae 69 for the minigun and stuff ) but it just confuses me completely which is why im trying to use the collision sphere i think i might just have to live with stationery sam sites and come up with another way of doing this thanx again
-
thanx for the help but i have no idea about the math stuff i kind of understand what your saying about calculating the distance but how to actually use it i have no idea at all i have looked at the way math is used in other script ( interstae 69 for the minigun and stuff ) but it just confuses me completely which is why im trying to use the collision sphere i think i might just have to live with stationery sam sites and come up with another way of doing this thanx again
-
i have been trying to make a moving SAM SITE based on vercetti 1010s SAM SITE script so far i have tried to attach a collision sphere to an object and then move the object but this doesnt move the collision sphere i have also tried moving the collision sphere itself with moveObject but that didnt work either setElementPosition will move it but i need the collision to stay active while it moves and setElementPosition just takes it from one place and puts it in another but its not active while its moving ace_gambit said he has moved on to using math to calculate line of sight for his sam site but i dont even know how to start doing that so i need to get this working i can post the scripts i have tried but i dont think they are much help any ideas / advice really appreciated
-
i have been trying to make a moving SAM SITE based on vercetti 1010s SAM SITE script so far i have tried to attach a collision sphere to an object and then move the object but this doesnt move the collision sphere i have also tried moving the collision sphere itself with moveObject but that didnt work either setElementPosition will move it but i need the collision to stay active while it moves and setElementPosition just takes it from one place and puts it in another but its not active while its moving ace_gambit said he has moved on to using math to calculate line of sight for his sam site but i dont even know how to start doing that so i need to get this working i can post the scripts i have tried but i dont think they are much help any ideas / advice really appreciated
-
seem to be getting there this is quite fun server-side deathSphere = createColSphere ( 0, 0, -250, 200 ) warningSphere = createColSphere ( 0, 0, -250, 500 ) element = getRootElement() function enableSam ( element ) setElementPosition ( deathSphere, 354, 2027, 25 ) setElementPosition ( warningSphere, 354, 2027, 25 ) outputChatBox ( "You have enabled the SAM sites at AREA 69", thePlayer, 255, 0, 0 ) end function disableSam ( element ) setElementPosition ( deathSphere, 0, 0, -9999 ) setElementPosition ( warningSphere, 0, 0, -9999 ) outputChatBox ( "You have disabled the SAM sites at AREA 69", thePlayer, 255, 0, 0 ) end function samSite ( element, matchingDimension ) if ( getElementType ( element ) == "player" ) then veh = getPlayerOccupiedVehicle ( element ) id = getVehicleID ( veh ) if ( id == 592 or id == 577 or id == 511 or id == 548 or id == 512 or id == 593 or id == 417 or id == 487 or id == 553 or id == 488 or id == 497 or id == 563 or id == 476 or id == 447 or id == 519 or id == 460 or id == 469 or id == 513 or id == 464 or id == 501 or id == 465 ) then triggerClientEvent ( element, "onSamTrigger", getRootElement() ) outputChatBox ( "Surface to air missiles have been fired!", element, 255, 0, 0 ) end end end function samWarn ( element, matchingDimension ) if ( getElementType ( element ) == "player" ) then veh = getPlayerOccupiedVehicle ( element ) id = getVehicleID ( veh ) if ( id == 592 or id == 577 or id == 511 or id == 548 or id == 512 or id == 593 or id == 417 or id == 487 or id == 553 or id == 488 or id == 497 or id == 563 or id == 476 or id == 447 or id == 519 or id == 460 or id == 469 or id == 513 or id == 464 or id == 501 or id == 465 ) then outputChatBox ( "Warning! AREA 69 has SAM sites activated! Turn back!", element, 255, 0, 0 ) end end end function jetpackTrigger ( element, matchingDimension ) if ( getElementType ( element ) == "player" ) then if ( doesPlayerHaveJetPack ( element ) ) then outputChatBox ( "Warning! AREA 69 will kill you with telepathy if you go in with a jetpack!", element, 255, 0, 0 ) end end end function jetpackWarn ( element, matchingDimension ) if ( getElementType ( element ) == "player" ) then if ( doesPlayerHaveJetPack ( element ) ) then triggerClientEvent ( element, "onSamTrigger", getRootElement() ) outputChatBox ( "I wasn't lying about the telepathy death. Enjoy the fireworks!", thePlayer, 255, 0, 0 ) killPlayer ( element ) end end end addCommandHandler ( "asamon", enableSam ) addCommandHandler ( "asamoff", disableSam ) addEventHandler ( "onColShapeHit", deathSphere, samSite ) addEventHandler ( "onColShapeHit", warningSphere, samWarn ) addEventHandler ( "onColShapeHit", deathSphere, jetpackWarn ) addEventHandler ( "onColShapeHit", warningSphere, jetpackTrigger ) client-side element = getRootElement function samTrigger ( element ) local missle1 = createObject ( 3786, 354, 2028, 26 ) local missle2 = createObject ( 3786, 354, 2026, 26 ) local x,y,z = getElementPosition ( getLocalPlayer () ) setTimer ( moveObject, 200, 1, missle1, 1800, x, y, z ) end addEvent ( "onSamTrigger", true ) addEventHandler ( "onSamTrigger", getRootElement(), samTrigger ) looks quite rough at the moment but i will try to make it look better it creates a couple of missles on top of sam site ( will set them up so their inside the sam ) launches them at the coordinates of the player when they enter the collision sphere giving u time to avoid u will need to alter the moveobject time depending how hard u want to make it to avoid and next i will add a create explosion on a timer so i can make anti aircraft barrage sort of thing im still trying to get the hang of createprojectile but i like this because i have control over missle speed and u can see the missle coming at you which i thought is pretty cool only thing im struggling to figure is how to set rotation of the missle so its pointed at the target added the explosion now client-side have noticed that u end up with missles left all over the place but i cant get destroyElement to work tried putting it on a timer and then i tried using a check in the function to see where the missle is and destroy it if its at the target coordinates but that didnt work either element = getRootElement function samTrigger ( element ) local missle1 = createObject ( 3786, 354, 2028, 26 ) local missle2 = createObject ( 3786, 354, 2026, 26 ) local x,y,z = getElementPosition ( getLocalPlayer () ) setTimer ( moveObject, 100, 1, missle1, 400, x, y, z ) setTimer ( createExplosion, 500, 1, x, y, z, 2 ) if getElementPosition ( missle1 ) == x, y, z then destroyElement ( missle1 ) end end addEvent ( "onSamTrigger", true ) addEventHandler ( "onSamTrigger", getRootElement(), samTrigger ) like this it just stops the whole function ( wont make missles or anything ) and does the same with this element = getRootElement function samTrigger ( element ) local missle1 = createObject ( 3786, 354, 2028, 26 ) local missle2 = createObject ( 3786, 354, 2026, 26 ) local x,y,z = getElementPosition ( getLocalPlayer () ) setTimer ( moveObject, 100, 1, missle1, 400, x, y, z ) setTimer ( createExplosion, 500, 1, x, y, z, 2 ) settImer ( destroyElement, 1100, 1, missle1 ) end addEvent ( "onSamTrigger", true ) addEventHandler ( "onSamTrigger", getRootElement(), samTrigger ) i think i need to define the MISSLE1 as the element to destroy but im not sure how else to word it anybody got any ideas THANX IN ADVANCE EDIT : sorry about hijacking your thread VERCETTI 1010 but i thought as this is all related it would be better than starting new topic
-
seem to be getting there this is quite fun server-side deathSphere = createColSphere ( 0, 0, -250, 200 )warningSphere = createColSphere ( 0, 0, -250, 500 )element = getRootElement() function enableSam ( element ) setElementPosition ( deathSphere, 354, 2027, 25 ) setElementPosition ( warningSphere, 354, 2027, 25 ) outputChatBox ( "You have enabled the SAM sites at AREA 69", thePlayer, 255, 0, 0 )end function disableSam ( element ) setElementPosition ( deathSphere, 0, 0, -9999 ) setElementPosition ( warningSphere, 0, 0, -9999 ) outputChatBox ( "You have disabled the SAM sites at AREA 69", thePlayer, 255, 0, 0 ) end function samSite ( element, matchingDimension ) if ( getElementType ( element ) == "player" ) then veh = getPlayerOccupiedVehicle ( element ) id = getVehicleID ( veh ) if ( id == 592 or id == 577 or id == 511 or id == 548 or id == 512 or id == 593 or id == 417 or id == 487 or id == 553 or id == 488 or id == 497 or id == 563 or id == 476 or id == 447 or id == 519 or id == 460 or id == 469 or id == 513 or id == 464 or id == 501 or id == 465 ) then triggerClientEvent ( element, "onSamTrigger", getRootElement() ) outputChatBox ( "Surface to air missiles have been fired!", element, 255, 0, 0 ) end end end function samWarn ( element, matchingDimension ) if ( getElementType ( element ) == "player" ) then veh = getPlayerOccupiedVehicle ( element ) id = getVehicleID ( veh ) if ( id == 592 or id == 577 or id == 511 or id == 548 or id == 512 or id == 593 or id == 417 or id == 487 or id == 553 or id == 488 or id == 497 or id == 563 or id == 476 or id == 447 or id == 519 or id == 460 or id == 469 or id == 513 or id == 464 or id == 501 or id == 465 ) then outputChatBox ( "Warning! AREA 69 has SAM sites activated! Turn back!", element, 255, 0, 0 ) end endend function jetpackTrigger ( element, matchingDimension ) if ( getElementType ( element ) == "player" ) then if ( doesPlayerHaveJetPack ( element ) ) then outputChatBox ( "Warning! AREA 69 will kill you with telepathy if you go in with a jetpack!", element, 255, 0, 0 ) end end end function jetpackWarn ( element, matchingDimension ) if ( getElementType ( element ) == "player" ) then if ( doesPlayerHaveJetPack ( element ) ) then triggerClientEvent ( element, "onSamTrigger", getRootElement() ) outputChatBox ( "I wasn't lying about the telepathy death. Enjoy the fireworks!", thePlayer, 255, 0, 0 ) killPlayer ( element ) end endend addCommandHandler ( "asamon", enableSam )addCommandHandler ( "asamoff", disableSam )addEventHandler ( "onColShapeHit", deathSphere, samSite )addEventHandler ( "onColShapeHit", warningSphere, samWarn )addEventHandler ( "onColShapeHit", deathSphere, jetpackWarn )addEventHandler ( "onColShapeHit", warningSphere, jetpackTrigger ) client-side element = getRootElementfunction samTrigger ( element ) local missle1 = createObject ( 3786, 354, 2028, 26 ) local missle2 = createObject ( 3786, 354, 2026, 26 ) local x,y,z = getElementPosition ( getLocalPlayer () ) setTimer ( moveObject, 200, 1, missle1, 1800, x, y, z )endaddEvent ( "onSamTrigger", true )addEventHandler ( "onSamTrigger", getRootElement(), samTrigger ) looks quite rough at the moment but i will try to make it look better it creates a couple of missles on top of sam site ( will set them up so their inside the sam ) launches them at the coordinates of the player when they enter the collision sphere giving u time to avoid u will need to alter the moveobject time depending how hard u want to make it to avoid and next i will add a create explosion on a timer so i can make anti aircraft barrage sort of thing im still trying to get the hang of createprojectile but i like this because i have control over missle speed and u can see the missle coming at you which i thought is pretty cool only thing im struggling to figure is how to set rotation of the missle so its pointed at the target added the explosion now client-side have noticed that u end up with missles left all over the place but i cant get destroyElement to work tried putting it on a timer and then i tried using a check in the function to see where the missle is and destroy it if its at the target coordinates but that didnt work either element = getRootElementfunction samTrigger ( element ) local missle1 = createObject ( 3786, 354, 2028, 26 ) local missle2 = createObject ( 3786, 354, 2026, 26 ) local x,y,z = getElementPosition ( getLocalPlayer () ) setTimer ( moveObject, 100, 1, missle1, 400, x, y, z ) setTimer ( createExplosion, 500, 1, x, y, z, 2 ) if getElementPosition ( missle1 ) == x, y, z then destroyElement ( missle1 ) endendaddEvent ( "onSamTrigger", true )addEventHandler ( "onSamTrigger", getRootElement(), samTrigger ) like this it just stops the whole function ( wont make missles or anything ) and does the same with this element = getRootElementfunction samTrigger ( element ) local missle1 = createObject ( 3786, 354, 2028, 26 ) local missle2 = createObject ( 3786, 354, 2026, 26 ) local x,y,z = getElementPosition ( getLocalPlayer () ) setTimer ( moveObject, 100, 1, missle1, 400, x, y, z ) setTimer ( createExplosion, 500, 1, x, y, z, 2 ) settImer ( destroyElement, 1100, 1, missle1 )endaddEvent ( "onSamTrigger", true )addEventHandler ( "onSamTrigger", getRootElement(), samTrigger ) i think i need to define the MISSLE1 as the element to destroy but im not sure how else to word it anybody got any ideas THANX IN ADVANCE EDIT : sorry about hijacking your thread VERCETTI 1010 but i thought as this is all related it would be better than starting new topic
-
have u got a firewall or router
-
have u got a firewall or router
-
the easiest way is to use quick connect and just enter IP address and PORT number from the server list
-
the easiest way is to use quick connect and just enter IP address and PORT number from the server list
-
that sounds cool thanx man when you say make a configuration file do u mean an XML im not to sure how to do that but ill look at the wiki and see if i can find anything
-
that sounds cool thanx man when you say make a configuration file do u mean an XML im not to sure how to do that but ill look at the wiki and see if i can find anything
-
these are a few of the ideas ive been messing with very rough at the moment but they work i include them with the broph resource that comes with MTA SERVER here U go all server side scripts root = getRootElement () players = getElementsByType ( "player" ) function tourplatform( player, commandname ) setElementPosition ( player, -734, 956, 14 ) local tourplatform = createObject ( 3885, -734, 956, 12 ) outputChatBox ( "Tour Platform Is Ready" ) local X,Y,Z = getElementPosition ( tourplatform ) local xup = -624 local yup = 953 local zup = 39 local xnewair = -565 local ynewair = 956 local znewair = 17 local xontour = 88 local yontour = 1339 local zontour = 71 local x69spot = 332 local y69spot = 1968 local z69spot = 55 local x69go = 332 local y69go = 1989 local z69g0 = 55 local xabair = 350 local yabair = 2490 local zabair = 27 setTimer ( moveObject, 2000, 1, tourplatform, 10000, xup, yup, zup ) setTimer ( moveObject, 12500, 1, tourplatform, 35000, xnewair, ynewair, znewair ) setTimer ( moveObject, 60000, 1, tourplatform, 35000, xontour, yontour, zontour ) setTimer ( moveObject, 95500, 1, tourplatform, 35000, x69spot, y69spot, z69spot ) setTimer ( moveObject, 131000, 1, tourplatform, 10000, x69go, y69go, z69go ) setTimer ( moveObject, 141500, 1, tourplatform, 35000, xabair, yabair, zabair ) end addCommandHandler ( "tourplatform", tourplatform ) No. 2 root = getRootElement () players = getElementsByType ( "player" ) function createplatform( player, commandname) setElementPosition ( player, -734, 956, 14 ) local battleplatform = createObject ( 3885, -734, 956, 12 ) local fog1 = createObject ( 2780, -734, 956, 12 ) local fog2 = createObject ( 2780, -735, 956, 12 ) local fog3 = createObject ( 2780, -736, 956, 12 ) local fog4 = createObject ( 2780, -737, 956, 12 ) attachElementToElement ( fog1, battleplatform, 0, 6, -1 ) attachElementToElement ( fog2, battleplatform, 0, -6, -1 ) attachElementToElement ( fog3, battleplatform, 6, 0, -1 ) attachElementToElement ( fog4, battleplatform, -6, 0, -1 ) outputChatBox ( "Batlle Platform Is Ready" ) local X,Y,Z = getElementPosition ( battleplatform ) local xup = -737 local yup = 955 local zup = 46 local xebair = -1410 local yebair = -5 local zebair = 41 local xebairland = -1410 local yebairland = -5 local zebairland = 12 setTimer ( outputChatBox, 8000, 1, player, "Battle Platform Is On The Move" ) setTimer ( moveObject, 10000, 1, battleplatform, 5000, xup, yup, zup ) setTimer ( moveObject, 22000, 1, battleplatform, 60000, xebair, yebair, zebair ) setTimer ( moveObject, 98000, 1, battleplatform, 5000, xebairland, yebairland, zebairland ) end addCommandHandler ( "createplatform", createplatform ) No. 3 root = getRootElement () players = getElementsByType ( "player" ) function toursetup ( player, commandname ) setElementPosition ( player, -720, 961, 13 ) local tourtest = createObject ( 3885, -720, 961, 11 ) outputChatBox ( "tourtest ready" ) local x,y,z = getElementPosition ( battleplatform ) local xlaunch = -720 local ylaunch = 961 local zlaunch = 49 local xfirstmove = 104 local yfirstmove = 1465 local zfirstmove = 81 local xsecondmove = 335 local ysecondmove = 1985 local zsecondmove = 17 local xthirdmove = 333 local ythirdmove = 1985 local zthirdmove = 82 local xfourthmove = 356 local yfourthmove = 2495 local zfourthmove =15 local xfifthmove = 355 local yfifthmove = 2495 local zfifthmove = 87 local xsixthmove = 1446 local ysixthmove = 1371 local zsixthmove = 84 local xseventhmove = 1444 local yseventhmove = 1375 local zseventhmove = 10 local xeighthmove = -1357 local yeighthmove = 33 local zeighthmove = 105 local xninthmove = -1421 local yninthmove = -41 local zninthmove = 13 local xtenthmove = -1273 local ytenthmove = 502 local ztenthmove = 58 local xeleventhmove = -1307 local yeleventh move = 493 local zeleventhmove = 17 moveObject ( tourtest, 5000, xlaunch, ylaunch, zlaunch ) setTimer ( moveObject, 5500, 1, tourtest, 35000, xfirstmove, yfirstmove, zfirstmove ) setTimer ( moveObject, 41000, 1, tourtest, 35000, xsecondmove, ysecondmove, zsecondmove ) setTimer ( moveObject, 76500, 1, tourtest, 5000, xthirdmove, ythirdmove, zthirdmove ) setTimer ( moveObject, 82000, 1, tourtest, 35000, xfourthmove, yfourthmove, zfourthmove ) setTimer ( moveObject, 117500, 1, tourtest, 5000, xfifthmove, yfifthmove, zfifthmove ) setTimer ( moveObject, 123000, 1, tourtest, 35000, xsixthmove, ysixthmove, zsixthmove ) setTimer ( moveObject, 158500, 1, tourtest, 5000, xseventhmove, yseventhmove, zseventhmove ) setTimer ( moveObject, 164000, 1, tourtest, 45000, xeighthmove, yeighthmove, zeighthmove ) setTimer ( moveObject, 209500, 1, tourtest, 25000, xninthmove, yninthmove, zninthmove ) setTimer ( moveObject, 235000, 1, tourtest, 25000, xtenthmove, ytenthmove, ztenthmove ) setTimer ( moveObject, 261000, 1, tourtest, 25000, xeleventhmove, yeleventhmove, zeleventhmove ) end addCommandHandler ( "tourtest", toursetup ) all ive done is add up the timers for moveObject to move in different directions very long winded way of doing it but i dont really understand the maths system yet biggest problem i have with the platforms is that U cant see them properly from underneath. i was thinking of adding interiors to them or maybe trying to find an object that is visible and attaching it to underside currently working on making big ship ( object ID 17512 i think its a stadium ) that flys to where u want then spawns loads of little ships ( object ID 3885 ) that drop down and attack ( hoping to use minigun and sam site scripts attached to them ) either a certian area for an assault sort of thing or something for players to fire from with the minigun will post when working
-
these are a few of the ideas ive been messing with very rough at the moment but they work i include them with the broph resource that comes with MTA SERVER here U go all server side scripts root = getRootElement ()players = getElementsByType ( "player" ) function tourplatform( player, commandname ) setElementPosition ( player, -734, 956, 14 ) local tourplatform = createObject ( 3885, -734, 956, 12 ) outputChatBox ( "Tour Platform Is Ready" ) local X,Y,Z = getElementPosition ( tourplatform ) local xup = -624 local yup = 953 local zup = 39 local xnewair = -565 local ynewair = 956 local znewair = 17 local xontour = 88 local yontour = 1339 local zontour = 71 local x69spot = 332 local y69spot = 1968 local z69spot = 55 local x69go = 332 local y69go = 1989 local z69g0 = 55 local xabair = 350 local yabair = 2490 local zabair = 27 setTimer ( moveObject, 2000, 1, tourplatform, 10000, xup, yup, zup ) setTimer ( moveObject, 12500, 1, tourplatform, 35000, xnewair, ynewair, znewair ) setTimer ( moveObject, 60000, 1, tourplatform, 35000, xontour, yontour, zontour ) setTimer ( moveObject, 95500, 1, tourplatform, 35000, x69spot, y69spot, z69spot ) setTimer ( moveObject, 131000, 1, tourplatform, 10000, x69go, y69go, z69go ) setTimer ( moveObject, 141500, 1, tourplatform, 35000, xabair, yabair, zabair )end addCommandHandler ( "tourplatform", tourplatform ) No. 2 root = getRootElement ()players = getElementsByType ( "player" ) function createplatform( player, commandname) setElementPosition ( player, -734, 956, 14 ) local battleplatform = createObject ( 3885, -734, 956, 12 ) local fog1 = createObject ( 2780, -734, 956, 12 ) local fog2 = createObject ( 2780, -735, 956, 12 ) local fog3 = createObject ( 2780, -736, 956, 12 ) local fog4 = createObject ( 2780, -737, 956, 12 ) attachElementToElement ( fog1, battleplatform, 0, 6, -1 ) attachElementToElement ( fog2, battleplatform, 0, -6, -1 ) attachElementToElement ( fog3, battleplatform, 6, 0, -1 ) attachElementToElement ( fog4, battleplatform, -6, 0, -1 ) outputChatBox ( "Batlle Platform Is Ready" ) local X,Y,Z = getElementPosition ( battleplatform ) local xup = -737 local yup = 955 local zup = 46 local xebair = -1410 local yebair = -5 local zebair = 41 local xebairland = -1410 local yebairland = -5 local zebairland = 12 setTimer ( outputChatBox, 8000, 1, player, "Battle Platform Is On The Move" ) setTimer ( moveObject, 10000, 1, battleplatform, 5000, xup, yup, zup ) setTimer ( moveObject, 22000, 1, battleplatform, 60000, xebair, yebair, zebair ) setTimer ( moveObject, 98000, 1, battleplatform, 5000, xebairland, yebairland, zebairland )end addCommandHandler ( "createplatform", createplatform ) No. 3 root = getRootElement ()players = getElementsByType ( "player" ) function toursetup ( player, commandname ) setElementPosition ( player, -720, 961, 13 ) local tourtest = createObject ( 3885, -720, 961, 11 ) outputChatBox ( "tourtest ready" ) local x,y,z = getElementPosition ( battleplatform ) local xlaunch = -720 local ylaunch = 961 local zlaunch = 49 local xfirstmove = 104 local yfirstmove = 1465 local zfirstmove = 81 local xsecondmove = 335 local ysecondmove = 1985 local zsecondmove = 17 local xthirdmove = 333 local ythirdmove = 1985 local zthirdmove = 82 local xfourthmove = 356 local yfourthmove = 2495 local zfourthmove =15 local xfifthmove = 355 local yfifthmove = 2495 local zfifthmove = 87 local xsixthmove = 1446 local ysixthmove = 1371 local zsixthmove = 84 local xseventhmove = 1444 local yseventhmove = 1375 local zseventhmove = 10 local xeighthmove = -1357 local yeighthmove = 33 local zeighthmove = 105 local xninthmove = -1421 local yninthmove = -41 local zninthmove = 13 local xtenthmove = -1273 local ytenthmove = 502 local ztenthmove = 58 local xeleventhmove = -1307 local yeleventh move = 493 local zeleventhmove = 17 moveObject ( tourtest, 5000, xlaunch, ylaunch, zlaunch ) setTimer ( moveObject, 5500, 1, tourtest, 35000, xfirstmove, yfirstmove, zfirstmove ) setTimer ( moveObject, 41000, 1, tourtest, 35000, xsecondmove, ysecondmove, zsecondmove ) setTimer ( moveObject, 76500, 1, tourtest, 5000, xthirdmove, ythirdmove, zthirdmove ) setTimer ( moveObject, 82000, 1, tourtest, 35000, xfourthmove, yfourthmove, zfourthmove ) setTimer ( moveObject, 117500, 1, tourtest, 5000, xfifthmove, yfifthmove, zfifthmove ) setTimer ( moveObject, 123000, 1, tourtest, 35000, xsixthmove, ysixthmove, zsixthmove ) setTimer ( moveObject, 158500, 1, tourtest, 5000, xseventhmove, yseventhmove, zseventhmove ) setTimer ( moveObject, 164000, 1, tourtest, 45000, xeighthmove, yeighthmove, zeighthmove ) setTimer ( moveObject, 209500, 1, tourtest, 25000, xninthmove, yninthmove, zninthmove ) setTimer ( moveObject, 235000, 1, tourtest, 25000, xtenthmove, ytenthmove, ztenthmove ) setTimer ( moveObject, 261000, 1, tourtest, 25000, xeleventhmove, yeleventhmove, zeleventhmove )end addCommandHandler ( "tourtest", toursetup ) all ive done is add up the timers for moveObject to move in different directions very long winded way of doing it but i dont really understand the maths system yet biggest problem i have with the platforms is that U cant see them properly from underneath. i was thinking of adding interiors to them or maybe trying to find an object that is visible and attaching it to underside currently working on making big ship ( object ID 17512 i think its a stadium ) that flys to where u want then spawns loads of little ships ( object ID 3885 ) that drop down and attack ( hoping to use minigun and sam site scripts attached to them ) either a certian area for an assault sort of thing or something for players to fire from with the minigun will post when working
-
first thread in this forum is where u need to look quite a common problem u need to put a request in Serial Problems theres no other way around it because MTA generates a serial number when u register with MTA BETA not to hard to sort out you just need the username and serial to put into registry
-
first thread in this forum is where u need to look quite a common problem u need to put a request in Serial Problems theres no other way around it because MTA generates a serial number when u register with MTA BETA not to hard to sort out you just need the username and serial to put into registry
-
have a look at MTA resources page. im pretty sure there is a resource called DEATH PICKUPS ( makes pickup for what player was carrying when they die ) here U go https://community.multitheftauto.com/index.php?p=resources&s=list
-
have a look at MTA resources page. im pretty sure there is a resource called DEATH PICKUPS ( makes pickup for what player was carrying when they die ) here U go https://community.multitheftauto.com/index.php?p=resources&s=list
-
thanx loads guys sorry about slow reply ( computer went bang / big power surge took out power supply ) i was sure i was not getting the player its supposed to shoot because it was not defined but was unsure how to get the player i wanted but i think i understand now i think i need to get a proof reader half my problems seem to be typing and naming errors thanx again guys hope to post results soon ( Giant mothership flys in and starts launching baby ufos all over the place ) its gonna be awesome EDIT : on slightly different but related note is there any way to edit objects i have seen a sign near the massive satellite dish that is a small UFO spinning on top of a pillar i would really like to have the ufo but i dont know if i can separate it from the pillar i think its for the LIL PROBE INN ( this ones not to important just wondering )
-
thanx loads guys sorry about slow reply ( computer went bang / big power surge took out power supply ) i was sure i was not getting the player its supposed to shoot because it was not defined but was unsure how to get the player i wanted but i think i understand now i think i need to get a proof reader half my problems seem to be typing and naming errors thanx again guys hope to post results soon ( Giant mothership flys in and starts launching baby ufos all over the place ) its gonna be awesome EDIT : on slightly different but related note is there any way to edit objects i have seen a sign near the massive satellite dish that is a small UFO spinning on top of a pillar i would really like to have the ufo but i dont know if i can separate it from the pillar i think its for the LIL PROBE INN ( this ones not to important just wondering )
-
sorry VERCETTI 1010 got a bit confused will make sure i change the name ACE_GAMBIT thanx for lookin
