Jump to content

Unique23

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by Unique23

  1. Good Evening everyone, I decided to lock this velocity script for the team but something went wrong. Here is the link of script. http://pastebin.com/ae3cWdKr ERROR: Loading script failed: Enes\unique.lua:2: ')' expected near 'then'
  2. good morning everyone! I made a gate script for the teams it works but it gives some warnings too. The warnings are; Bad Argument @getTeamName Bad Player pointer @ getPlayerTeam Here is the link of script http://pastebin.com/GMkcYuM5 8 and 17th lines. I have a question too.I added myself and my friend to the Unique team.I went to marker then gate opened.I started to wait on the marker but my friend came to me then gate closed.I don't want script to close gate if people are in the same team.
  3. Here is the link http://i.imgur.com/LJqRwl0.png
  4. Evening lads, Today,I tried to remove all object in KACC Military Fuels.I used MTA Editor but It didn't work.I couldn't remove some objects.How do I remove all objects there?
  5. Heya all!, I decided to make teleporting system with markers.It's just teleporting people but I want this: "If someone hits the marker,He have to see a black screen then script have to warp player to somewhere" It doesn't give any error or warning but I can't see black screen. Here is the script: markerinside=createMarker(265.2,1915.7,19,"arrow",1,200,200,200,255,getRootElement()) marerinsidecol=createColSphere(264.2,1915.2,17,1) markeroutside=createMarker(271.8,1926.8,19,"arrow",1,200,200,200,255,getRootElement()) markeroutsidecol=createColSphere(272,1927,17,1) function warpout(player) setElementPosition(player,273,1929,17) fadeCamera(source,false, 2, 255, 255, 255) setTimer(fadeCamera, 3000, 1, source, true, 1.0) end function warpin(player) setElementPosition(player,263,1913,17) fadeCamera(source,false, 2, 255, 255, 255) setTimer(fadeCamera, 3000, 1, source, true, 1.0) end addEventHandler("onColShapeHit",marerinsidecol,warpout) addEventHandler("onColShapeHit",markeroutsidecol,warpin)
  6. Hello, I wanted to make a panel for my battleship but I needed your help. local carlines = createObject (10772, -1356.3,538,17.8,0,0,0) -- Carrier_Line local hangardoor = createObject (16775, -1420,551.2001,13.2) -- door_savhangar2 local hangardoor2 = createObject(16775,-1411,551.2001,13.2) -- door_savhangar2 local cardoor = createObject(3113,-1465,538.19921875,2) -- Carrier Door local carlift2 = createObject(3114,-1414.40002 ,553.40002,17.2) -- Carrier Lift2 local carlift1 = createObject(3115,-1456.5,538.29999,17.5) -- Carrier Lift 1 local carhangar = createObject(11146,-1366.69922,538.7998,12.5) -- Carrier Hangar local carlow = createObject(11145,-1420.59998,538.29999,4.5) -- Carrier Lowdeck local carbits = createObject (createObject(11237,-1354.69922,530.7998,39) -- Carrier Bits local carbridge = createObject(10770,-1354.39941,530.69922,38.9) -- Carrier Bridge local carhull = createObject(10771,-1357.69995,538.29999,6) -- Carrier Hull local corridor = createObject(11149,-1363.69995,533.09998,12.3) -- Corridor local carrierlift2 = createObject(3114,-1414.4000244141,527.90002441406,16.7,0,0,180) -- Carrier Lift2 I needed to use " AttachElement " but I didn't understand how to do that For example; attachElements(hull3, hull1, -106.8, 8.05, 2) What are that numbers? Location x , y , z? Thanks in advance
  7. Hello again I always use this script for the gates. local gate = createObject(16775, 286.29998779297, 2056.8000488281, 19, 0, 0, 90 ) local alan = createMarker(286,2057,17,"cylinder",5,255,255,255,0) function Opengate(p) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(p)), aclGetGroup("Admin")) then moveObject(gate, 2000, 286.29998779297, 2056.8000488281, 13, 0, 0, 90) end end addEventHandler( "onMarkerHit", alan, Opengate ) function Closegate(p) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(p)), aclGetGroup("Admin")) then moveObject(gate, 2000,286.29998779297, 2056.8000488281, 19, 0, 0, 90 ) end end addEventHandler( "onMarkerLeave", alan, Closegate ) But It sometimes doesn't work Here is the example video: (That nigga skin ;p)
  8. Thanks for helping, I'm trying make that at the moment. P.S.:I learnt how to lock gates for the teams
  9. Hello lads, I know how to make moving gates and marker for teleporting I have some questions. I want to make moving gates for the teams , How can i makle that? My teleporting system just teleport players but I want to make this script, "If someone hits the marker , He sees a black screen then teleports somewhere. I have an idea too.Imagine, I'm in Admin team and When I join the game or spawn as Admin , I want to hear a sound " Welcome " (If that's possible , can you help me about that?) Here is the example script of my gate blastdoor1=createObject(2929,215.8994140625,1875.5999755859,13.89999961853) blastdoor2=createObject(2927,211.9,1875.5999755859,13.89999961853) blastdoorzone=createColSphere(213.80000305176,1876.1999511719,12.1, function openblastdoors() moveObject(blastdoor1,5000,219.95,1875.5999755859,13.89999961853) moveObject(blastdoor2,5000,207.9,1875.6,13.89999961853) end function closeblastdoors() moveObject(blastdoor1,5000,215.69999694824,1875.5999755859,13.89999961853) moveObject(blastdoor2,5000,211.69999694824,1875.5999755859,13.89999961853) end Here is the example script of teleporting markerinside=createMarker(265.2,1915.7,19,"arrow",1,200,200,200,255,getRootElement()) marerinsidecol=createColSphere(264.2,1915.2,17,1) markeroutside=createMarker(271.8,1926.8,19,"arrow",1,200,200,200,255,getRootElement()) markeroutsidecol=createColSphere(272,1927,17,1) function warpout(player) setElementPosition(player,273,1929,17) end function warpin(player) setElementPosition(player,263,1913,17) end addEventHandler("onColShapeHit",marerinsidecol,warpout) addEventHandler("onColShapeHit",markeroutsidecol,warpin)
×
×
  • Create New...