Jump to content

ProDMRac3r

Members
  • Posts

    60
  • Joined

  • Last visited

Everything posted by ProDMRac3r

  1. Please Send Me The Map It's Very Cool Man Good Job Cool Nice! Like It. Subscribe It. Make It Fav Map Excllent Please Send Me The Map @ [email protected]
  2. My Map [DM]Pr0DMRac3r ft. YOsse - Summer Skillz Comming Soon 5/10/2011 At Community Search For YOsse My Life Is Mapping And You!
  3. How Did You Found My Codes ????
  4. Congratulations! You Win Connect To [ADD][iG]..::Redbull::.. |Invasion Gaming| Only DM I Will Send You 200000 Dollar And Some Teams And Admin
  5. No I Made That Script I Don't Scripts Now I Learn
  6. Likes A Secert Code Missed spawnhospital(x,y,z,3416,-172,2.3) getnearesthospital(x.y,z)
  7. Scripts In Mapping Create Explosive Open ur notepad and put this code: Code: function explosion () createExplosion( x, y, z, kinds of explosions) --change x,y,z and kinds of explosions setTimer (explosion, 5000, 1) --5000 ,1 = 1 explosion in 5 seconds,if u want 1 explosion in 10 seconds =10000, 1 end addEventHandler( "onClientResourceStart", resourceRoot, explosion ) Grenade 1: Molotov 2: Rocket 3: Rocket Weak 4: Car 5: Car Quick 6: Boat 7: Heli 8: Mine 9: Object 10: Tank Grenade 11: Small 12: Tiny --kinds of explosions Now save it as explosion.lua Go to meta.xml of ur map and open it using notepad and paste this code: Code: Right Way: <meta> <script src="explosion.lua" type="client" /> <info gamemodes="race" type="map" version="1.0.0" /> <map src="Watch Me Die.map" dimension="0" /> <settings> Wrong Way: <meta> <info gamemodes="race" type="map" version="1.0.0" /> <script src="explosion.lua" type="client" /> <map src="Watch Me Die.map" dimension="0" /> <settings> Open Your meta.xml In Your Map Folder And Copy This And Open Notepad Copy This Set Sky Color function startclient() setSkyGradient(0, 100, 100, 200, 200, 200) end addEventHandler("onClientResourceStart", resourceRoot, startclient) Set Water Color function startclient() setWaterColor(0, 200, 100) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), startclient) Create Fire function startclient () createFire( 3840.5, -2031.5, 3, 40) end addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), startclient ) Colisions function startClient() shade = createObject(1225, 3840.5, -2031.5, 2, 0, 0, 0) setElementCollisionsEnabled(shade, false) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), startClient) Hydrant Effect function hydrant() hydrant1 = fxAddWaterHydrant(3840.5, -2031.5, 3, 40) setTimer(hydrant, 1000, 1) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), hydrant) Custom Object You May Have TXD Workshop And Open vgncarshade1.txd AND Replace Pic Then Copy new vgncarshade1.txd To Map Folder function onResourceStart() vgncarshade1 = engineLoadTXD("vgncarshade1.txd") engineImportTXD(vgncarshade1, 345Click here to enlarge end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) Create Teleport Marker marker = createMarker(3840.5, -2031.5, 3, "corona", 3.5, 255, 0, 0, 255) function teleport(player) if getElementType(player)=="player" then local vehicle=getPedOccupiedVehicle(player) if source == marker then setElementPosition(vehicle, 3843.7, -2021, 2.2) setVehicleFrozen(vehicle, true) setTimer(setVehicleFrozen, 1000, 1, vehicle, false) end end end addEventHandler("onClientMarkerHit", getRootElement(), teleport) Chat Box function startclient() outputChatBox("==========THIS IS THE SCRIPT==========", 255, 0, 0, true) end addEventHandler("onClientResourceStart", getRootElement(), startclient) Create Ped function pedLoad() ped1 = createPed(90, 3840.5, -2031.5, 3) setPedRotation(ped1, 60) setTimer(pedAnimations, 2500, 1) end addEventHandler("onResourceStart", getRootElement(), pedLoad) function pedAnimations() giveWeapon(ped1, 38, 2500, true) setPedAnimation(ped1, "STRIP", "strip_e") end Push Player marker1 = createMarker(3840.5, -2031.5, 3, "corona", 3.5, 255, 0, 0, 255) function MarkerHit(player) if getElementType=="player" then local vehicle = getPedOccupiedVehicle(player) if source == marker1 then setElementVelocity(vehicle, 0, 0, 1.5) end end end addEventHandler("onClientMarkerHit", getRootElement(), MarkerHit) Change Gravity marker = createMarker(3640, 6210, 52, "corona", 25, 0, 0, 0, 200) function gravity(player) if getElementType(player)=="player" then if source == marker then vehicle = getPedOccupiedVehicle(player) x,y,z = getElementPosition(player) setVehicleGravityPoint(vehicle, x, y, z-1000, 1) -- You need to test it many times until you understand how it works. end end end function setVehicleGravityPoint(targetVehicle, pointX, pointY, pointZ, strength) if isElement(targetVehicle) and getElementType(targetVehicle)=="vehicle" then local vehicleX,vehicleY,vehicleZ = getElementPosition(targetVehicle) local vectorX = vehicleX-pointX local vectorY = vehicleY-pointY local vectorZ = vehicleZ-pointZ local length = (vectorX^2 + vectorY^2 + vectorZ^2)^0.5 local propX = vectorX^2 / length^2 local propY = vectorY^2 / length^2 local propZ = vectorZ^2 / length^2 local finalX = (strength^2 * propX)^0.5 local finalY = (strength^2 * propY)^0.5 local finalZ = (strength^2 * propZ)^0.5 if vectorX > 0 then finalX = finalX * -1 end if vectorY > 0 then finalY = finalY * -1 end if vectorZ > 0 then finalZ = finalZ * -1 end return setVehicleGravity(targetVehicle, finalX, finalY, finalZ) end return false end addEventHandler("onClientMarkerHit", getRootElement(), gravity) BLOW Vehicle marker = createMarker(3823, -2024, 2.5, "corona", 5, 255, 0, 255, 255) function boom(player) if getElementType(player)=="player" then local vehicle=getPedOccupiedVehicle(player) if source == marker then blowVehicle(vehicle) end end end addEventHandler("onClientMarkerHit", getRootElement(), boom) Create Ring Of Fire function fire() createObject(13641, 3825.7, -2026, 3) setTimer(ogien, 2500, 0) x,y,z = 3825.7, -2026, 3 end addEventHandler("onClientResourceStart", getRootElement(), fire) function ogien() createFire(x+12, y, z+2.5, 2) createFire(x+12, y, z+17, 2) createFire(x+12, y+7.5, z+8.5, 2) createFire(x+12, y-6.5, z+8.5, 2) createFire(x+12, y-5.5, z+12.5, 2) createFire(x+12, y-4, z+13.5, 2) createFire(x+12, y-2, z+15.5, 2) createFire(x+12, y+7.5, z+8.5, 2) createFire(x+12, y+6.5, z+12.5, 2) createFire(x+12, y+5, z+13.5, 2) createFire(x+12, y+3, z+15.5, 2) createFire(x+12, y+6.5, z+6.5, 2) createFire(x+12, y+4.5, z+4.5, 2) createFire(x+12, y+3.5, z+3.5, 2) createFire(x+12, y+2.5, z+3.5, 2) createFire(x+12, y-5.5, z+6.5, 2) createFire(x+12, y-4, z+4.5, 2) createFire(x+12, y-3.5, z+3.5, 2) createFire(x+12, y-2.5, z+3.5, 2) end Vehicle Upgrades local marker = createMarker(3823, -2024, 2.5, "corona", 5, 0, 255, 255, 255) function fixx(player) if getElementType(player)=="player" then local vehicle=getPedOccupiedVehicle(player) if source == marker then addVehicleUpgrade(vehicle, 1164) end end end addEventHandler("onClientMarkerHit", getRootElement(), fixx) Fix Vehicle marker = createMarker(3823, -2024, 2.5, "corona", 5, 255, 255, 0, 255) function fixx(player) if getElementType(player)=="player" then local vehicle=getPedOccupiedVehicle(player) if source == marker then fixVehicle(vehicle) end end end addEventHandler("onClientMarkerHit", getRootElement(), fixx)
  8. I Mean It's A Missed Codes That The Met.xml And That Was A Codes To Spawn At Hospital When Join Server And WHo Find The .lua Codes First I Will Give Him 30000000 At [ADD][iG]Redbull Server Or He Will Win 500$ From My Earn Money
  9. Meta.xml Code <meta> <info author="YOsse" version="1.2" name="Hosptial" type="script" /> <script src="hospital.lua" type="client" /> </meta> Scripters Only Can Fine .lua Codes Players : Solidsnake14 Zango Citizen 50p Ransom Dr.Dre Mr.Hankey proracer eAi May Like May Not
  10. Oh Ok Follow This What You Need ? New Ramp ? New Road ? New Wood Floor ?
  11. Something Strange I'm Always Make meta.xml but I Just Need .lua How I Can Make .lua I Need Learn
  12. Good Take My Maps Dude ? Plizz
  13. ID = 7388 Or 7833 Some Thing Likes This
  14. Follow Video : Mine For You https://www.youtube.com/watch?v=kOjM02jSjqw
  15. Likes Really Wall ? ID : 7488
  16. Please I Need To Learn Script Without Wiki It's Hard! I Need U To Learn Me Please Thanks
  17. There Is No MTA IV In 2012 Will Come Now It's : IV:MP Warning : (Only 1.0.0.7)
  18. I Mean Im Always Make .lua Only I Can't Find meta.xml likes this GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Grid = {} -- GUI Interface GUIEditor_Window[1] = guiCreateWindow(334,298,565,406,"XG Avatar | - Made by Pr0RaC3R - |",false) GUIEditor_Grid[1] = guiCreateGridList(9,25,253,372,false,GUIEditor_Window[1]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) column1 = guiGridListAddColumn(GUIEditor_Grid[1],"Avatar Category",0.5) column2 = guiGridListAddColumn(GUIEditor_Grid[1],"Select avatar",0.5) for i = 1, 10 do row = guiGridListAddRow(GUIEditor_Grid[1]) end guiGridListSetItemText ( GUIEditor_Grid[1], row, column1, 'Retro', false, false ) GUIEditor_Button[1] = guiCreateButton(273,359,132,36,"Save as default avatar",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(422,359,125,36,"Remove my avatar",false,GUIEditor_Window[1]) guiSetVisible ( GUIEditor_Window[1], false ) function drawAvatarPanel ( ) bindKey ( 'F7', 'down', showAvatarPanel ) end addEventHandler ( 'onClientResourceStart', resourceRoot, drawAvatarPanel ) function showAvatarPanel ( ) isVisible = guiGetVisible ( GUIEditor_Window[1] ) if (isVisible) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor ( false ) end if (not isVisible) then guiSetVisible ( GUIEditor_Window[1], true ) showCursor ( true ) end end function onGridListClickShowColumn2Items ( button ) if (button) == 'left' and (guiGridListGetItemText(GUIEditor_Grid[1],guiGridListGetSelectedItem(GUIEditor_Grid[1]))) == 'Retro' then guiGridListSetItemText ( GUIEditor_Grid[1], 1, 2, 'Address', false, false ) guiGridListSetItemText ( GUIEditor_Grid[1], 2, 2, 'Ads', false, false ) guiGridListSetItemText ( GUIEditor_Grid[1], 3, 2, 'Calendar', false, false ) guiGridListSetItemText ( GUIEditor_Grid[1], 4, 2, 'Comment', false, false ) guiGridListSetItemText ( GUIEditor_Grid[1], 5, 2, 'Home', false, false ) guiGridListSetItemText ( GUIEditor_Grid[1], 6, 2, 'Mail', false, false ) guiGridListSetItemText ( GUIEditor_Grid[1], 7, 2, 'News', false, false ) guiGridListSetItemText ( GUIEditor_Grid[1], 8, 2, 'RSS', false, false ) guiGridListSetItemText ( GUIEditor_Grid[1], 9, 2, 'Search', false, false ) guiGridListSetItemText ( GUIEditor_Grid[1], 10, 2, 'Sign', false, false ) end end addEventHandler ( 'onClientGUIClick', root, onGridListClickShowColumn2Items ) function onGridListClickShowImage ( button ) if (button) == 'left' and (guiGridListGetItemText(GUIEditor_Grid[1],guiGridListGetSelectedItem(GUIEditor_Grid[1]))) == 'Address' then check() Picture1 = guiCreateStaticImage ( 357, 130, 128, 128, 'retro/address_128.png', false, GUIEditor_Window[1] ) elseif ( button ) == 'left' and (guiGridListGetItemText(GUIEditor_Grid[1],guiGridListGetSelectedItem(GUIEditor_Grid[1]))) == 'Ads' then check() Picture2 = guiCreateStaticImage ( 357, 130, 128, 128, 'retro/ads_128.png', false, GUIEditor_Window[1] ) elseif ( button ) == 'left' and (guiGridListGetItemText(GUIEditor_Grid[1],guiGridListGetSelectedItem(GUIEditor_Grid[1]))) == 'Calendar' then check() Picture3 = guiCreateStaticImage ( 357, 130, 128, 128, 'retro/calendar_128.png', false, GUIEditor_Window[1] ) elseif ( button ) == 'left' and (guiGridListGetItemText(GUIEditor_Grid[1],guiGridListGetSelectedItem(GUIEditor_Grid[1]))) == 'Comment' then check() Picture4 = guiCreateStaticImage ( 357, 130, 128, 128, 'retro/comment_128.png', false, GUIEditor_Window[1] ) elseif ( button ) == 'left' and (guiGridListGetItemText(GUIEditor_Grid[1],guiGridListGetSelectedItem(GUIEditor_Grid[1]))) == 'Home' then check() Picture5 = guiCreateStaticImage ( 357, 130, 128, 128, 'retro/home_128.png', false, GUIEditor_Window[1] ) end end addEventHandler ( 'onClientGUIClick', root, onGridListClickShowImage ) function check() if isElement(Picture1) then destroyElement(Picture1) end if isElement(Picture2) then destroyElement(Picture2) end if isElement(Picture3) then destroyElement(Picture3) end if isElement(Picture4) then destroyElement(Picture4) end if isElement(Picture5) then destroyElement(Picture5) end end Where Is The Meta.xml Codes
×
×
  • Create New...