Jump to content

+Razer+

Members
  • Posts

    19
  • Joined

  • Last visited

Details

  • Gang
    Blackout

+Razer+'s Achievements

Square

Square (6/54)

0

Reputation

  1. here is the link of the base http://www.4shared.com/rar/JCid3Q-2/AIR-BASE5.html and here is the script object = createObject ( 980, 2910.4899902344, -683.85998535156, 12.270000457764, 0, 0, 88.886291503906) maker = createMarker ( 2910.4299316406, -683.61999511719, 9.75, "cylinder", 2, 0, 0, 0, 0 ) object2 = createObject ( 980, 3026.1298828125, -686.88000488281, 23.39999961853, 0, 0, 88.907897949219) maker2 = createMarker ( 3026.1799316406, -687.07000732422, 21.129999160767, "cylinder", 2, 0, 0, 0, 0 ) object3 = createObject ( 980, 2914.8701171875, -608.76000976563, 11.210000038147, 0, 0, 89.231903076172) maker3 = createMarker ( 2914.7199707031, -608.51000976563, 8.539999961853, "cylinder", 2, 0, 0, 0, 0 ) object4 = createObject ( 980, 2951.8999023438, -608.34997558594, 8.6899995803833, 0, 0, 89.915710449219) maker4 = createMarker ( 2952, -608.52001953125, 6.0900001525879, "cylinder", 2, 0, 0, 0, 0 ) function gateo ( player ) if ( getElementType ( player ) == "vehicle" ) then player = getVehicleController ( player ) end if ( source == maker ) then local skin = getElementModel ( player ) if ( skin == 164 ) then moveObject ( object, 2800, 2910.4899902344, -683.85998535156, 17.200000762939, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this base.", player, 255, 0, 0 ) end elseif ( source == maker2 ) then local skin = getElementModel ( player ) if ( skin == 164 ) then moveObject ( object2, 2800, 3026.1298828125, -686.88000488281, 28.299999237061, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this base.", player, 255, 0, 0 ) end elseif ( source == maker3 ) then local skin = getElementModel ( player ) if ( skin == 164 ) then moveObject ( object3, 2800, 2914.8701171875, -608.76000976563, 16.540000915527, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this area.", player, 255, 0, 0 ) end elseif (source == maker4 ) then local skin = getElementModel ( player ) if (skin == 164 ) then moveObject ( object4, 2800, 2951.8999023438, -608.34997558594, 13.699999809265, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this area.", player, 255, 0, 0 ) end end end addEventHandler ( "onMarkerHit", root, gateo ) function getec ( player ) if ( source == maker ) then moveObject ( object, 980, 2910.4899902344, -683.85998535156, 12.270000457764, 0, 0, 0 ) elseif ( source == maker2 ) then moveObject ( object2, 980, 3026.1298828125, -686.88000488281, 23.39999961853, 0, 0, 0 ) elseif ( source == maker3 ) then moveObject (object3, 980 , 2914.8701171875, -608.76000976563, 11.210000038147, 0, 0, 0 ) elseif (source == maker4 ) then moveObject (object4, 980 , 2951.8999023438, -608.34997558594, 8.6899995803833, 0, 0, 0) end end addEventHandler ( "onMarkerLeave", root, getec ) pls anybody can fix that gate problem ? the gates are not opening for Cars D';
  2. ah still it's not working D';
  3. ah the gate is not opeing for Cars only for bikes D'; how i can fix that ? i need to change size of that Marker ? or something else ? object = createObject ( 980, 2910.4899902344, -683.85998535156, 12.270000457764, 0, 0, 88.886291503906) maker = createMarker ( 2910.4299316406, -683.61999511719, 9.75, "cylinder", 2, 0, 0, 0, 0 ) object2 = createObject ( 980, 3026.1298828125, -686.88000488281, 23.39999961853, 0, 0, 88.907897949219) maker2 = createMarker ( 3026.1799316406, -687.07000732422, 21.129999160767, "cylinder", 2, 0, 0, 0, 0 ) object3 = createObject ( 980, 2914.8701171875, -608.76000976563, 11.210000038147, 0, 0, 89.231903076172) maker3 = createMarker ( 2914.7199707031, -608.51000976563, 8.539999961853, "cylinder", 2, 0, 0, 0, 0 ) object4 = createObject ( 980, 2951.8999023438, -608.34997558594, 8.6899995803833, 0, 0, 89.915710449219) maker4 = createMarker ( 2952, -608.52001953125, 6.0900001525879, "cylinder", 2, 0, 0, 0, 0 ) function gateo ( player ) if ( source == maker ) then local skin = getElementModel ( player ) if ( skin == 164 ) then moveObject ( object, 2800, 2910.4899902344, -683.85998535156, 17.200000762939, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this base.", player, 255, 0, 0 ) end elseif ( source == maker2 ) then local skin = getElementModel ( player ) if ( skin == 164 ) then moveObject ( object2, 2800, 3026.1298828125, -686.88000488281, 28.299999237061, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this base.", player, 255, 0, 0 ) end elseif ( source == maker3 ) then local skin = getElementModel ( player ) if ( skin == 164 ) then moveObject ( object3, 2800, 2914.8701171875, -608.76000976563, 16.540000915527, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this area.", player, 255, 0, 0 ) end elseif (source == maker4 ) then local skin = getElementModel ( player ) if (skin == 164 ) then moveObject ( object4, 2800, 2951.8999023438, -608.34997558594, 13.699999809265, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this area.", player, 255, 0, 0 ) end end end addEventHandler ( "onMarkerHit", root, gateo ) function getec ( player ) if ( source == maker ) then moveObject ( object, 980, 2910.4899902344, -683.85998535156, 12.270000457764, 0, 0, 0 ) elseif ( source == maker2 ) then moveObject ( object2, 980, 3026.1298828125, -686.88000488281, 23.39999961853, 0, 0, 0 ) elseif ( source == maker3 ) then moveObject (object3, 980 , 2914.8701171875, -608.76000976563, 11.210000038147, 0, 0, 0 ) elseif (source == maker4 ) then moveObject (object4, 980 , 2951.8999023438, -608.34997558594, 8.6899995803833, 0, 0, 0) end end addEventHandler ( "onMarkerLeave", root, getec )
  4. that script was working but now when i edit that script and add 2 more gates it is not working i can't see any gates object = createObject ( 980, 2910.4899902344, -683.85998535156, 12.270000457764, 0, 0, 88.886291503906) maker = createMarker ( 2910.5300292969, -683.94000244141, 9.4399995803833, "cylinder", 2, 0, 0, 0, 0 ) object2 = createObject ( 980, 3026.1298828125, -686.88000488281, 23.39999961853, 0, 0, 88.907897949219) maker2 = createMarker ( 3026.7399902344, -686.38000488281, 20.290000915527, "cylinder", 2, 0, 0, 0, 0 ) object3 = createObject ( 980, 2914.8701171875, -608.76000976563, 11.210000038147, 0, 0, 89.231903076172) maker3 = createMarker ( 2914.7199707031, -608.51000976563, 8.539999961853, "cylinder", 2, 0, 0, 0, 0 ) object4 = createObject ( 980, 2951.8999023438, -608.34997558594, 8.6899995803833, 0, 0, 89.915710449219) maker4 = createMaker ( 2952, -608.52001953125, 6.0900001525879, "cylinder", 2, 0, 0, 0, 0 ) function gateo ( player ) if ( source == maker ) then local skin = getElementModel ( player ) if ( skin == 164 ) then moveObject ( object, 2500, 2910.4899902344, -683.85998535156, 17.200000762939, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this base.", player, 255, 0, 0 ) end elseif ( source == maker2 ) then local skin = getElementModel ( player ) if ( skin == 164 ) then moveObject ( object2, 2500, 3026.1298828125, -686.88000488281, 28.299999237061, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this base.", player, 255, 0, 0 ) end elseif ( sorce == maker3 ) then local skin = getElementModel ( player ) if ( skin == 164 ) then moveObject ( object3, 2500, 2914.8701171875, -608.76000976563, 16.540000915527, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this area.", player, 255, 0, 0 ) end elseif (sorce == maker4 ) then local skin = getElementModel ( player ) if (skin == 164 ) then moveObject ( object4, 2500, 2951.8999023438, -608.34997558594, 13.699999809265, 0, 0, 0 ) else outputChatBox ( "sorry, you're not a British Armed Forces member, You can't enter in this area.", player, 255, 0, 0 ) end end end addEventHandler ( "onMarkerHit", root, gateo ) function getec ( player ) if ( source == maker ) then moveObject ( object, 980, 2910.4899902344, -683.85998535156, 12.270000457764, 0, 0, 0 ) elseif ( source == maker2 ) then moveObject ( object2, 980, 3026.1298828125, -686.88000488281, 23.39999961853, 0, 0, 0 ) elseif ( source == maker3 ) then moveObject (object3, 980 , 2914.8701171875, -608.76000976563, 11.210000038147, 0, 0, 0 ) elseif (sorce == maker4 ) then moveObject (object4, 980 , 2951.8999023438, -608.34997558594, 8.6899995803833, 0, 0, 0) end end addEventHandler ( "onMarkerLeave", root, getec ) and thx for help
  5. i know that function but i can't make 2 moving gates object = createObject ( 980, 2910.4899902344, -683.85998535156, 12.270000457764, 0, 0, 88.886291503906) maker = createMarker ( 2910.5300292969, -683.94000244141, 9.4399995803833, "cylinder", 2, 0, 0, 0, 0 ) function gateo ( player ) local skin = getElementModel ( player ) if ( skin == 164 ) then moveObject ( object, 2500, 2910.4899902344, -683.85998535156, 17.200000762939, 0, 0, 0 ) else outputChatBox ( "", player, 255, 0, 0 ) end end addEventHandler ( "onMarkerHit", maker, gateo ) function getec ( player ) moveObject ( object, 980, 2910.4899902344, -683.85998535156, 12.270000457764, 0, 0, 0 ) end addEventHandler ( "onMarkerLeave", maker, getec ) object = createObject ( 980, 3026.1298828125, -686.88000488281, 23.39999961853, 0, 0, 88.907897949219) maker = createMarker ( 3026.7399902344, -686.38000488281, 20.290000915527, "cylinder", 2, 0, 0, 0, 0 ) function gateo ( player ) local skin = getElementModel ( player ) if ( skin == 164 ) then moveObject ( object, 2500, 3026.1298828125, -686.88000488281, 28.299999237061, 0, 0, 0 ) else outputChatBox ( "", player, 255, 0, 0 ) end end addEventHandler ( "onMarkerHit", maker, gateo ) function getec ( player ) moveObject ( object, 980, 3026.1298828125, -686.88000488281, 23.39999961853, 0, 0, 0 ) end addEventHandler ( "onMarkerLeave", maker, getec ) i try to make it but there are some bugs in this script
  6. I don't know how to make 2 moving gate in 1 base i try to make it but there are some bugs pls teach me how to make 2 moving gates
  7. How i can make 2 moving gates in 1 map ? i try to make it but there are bugs
  8. Hey Guys i am Eclipse i am new at scripting i want to know how i can put music in my base not in the whole server, Now i am using this script but i don't want it in the whole server setRadioChannel(0) song = playSound("Flo Rida-Whistle.mp3", true) bindKey("o", "down", function () setSoundPaused(song, not isSoundPaused(song)) end ) i want to set the range of the music so the music will only play on my base
  9. Ah still it is not working the gate is not moving up and that Outputchatbox is also not working object = createObject ( 980, 2497.1799316406, 2773.2600097656, 12.630000114441, 0, 0, 90.186767578125 ) marker = createMarker ( 2495.7800292969,2772.9799804688,8, "cylinder", 2, 0, 0, 0, 255 ) function gateo ( player ) if getElementType( player ) == "player" then if ( skin == 287 ) then moveObject ( object, 100, 2497.1799316406, 2773.2600097656, 18, 0, 0, 90.186767578125 ) else outputChatBox ( "sorry, you're not a USAS member, You can't enter in this base.", player, 255, 0, 0 ) end end end addEventHandler ( "onMarkerHit", maker, gateo ) function getec ( player ) if getElementType( player ) == "player" then moveObject ( object, 980, 2497.1799316406, 2773.2600097656, 12.630000114441, 0, 0, 90.186767578125 ) end end addEventHandler ( "onMarkerLeave", maker, getec )
  10. ah i don't know why this gate is not moving up object = createObject ( 980, 2497.1799316406, 2773.2600097656, 12.630000114441, 0, 0, 90.186767578125 ) marker = createMarker ( 2495.7800292969,2772.9799804688,10.819999694824 , "cylinder", 2, 100, 0, 0, 255 ) function gateo ( player ) local skin = getElementModel ( player ) if ( skin == 287 ) then moveObject ( object, 100, 2497.1799316406, 2773.2600097656, 18, 0, 0, 90.186767578125 ) else outputChatBox ( "sorry, you're not a USAS member, You can't enter in this base.", player, 255, 0, 0 ) end end addEventHandler ( "onMarkerHit", maker, gateo ) function getec ( player ) moveObject ( object, 980, 2497.1799316406, 2773.2600097656, 12.630000114441, 0, 0, 90.186767578125 ) end addEventHandler ( "onMarkerLeave", maker, getec ) I can see the gate but when i go near that gate it is not opening
  11. Thx for help now i know how to make a moving object but how to change the marker color ? i want transparent marker color not Red color
  12. Hey guys i have a problem in mapping i am making a base for my gang but i don't know how to make a moving gate i try to make a gate but it was not working object = createobject (975, 2596.3100585938, -2015.4100341797, 4.539999961853) maker = createmarker (975, 2596.3100585938, -2015.4100341797, 4.539999961853, "Cylinder", 2, 100, 0, 0, 100) function gateo(player) local skin = getElementModel (hitPlayer) if skin ==248 then moveobject(object, 100, 2599, -2015.4100341797, 4.539999961853) else outputChatBox("sorry, you're not a SoA member, this gate will not open for you.",player,255,0,0) end end addEventHandler ("onMarkHit",gateo) function getec (player) moveObject(object, 975, 2596.3100585938, -2015.4100341797, 4.539999961853) end addEventHandler("onMarkerLeave",getec) I watch a video in youtube but it was hard to understand i want to make a gate which will open when a player will come near it and i also want that gate to open only for skin id 248 and sorry for my bad english
  13. Guys if i will donate i will really get a 24/7 server ? i am new in this server stuff
×
×
  • Create New...