Jump to content

[DooD]Heavyair

Members
  • Posts

    264
  • Joined

  • Last visited

Everything posted by [DooD]Heavyair

  1. sorry VERCETTI 1010 got a bit confused will make sure i change the name ACE_GAMBIT thanx for lookin
  2. just had a look at the readme that comes with waterlevel program and it says it has an error and messes up some of the water levels ( mentions sherman dam ) even when set back to default that might be the problem but if its messed up all the water i guess it might mean reinstall i hope thats not the case if u look in your GTA install directory ( default c:\program files\rockstar games\GTA San Andreas\data\leveldes ) there are some setting files ( seabed / leveldes / levelmap and such ) might be worth a look
  3. just had a look at the readme that comes with waterlevel program and it says it has an error and messes up some of the water levels ( mentions sherman dam ) even when set back to default that might be the problem but if its messed up all the water i guess it might mean reinstall i hope thats not the case if u look in your GTA install directory ( default c:\program files\rockstar games\GTA San Andreas\data\leveldes ) there are some setting files ( seabed / leveldes / levelmap and such ) might be worth a look
  4. EDIT : big apology to vercetti 1010 got the credits for the script wrong i have been playing around with VERCETTI 1010s samsite script and ive got a bit lost this is VERCETTI 1010s script slightly edited by me ( just co ordinates and stuff ) server - side deathSphere = createColSphere ( 354, 2027, 25, 200 ) warningSphere = createColSphere ( 354, 2027, 25, 500 ) function enableSam ( thePlayer ) 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 ( thePlayer ) 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 ( thePlayer, matchingDimension ) veh = getPlayerOccupiedVehicle ( thePlayer ) 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 ( thePlayer, "onSamTrigger", getRootElement() ) outputChatBox ( "Surface to air missiles have been fired!", thePlayer, 255, 0, 0 ) end end function samWarn ( thePlayer, matchingDimension ) veh = getPlayerOccupiedVehicle ( thePlayer ) 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!", thePlayer, 255, 0, 0 ) end end function jetpackTrigger ( thePlayer, matchingDimension ) if ( doesPlayerHaveJetPack ( thePlayer ) ) then outputChatBox ( "Warning! AREA 69 will kill you with telepathy if you go in with a jetpack!", thePlayer, 255, 0, 0 ) end end function jetpackWarn ( thePlayer, matchingDimension ) if ( doesPlayerHaveJetPack ( thePlayer ) ) then triggerClientEvent ( thePlayer, "onSamTrigger", getRootElement() ) outputChatBox ( "I wasn't lying about the telepathy death. Enjoy the fireworks!", thePlayer, 255, 0, 0 ) killPlayer ( thePlayer ) 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 function samTrigger ( thePlayer ) createProjectile ( getLocalPlayer(), 19, 354, 2027, 27, 50, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) end addEvent ( "onSamTrigger", true ) addEventHandler ( "onSamTrigger", getRootElement(), samTrigger ) it gives me errors on getPlayerOccupiedVehicle and getVehicleID in samsite and samwarn and it errors on doesPlayerHaveJetPack but it works just fine what i wanted to do was make placeable and flying samsites so i tried this ( not complete just trying ideas out ) server - side samsphere = createColSphere ( 0, 0, -9999, 100 ) function mysams ( player, commandname ) local pad = createObject ( 3885, -711, 957, 25 ) local sam = createObject ( 3884, -711, 957, 26 ) local thesam = attachElementToElement ( sam, pad ) local x, y, z = getElementPosition ( sam ) setElementPosition ( samsphere, x, y, z ) end function samready ( player, matchingDimension ) veh = getPlayerOccupiedVehicle ( player ) id = getVehicleID ( veh ) if ( id == 511 ) then triggerClientEvent ( player, "blastem", getRootElement() ) outputChatBox ( "here it comes", player, 255, 0, 0 ) end end addCommandHandler ( "sam", mysams ) addEventHandler ( "onColShapeHit", samsphere, samready ) client - side function blastem ( player ) createProjectile ( getLocalPlayer(), 19, -711, 957, 27, 50, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) end addEvent ( "onBlastem", true ) addEventHandler ( "onBlastem", getRootElement(), blastem ) this gives me the same errors sends message but doesnt kill me with VERCETTI 1010s script it kills u almost instantly not sure where im going wrong i have made another samsite for the aircraft carrier in easterbay and that works fine so i thought this would be easy i have tried another client script which made a rocket ( ID 3786 ) did GET ELEMENT POSITION of target player and then did MOVE OBJECT on the missle toward the player and created an explosion with SET TIMER but that woudnt create or move the missle so i dont know what to try now ANY ADVICE REALLY APPRECIATED and if i can figure it out ill post my results as i think this could be quite cool EDIT : the other way i was trying to make the rocket was this client - side function samTrigger ( thePlayer ) local missle1 = createObject ( 3786, -711, 957, 22 ) local hitx, hity, hitz = getElementPosition ( player ) local bangx, bangy, bangz = getElementPosition ( missle1 ) moveObject ( missle1, 10000, hitx, hity, hitz ) setTimer ( createExplosion, 10100, 1, bangx, bangy, bangz, 2 ) setTimer ( destroyElement, missle1, 10150 ) end addEvent ( "onSamTrigger", true ) addEventHandler ( "onSamTrigger", getRootElement(), samTrigger ) once again it almost works ( gives messages , makes rocket , creates explosion ) but the rocket doesnt move so the explosion happens where the sam site is i think what is happening is that this line in above script is getting x,y,z of the samsite rather than the player its supposed to target but i dont know how to make it get the x,y,z of the player i want the rocket to fire at local hitx, hity, hitz = getElementPosition ( player ) once again ANY HELP APPRECIATED but i know u all must be getting tired of me by now
  5. EDIT : big apology to vercetti 1010 got the credits for the script wrong i have been playing around with VERCETTI 1010s samsite script and ive got a bit lost this is VERCETTI 1010s script slightly edited by me ( just co ordinates and stuff ) server - side deathSphere = createColSphere ( 354, 2027, 25, 200 )warningSphere = createColSphere ( 354, 2027, 25, 500 ) function enableSam ( thePlayer ) 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 ( thePlayer ) 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 ( thePlayer, matchingDimension ) veh = getPlayerOccupiedVehicle ( thePlayer ) 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 ( thePlayer, "onSamTrigger", getRootElement() ) outputChatBox ( "Surface to air missiles have been fired!", thePlayer, 255, 0, 0 ) end end function samWarn ( thePlayer, matchingDimension ) veh = getPlayerOccupiedVehicle ( thePlayer ) 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!", thePlayer, 255, 0, 0 ) endend function jetpackTrigger ( thePlayer, matchingDimension ) if ( doesPlayerHaveJetPack ( thePlayer ) ) then outputChatBox ( "Warning! AREA 69 will kill you with telepathy if you go in with a jetpack!", thePlayer, 255, 0, 0 ) end end function jetpackWarn ( thePlayer, matchingDimension ) if ( doesPlayerHaveJetPack ( thePlayer ) ) then triggerClientEvent ( thePlayer, "onSamTrigger", getRootElement() ) outputChatBox ( "I wasn't lying about the telepathy death. Enjoy the fireworks!", thePlayer, 255, 0, 0 ) killPlayer ( thePlayer ) 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 function samTrigger ( thePlayer ) createProjectile ( getLocalPlayer(), 19, 354, 2027, 27, 50, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() )endaddEvent ( "onSamTrigger", true )addEventHandler ( "onSamTrigger", getRootElement(), samTrigger ) it gives me errors on getPlayerOccupiedVehicle and getVehicleID in samsite and samwarn and it errors on doesPlayerHaveJetPack but it works just fine what i wanted to do was make placeable and flying samsites so i tried this ( not complete just trying ideas out ) server - side samsphere = createColSphere ( 0, 0, -9999, 100 ) function mysams ( player, commandname ) local pad = createObject ( 3885, -711, 957, 25 ) local sam = createObject ( 3884, -711, 957, 26 ) local thesam = attachElementToElement ( sam, pad ) local x, y, z = getElementPosition ( sam ) setElementPosition ( samsphere, x, y, z )end function samready ( player, matchingDimension ) veh = getPlayerOccupiedVehicle ( player ) id = getVehicleID ( veh ) if ( id == 511 ) then triggerClientEvent ( player, "blastem", getRootElement() ) outputChatBox ( "here it comes", player, 255, 0, 0 ) endend addCommandHandler ( "sam", mysams )addEventHandler ( "onColShapeHit", samsphere, samready ) client - side function blastem ( player ) createProjectile ( getLocalPlayer(), 19, -711, 957, 27, 50, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() ) createProjectile ( getLocalPlayer(), 19, X, Y, Z, 5, getLocalPlayer() )endaddEvent ( "onBlastem", true )addEventHandler ( "onBlastem", getRootElement(), blastem ) this gives me the same errors sends message but doesnt kill me with VERCETTI 1010s script it kills u almost instantly not sure where im going wrong i have made another samsite for the aircraft carrier in easterbay and that works fine so i thought this would be easy i have tried another client script which made a rocket ( ID 3786 ) did GET ELEMENT POSITION of target player and then did MOVE OBJECT on the missle toward the player and created an explosion with SET TIMER but that woudnt create or move the missle so i dont know what to try now ANY ADVICE REALLY APPRECIATED and if i can figure it out ill post my results as i think this could be quite cool EDIT : the other way i was trying to make the rocket was this client - side function samTrigger ( thePlayer ) local missle1 = createObject ( 3786, -711, 957, 22 ) local hitx, hity, hitz = getElementPosition ( player ) local bangx, bangy, bangz = getElementPosition ( missle1 ) moveObject ( missle1, 10000, hitx, hity, hitz ) setTimer ( createExplosion, 10100, 1, bangx, bangy, bangz, 2 ) setTimer ( destroyElement, missle1, 10150 )endaddEvent ( "onSamTrigger", true )addEventHandler ( "onSamTrigger", getRootElement(), samTrigger ) once again it almost works ( gives messages , makes rocket , creates explosion ) but the rocket doesnt move so the explosion happens where the sam site is i think what is happening is that this line in above script is getting x,y,z of the samsite rather than the player its supposed to target but i dont know how to make it get the x,y,z of the player i want the rocket to fire at local hitx, hity, hitz = getElementPosition ( player ) once again ANY HELP APPRECIATED but i know u all must be getting tired of me by now
  6. not sure but U might need to give admin access to the resource the CHANGEPASSWORD function is in open MTAserver\mods\deathmatch\acl.xml then find this and add this hope that helps
  7. not sure but U might need to give admin access to the resource the CHANGEPASSWORD function is in open MTAserver\mods\deathmatch\acl.xml then find this and add this hope that helps
  8. just stop the VOTEMANAGER resource and no one should be able to call a CHANGE VOTE
  9. just stop the VOTEMANAGER resource and no one should be able to call a CHANGE VOTE
  10. i think the problem is that the waterlevel program is a mod and MTA really doesnt like mods ive seen a few people asking about mods of one form or another but i havent seen any working yet im not 100% about the mods though : i dont know an awful lot about how MTA works so U probably want to wait until U get a definite answer from somebody who knows a bit more about it i will try and see if i can get it working but like i said im pretty NOOB but if i get anywhere ill let U know
  11. i think the problem is that the waterlevel program is a mod and MTA really doesnt like mods ive seen a few people asking about mods of one form or another but i havent seen any working yet im not 100% about the mods though : i dont know an awful lot about how MTA works so U probably want to wait until U get a definite answer from somebody who knows a bit more about it i will try and see if i can get it working but like i said im pretty NOOB but if i get anywhere ill let U know
  12. if your playing on your own server then u need to start the DRIVEBY resource or you can download the REALDRIVEBY resource from here https://community.multitheftauto.com/index.php?p=resources&s=details&id=57 then you just need to right-click to driveby and click again to go back to normal view to set up the controllers just follow the XPADDER tutorial it works the same for all pads ( ive got a logitech wireless myself ) i must say that without support for analog sticks its not very good and its very hard to setup if you want to fly as well as drive hope that helps a bit GOOD LUCK
  13. if your playing on your own server then u need to start the DRIVEBY resource or you can download the REALDRIVEBY resource from here https://community.multitheftauto.com/index.php?p=resources&s=details&id=57 then you just need to right-click to driveby and click again to go back to normal view to set up the controllers just follow the XPADDER tutorial it works the same for all pads ( ive got a logitech wireless myself ) i must say that without support for analog sticks its not very good and its very hard to setup if you want to fly as well as drive hope that helps a bit GOOD LUCK
  14. do u mean setWaveHeight or something to do with overall water level i know how to set wave height ( just use console command ) but if u mean lowering/raising the water level in general im not to sure. i havent seen anything about it on the forums
  15. do u mean setWaveHeight or something to do with overall water level i know how to set wave height ( just use console command ) but if u mean lowering/raising the water level in general im not to sure. i havent seen anything about it on the forums
  16. Oh My God ACE_GAMBIT u r AMAZING! that is exactly what i needed i seem to be getting the idea of how to do most other things ( with a LOT of help ) but guns on cars is just messing with my brain hopefully your script will put me on the path to much greater things THANK U SO MUCH!!!!! i really want to make my server public so i can see what people think of my ideas i have nearly finished my car ferry / flying battle platforms / and INDEPENDENCE DAY : MIB inspired UFO attack / and my places of interest tour platform so it wont be much longer i hope and i gotta say BIG THANKS AGAIN EDIT : and thanks for the advice on rockets. it has come in very handy EDIT2 : i understand your script ACE_GAMBIT up until the bit with the math.sin and math.rad or at least i think i do it looks to me like you do a check if players in a car and then check if it has gun attached then get rotation of the gun but im not sure what the math does ( im guessing it sets which way to fire the projectile but im not sure ) dont worry if u dont have a chance to reply as i think i can figure this one out
  17. Oh My God ACE_GAMBIT u r AMAZING! that is exactly what i needed i seem to be getting the idea of how to do most other things ( with a LOT of help ) but guns on cars is just messing with my brain hopefully your script will put me on the path to much greater things THANK U SO MUCH!!!!! i really want to make my server public so i can see what people think of my ideas i have nearly finished my car ferry / flying battle platforms / and INDEPENDENCE DAY : MIB inspired UFO attack / and my places of interest tour platform so it wont be much longer i hope and i gotta say BIG THANKS AGAIN EDIT : and thanks for the advice on rockets. it has come in very handy EDIT2 : i understand your script ACE_GAMBIT up until the bit with the math.sin and math.rad or at least i think i do it looks to me like you do a check if players in a car and then check if it has gun attached then get rotation of the gun but im not sure what the math does ( im guessing it sets which way to fire the projectile but im not sure ) dont worry if u dont have a chance to reply as i think i can figure this one out
  18. are u playing GTA:SA ver 2.0 if u are go here https://forum.multitheftauto.com/viewforum.php?f=89 and look at PATCHING YOUR 1.01 OR 2.0 VERSION OF GTA hope that helps but if not give me a few more details of your system and ill try to help
  19. are u playing GTA:SA ver 2.0 if u are go here https://forum.multitheftauto.com/viewforum.php?f=89 and look at PATCHING YOUR 1.01 OR 2.0 VERSION OF GTA hope that helps but if not give me a few more details of your system and ill try to help
  20. u probably need to open ports on your router and give yourself a static IP address if your on windows XP heres how if u dont have a router or are on windows VISTA im not sure what else to try
  21. u probably need to open ports on your router and give yourself a static IP address if your on windows XP heres how if u dont have a router or are on windows VISTA im not sure what else to try
  22. hope i dont sound to stupid but i cant seem to get it working properly i put the MEDIT entry in the ACL.XML if i start MEDIT on its own i just get black screen with mapeditor logo at bottom i then tried to load a map ( press f2 then . ) but screen stays black if i load another resource ( just freeroam ) the objects list doesnt work i know i must be doin something wrong just not sure what any help really appreciated screenshots look awesome EDIT : sorry it was just me being dumb Amazing script THANX LOADS MABAKO
  23. hope i dont sound to stupid but i cant seem to get it working properly i put the MEDIT entry in the ACL.XML if i start MEDIT on its own i just get black screen with mapeditor logo at bottom i then tried to load a map ( press f2 then . ) but screen stays black if i load another resource ( just freeroam ) the objects list doesnt work i know i must be doin something wrong just not sure what any help really appreciated screenshots look awesome EDIT : sorry it was just me being dumb Amazing script THANX LOADS MABAKO
  24. i think screen resolution and such are set in the GTA game itself just start the game go into options and turn down the res but im not 100 percent that it will work for the MTA menu screen but might be worth a try
  25. i think screen resolution and such are set in the GTA game itself just start the game go into options and turn down the res but im not 100 percent that it will work for the MTA menu screen but might be worth a try
×
×
  • Create New...