Jump to content

bartje01

Members
  • Posts

    208
  • Joined

  • Last visited

Posts posted by bartje01

  1. Well it didn;t worked yet. Thanks for helping by the way.

    Is it better when I show you everything about it?

    function load ( name )
    pilot = createPed ( 61,1712.6456298828,1617.2902832031,10.063969612122)
    setPedRotation ( pilot, 169.0)
    pilotmarker = createMarker ( 1712.4139404297,1616.1068115234,9.130989074707, "cylinder",1.0)
    end
    addEventHandler ( "onResourceStart", getRootElement(), load )
     
     
     
     
    addEventHandler("onMarkerHit", pilotmarker, function()
    outputChatBox("Welcome to My Server", thePlayer)
    end)
    

    Sorry for the

    
    
    						
  2. Well I want that if you walk into a marker that it says:

    You are in the pilot marker.

    I tried but failed.

    I have this:

    pilotmarker = createMarker ( 1712.4139404297,1616.1068115234,9.130989074707, "cylinder",1.0)

    at

    onResourceStart

    and then I have this:

    addEventHandler ("onMarkerHit",getRootElement(),
    function(player)
    if (source == pilotmarker) then
    outputChatBox("Failed to create vehicle.",player)
    end
    end)
    

    And well. I see the small blue marker. But when I walk into it. just nothing happends

    Please help

    Thanks inregards

  3. https://wiki.multitheftauto.com/wiki/CreateMarker

    https://wiki.multitheftauto.com/wiki/GiveWeapon

    https://wiki.multitheftauto.com/wiki/GetPlayerMoney

    https://wiki.multitheftauto.com/wiki/TakePlayerMoney

    https://wiki.multitheftauto.com/wiki/OnMarkerHit

    If you cannot work it out from those functions and that event you should read robhol's guide again.

    http://robhol.pipe.no/guide/basics/

    Also, learn which section is relevant to your topic. Suggestions is not for scripting help.

    A thankyou. I will try it now

  4. https://wiki.multitheftauto.com/wiki/CreateMarker

    https://wiki.multitheftauto.com/wiki/GiveWeapon

    https://wiki.multitheftauto.com/wiki/GetPlayerMoney

    https://wiki.multitheftauto.com/wiki/TakePlayerMoney

    https://wiki.multitheftauto.com/wiki/OnMarkerHit

    If you cannot work it out from those functions and that event you should read robhol's guide again.

    http://robhol.pipe.no/guide/basics/

    Also, learn which section is relevant to your topic. Suggestions is not for scripting help.

    A thankyou. I will try it now

  5. Hey everyone.

    I have a question.

    I wanna make a marker and when you step in it you will get a deagle with 50 ammo and you will lose 50$. I already tried this 3 hours or something :P Couldn't find anything .

    I hope any of you is able to help me.

    Regards

  6. Hey everyone.

    I have a question.

    I wanna make a marker and when you step in it you will get a deagle with 50 ammo and you will lose 50$. I already tried this 3 hours or something :P Couldn't find anything .

    I hope any of you is able to help me.

    Regards

×
×
  • Create New...