Irish

Members
  • Content Count

    51
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Irish

  • Rank
    Snitch

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Irish

    Help

    There is not a such resource uploaded on MTA community by now, so you gotta start working on it yourself. If you face any problems then you're welcome to ask for help here.
  2. viewtopic.php?f=91&t=48495
  3. Irish

    Marker Problem

    Well whatever dimension you stated in your first code was incorrect, and you've posted the correct one afterwards. By the way its working fine for me; marker is created at the provided position. http://postimg.org/image/zewizlund/ - I don't know why it isn't working for you.
  4. Irish

    Marker Problem

    You've stated the correct dimension (x,y,z) now, and they're (X) 1486.9837646484 (Y) -1687.2625732422 (Z) 14.046875, some integers from z were missing. Markeyr = createMarker(1486.9837646484, -1687.2625732422, 14.046875, "cylinder", 1, 255, 255, 255) function cmd(plr) setElementPosition(plr, 1486.9837646484, -1687.2625732422, 14.046875) end addCommandHandler("pos", cmd) The marker should be now created at the correct position.
  5. Irish

    Marker Problem

    This is where you've created the marker. The cmd function exactly warps you there.
  6. At least link us to that resource so we can actually see what you're talking about.
  7. Irish

    Marker Problem

    Markeyr = createMarker(-1486.7078857422, -1687.2141113281, 14, "cylinder", 1, 255, 255, 255) function cmd(plr) setElementPosition(plr, -1486.7078857422, -1687.2141113281, 14) end addCommandHandler("pos", cmd) You've created the marker somewhere not on the ground. Try this cmd function that will warp you to there and you'll see where the marker is created.
  8. My code and other people's code are working fine, he's just kidding all of us and nothing else.
  9. Irish

    SOLVED

    Hmm...didn't know because he has created another topic regarding this help.
  10. Irish

    SOLVED

    This topic is already titled as "SOLVED". @Walid
  11. Check the code again. You wouldn't have to use a function for creating a vehicle in this resource. The second code (EDIT one) is a function that removes/adds and shows the data, and I guess you've just copied that code which is why the vehicle wasn't created.
  12. c1 = createVehicle ( 520, -2891.84765625, 460.4560546875, 4.9140625, 0, 0, 90 ) function onEnter(thePlayer) if getElementModel(source) == 520 and getElementData(thePlayer, "class") ~= "Admin" then cancelEvent() outputChatBox("This Vehicle Is Locked for the Class:Admin", thePlayer, 0, 255, 0) end end addEventHandler("onVehicleStartEnter", getRootElement, onEnter) EDIT: function data (plr) if getElementData(plr, "class") ~="Admin" then setElementData(plr, "class", "Admin") outputChatBox("Your class data is: "..getElementData(plr, "class"), plr) else setElementData(plr, "class", "Nope") outputChatBox("Your class data is: "..getElementData(plr, "class"), plr) end end addCommandHandler("class", data) Use this function to add/remove you and check your data so you can be sure whether your data is "Admin" or whatever.
  13. function cars () c1 = createVehicle ( 520, -2891.84765625, 460.4560546875, 4.9140625, 0, 0, 90 ) end addEventHandler ( "onResourceStart", resourceRoot, cars ) function onEnter(thePlayer) if getElementData(thePlayer, "class") ~= "Admin" then cancelEvent() outputChatBox("This Vehicle Is Locked for the Class:Admin", thePlayer, 0, 255, 0) end end addEventHandler("onVehicleStartEnter", getRootElement(), onEnter)
  14. Lol...Meri baat kisi ko bhi sahi tarha samaj main nahi aa rahi . Mera kahne ka matlab ye tha kay, jab aap ko apna Payoneer account balance re-charge karna ho to aap kaise karte ho?