Jump to content

Mega9

Members
  • Posts

    216
  • Joined

  • Last visited

Everything posted by Mega9

  1. Mega9

    Scripteri

    Elektronička naplata cestarine? bridge_tollbooth su zapravo naplatne kućice na 3 glavna mosta koja spajaju gradove.
  2. Mega9

    Scripteri

    To je bilo davno. Ne scriptam za community toliko puno jer nemam ideja, a ozbiljnije projekte i ideje čuvam. Ovdje sam već dosta dugo samo što ne postam, većinom čitam Scripting i gledam ima li čega pametnog na Resource podforumu. Imaš na Community-u bridge_tollbooth, baš sam dovršio prije par dana tak da je to jedna ideja koja mi je slučajno pala na um, a nisam vidio da ju je već netko "obradio". Razmišljam napravit dodatak nešto slično kao ENC, kupiš impulse i prođeš kroz rampu bez otvaranja GUI-a itd. Btw. ne gledaj ona stara s**nja, to nije baš, err, to je bio sam početak scriptanja. *blush*
  3. Mega9

    Scripteri

    ^ What he said... Anyway, ako zatrebate nešto kao moj signature i imate malo love javite mi se A Nex, znaš već, droga, alkohol i nema ga više
  4. Mega9

    Scripteri

    Vidiš da zna na 2 jezika skriptat. Pro 100%, nemoj se s njim zaje*avat Nego šta trebaš ti za taj SACR? Nekakva kopija SAES-a, a?
  5. Mega9

    Elevator

    local elevator = createObject ( 971, 3226.3999023438, -2897.3999023438, 15.60000038147, 89.249816894531, 180, 231.75024414063 ) moveObject ( elevator, 10000, 3226.3999023438, -2897.3999023438, 29.60000038147 ) -- the last three arguments were causing the rotation problem setTimer ( moveObject, 10000, 1, elevator, 1000, 3226.3999023438, -2897.3999023438, 15.60000038147 )
  6. https://community.multitheftauto.com/index.php?p= ... ls&id=4959 and https://community.multitheftauto.com/index.php?p= ... ls&id=4958 Original: https://community.multitheftauto.com/index.php?p= ... ls&id=1152
  7. Mega9

    Wiki

    Ja bih volio kad bi bila hrvatska Wiki verzija, tako bi mogli naučit i ostali koje zbunjuju svi ti engleski nazivi itd. Čak i mene zbunjuju, zato sam još na undernoob razini Lua scriptanja Jako bih volio vidjet neke balkance (scriptere) udružene pa da naprave neki full balkan server nešto kao RPG ili sl. jer sam vidio da ih puno igra s ovih prostora, a to su najčešće djeca koja često dobiju ban na engleskim serverima jer ne razumiju engleski pa ne mogu ni pravila znati.
  8. Mega9

    Wiki

    Dobra ideja al' to je jako puno posla za samo par ljudi.
  9. This works fine to me... local jobMarker = createMarker(1808.1796875, -1916.625, 12.56644821167, "cylinder", 2, 0, 255, 255, 100 ) function jobMarkerHit ( hitElement, matchingDimension ) if isElementWithinMarker ( hitElement, jobMarker ) then if getElementType( hitElement ) == "player" and not getPedOccupiedVehicle ( hitElement ) then local vehicle = createVehicle ( 431, 1798.38171, -1929.55750, 13.38790 ) setPlayerTeam ( hitElement, getTeamFromName ( "Bus" ) ) warpPedIntoVehicle ( hitElement, vehicle, 0 ) end end end addCommandHandler ( "acceptjob", jobMarkerHit )
  10. Thanks for the help, but Solidsnake's works just perfect.
  11. Yeah, I used 'onPlayerLogin' because there would be a save system which saves wanted levels when players quit and loads them back when they log in. Thanks for the help, but I need a help with timer addEventHandler("onPlayerJoin", root, function ( ) setTimer ( setPlayerNametagText ( source, getPlayerName ( source ) .."[".. getPlayerWantedLevel ( source ) .."]", 200 ) end ) Going to test it and see if debug says anything.
  12. Hello there, I hope you can help me somehow with this. I wanted to make the script which would detect player's wanted level and show it right next to his name. I'm not really sure what functions and handlers I need but this is what I think: Functions: getPlayerWantedLevel getPlayerNametagText "or" getPlayerName setPlayerNametagText setTimer(? so it checks and updates the WL every few seconds?) ============================================================ Handler: onPlayerLogin root = getRootElement() addEventHandler("onPlayerLogin", root, function() setPlayerNametagText(source, getPlayerName(source).."["..getPlayerWantedLevel(source).."]") end) Err something like that? Consider my noobishness before posting something insultive, because I am very very willing to learn more lua things. Thanks for reading.
×
×
  • Create New...