Üzenetek megjelenítése

Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.


Témák - YT_andrasxa

Oldalak: [1]
1
Segítségkérés / Mi a hiba a scriptebben
« Dátum: 2018. Július 08. - 22:07:11 »
Sziasztok!Ma írtam egy saját jármű elmentése dolgot.
 
Csak az a baj, hogy nem működik. Aki tud segíteni az
 
javítja ki a scriptet
 
 
 
Script: Szerver Oldal:
 
addCommandHandler(\"myveh\", 
    function (thePlayer)
        local veh = getPedOccupiedVehicle(thePlayer)
        outputChatBox(\"#FFFF00[#0000FFMyVeh#FFFF00] #FFFFFFEz a jármű már a tied!\", thePlayer, 0, 0, 0, true)
    end
)

 
addEventHandler(\"onPlayerQuit\", root, 
    function (thePlayer, veh)
        local veh = getPedOccupiedVehicle(thePlayer)
        local pos = getElementPosition( veh )
        local rot = getElementRotation( veh )
        local color = getVehicleColor( veh )
        local paintjob = getVehiclePaintjob( veh )
        local model = getElementModel( veh )
        local acc = getPlayerAccount(thePlayer)
        setAccountData(acc, \"vmodel\", model)
        setAccountData(acc, \"vpos\", pos)
        setAccountData(acc, \"vrot\", rot)
        setAccountData(acc, \"vcolor\", color)
        setAccountData(acc, \"vpaintjob\", paintjob)
        destoyElement(veh)
    end
)

 
addEventHandler(\"onPlayerLogout\", root, 
    function (thePlayer, veh)
        local pos = getElementPosition( veh )
        local rot = getElementRotation( veh )
        local color = getVehicleColor( veh )
        local paintjob = getVehiclePaintjob( veh )
        local model = getElementModel( veh )
        local acc = getPlayerAccount(thePlayer)
        setAccountData(acc, \"vmodel\", model)
        setAccountData(acc, \"vpos\", pos)
        setAccountData(acc, \"vrot\", rot)
        setAccountData(acc, \"vcolor\", color)
        setAccountData(acc, \"vpaintjob\", paintjob)
        destoyElement(veh)
    end
)

 
addEventHandler(\"onPlayerLogin\", root, 
    function (thePlayer)
        acc = getPlayerAccount(thePlayer)
        local pos = getAccountData(acc, \"vpos\")
        local rot = getAccountData(acc, \"vrot\")
        local color = getAccountData(acc, \"vcolor\")
        local paintjob = getAccountData(acc, \"vpaintjob\")
        local model = getAccountData(acc, \"vmodel\")
        veh = createVehicle(477, 0, 0, 200)
        setElementPosition( veh )
        setElementRotation( veh )
        setVehicleColor( veh )
        setVehiclePaintjob( veh )
        setElementModel( veh )
    end
)

 
 

2
MTA: Általános / BlockMTA v2: Adminokat keresünk!
« Dátum: 2018. Március 12. - 20:16:45 »
BlockMTA V2
 
Sziasztok!
 
Én a BlockMTA tulajdonosa vagyok.
 
Admin TGF van áprilisig!
 
<<----------------------------------------------------------------------------------------->>
 
Ezek a dolgok kellenek:
 

  •    Minimum 10 éves kor.


  •    A szerver ismerete.


  •    FUN szabályok ismerete.


  •    TS3, Skype, MTA a gépeden. (TS3 nem kötelező)


  •    Napi minimum 20 perc


  •    A nyitásig Hamachi


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------=]]>>
 
Jelentkezés csak skype-on!
 
Skype: andrasxa     (( A képen én vagyok. ))
 
Weboldal (( Feltörés miatt javítás van ))
 
 

3
Segítségkérés / Nem jó a küldetés amit írtam.
« Dátum: 2018. Február 05. - 20:28:42 »
Sziasztok!
 
Ma írtam egy script-et.
 
Elindítottam....
 
De nem volt jó.
 
A startmarker nem volt ott a helyén és a konzol se
 
írt semmit.
 
 
 
Itt a cucc:
 
Client:
 
 
 

prefix = \"#FFFF00[[ #0000FFBlock#FF0000M#FFFFFFT#00FF00A #FFFFFFKüldetés #FFFF00]]\"
addEventHandler( \"onClientResourceStart\", getResourceRootElement( getThisResource( ) ),
    function ()
        startmarker = createMarker( 2498.7819824219, -1684.4909667969, 12.414931297302 [, \"cylinder\", 3, 255, 1, 1, 255 ] )
        startblip = createBlipAttachedTo ( startmarker [, 3, 2, 0, 0, 0, 255, 0, 99999.0] ))
    end
)
addEventHandler ( \"onClientMarkerHit\", getRootElement(), startbox )
function startbox ()
    if isElementWithinMarker(thePlayer, startmarker) then
        outputChatBox(\"------------------------------\" [, 10, 10, 230, true] )
        outputChatBox(prefix.. \"A küldetés elkezdéséhez írd be: /m1\" [, 1, 255, 1, true] )
        outputChatBox(\"------------------------------\" [, 10, 10, 230, true] )
    end
end
-- VÉGE A KÜLDETÉSNEK
function theend ()
    outputChatBox(\"------------------------------\" [, 10, 10, 230, true] )
    outputChatBox(prefix.. \" Gratulálunk! Sikeresen végigvitted a küldetést!\" [, 1, 255, 1, true] )
    outputChatBox(prefix.. \"Jutalom: 3500 FT\" [, 1, 255, 1, true] )
    outputChatBox(\"------------------------------\" [, 10, 10, 230, true] )
    givePlayerMoney ( 3500 )
end
-- KÜLDETÉS
addCommandHandler ( \"m1\", go )
function go ( source, CmandName )
    destroyElement(startmarker)
    destroyElement(startblip)
    missioncar = createVehicle ( 602, 2503.6752929688, -1670.8513183594, 13.36344909668 )
    missionman = createPed ( 47, 2503.6752929688, -1670.8513183594, 13.36344909668 [, 0.0 ] )
    setElementPosition ( source, 2503.6752929688, -1670.8513183594, 13.36344909668)
    setElementPosition ( missionman, 2503.6752929688, -1670.8513183594, 13.36344909668)
    odaermarker = createMarker(  [, 1934.7180175781, -1787.1729736328, 12.3828125 \"cylinder\", 3, 255, 1, 1, 255 ] )
    -- Beszélgetések
    setTimer ( b-egy, 2000, 1)
    setTimer ( b-ketto, 2000, 1)
    setTimer ( b-harom, 2000, 1)
    setTimer ( b-negy, 2000, 1)
    setTimer ( b-ot, 2000, 1)
    setTimer ( b-hat, 2000, 1)
    setTimer ( b-het, 2500, 1)
end
addEventHandler ( \"onClientMarkerHit\", getRootElement(), rablas )
function rablas ()
    if isElementWithinMarker(thePlayer, odaermarker) then
        destroyElement(odaermarker)
        setElementPosition ( missionman, 1920.4338378906, -1776.39453125, 13.578125)
        setTimer(r-b-egy, 750, 1)
        setTimer(elado-kill, 2000, 1)
        rabbolmarker = createMarker(  [, 1917.0793457031, -1775.9217529297, 12.578125 \"cylinder\", 1.5, 255, 1, 1, 255 ] )
    end
end
function r-b-egy ()
    outputChatBox(\"Krisztián mondja: Rablás! Fel a kezekkel!\" [, 245, 240, 1, true] )
end
function elado-kill ()
    killPed ( elado, [ missionman, 255, 255, false ] )
end
addEventHandler ( \"onClientMarkerHit\", getRootElement(), rabol )
function rabol ()
    if isElementWithinMarker(thePlayer, rabolmarker) then
        destroyElement(rabbolmarker)
        server.setPedAnimation(source, \"bomber\", \"BOM_Plant_Loop\")
        setTimer(rabol-vege, 20000, 1)
        setTimer(vege, 3000, 1)
    end
end
function rabol-vege ()
    server.setPedAnimation(source, false)
    givePlayerMoney ( 700000 )
end
function vege ()
    destroyElement(missioncar)
    destroyElement(missionman)
    startmarker = createMarker( 2498.7819824219, -1684.4909667969, 12.414931297302 [, \"cylinder\", 3, 255, 1, 1, 255 ] )
    startblip = createBlipAttachedTo ( startmarker [, 3, 2, 0, 0, 0, 255, 0, 99999.0] ))
    outputChatBox(\"Gratulálunk! Sikeresen kiraboltad a déli benzinkutat!\" [, 5, 245, 5, true] )
end
-- Beszélgetések
function b-egy ()
    outputChatBox(\"Krisztián mondja: Na akkor huzzuk el délihez! Oszt raboljunk!\" [, 245, 240, 1, true] )
end
function b-ketto ()
    outputChatBox(getPlayerName(source) \" mondja: Ja! Csak a rohadt rendőrök ne jöjjenek!\" [, 245, 240, 1, true] )
end
function b-harom ()
    outputChatBox(\"Krisztián mondja: Nem baj ha jönnek... Sz*rrá lövöm a fejüket!\" [, 245, 240, 1, true] )
end
function b-negy ()
    outputChatBox(\"Krisztián mondja: Kicsit gyorsabban!\" [, 245, 240, 1, true] )
end
function b-ot ()
    outputChatBox(getPlayerName(source) \" mondja: Ha kussolsz akkor gyorsabb leszek!\" [, 245, 240, 1, true] )
end
function b-hat ()
    outputChatBox(\"Krisztián mondja: Mi? Az ad neked erőt?\" [, 245, 240, 1, true] )
end
function b-het ()
    outputChatBox(getPlayerName(source) \" mondja: Ja...\" [, 245, 240, 1, true] )
end

 
 
 
Meta.xml:
 

<meta>
    <info author=\"andrasxa\" type=\"script\" name=\"Mission\" description=\"BlockMTA\" version=\"1.0\"/>
    <script src=\"1.lua\" type=\"client\"/>
</meta>

 
 

4
Segítségkérés / Nem jó a küldetés amit írtam.
« Dátum: 2018. Február 05. - 20:28:38 »
Sziasztok!
 
Ma írtam egy script-et.
 
Elindítottam....
 
De nem volt jó.
 
A startmarker nem volt ott a helyén és a konzol se
 
írt semmit.
 
 
 
Itt a cucc:
 
Client:
 
 
 
prefix = \"#FFFF00[[ #0000FFBlock#FF0000M#FFFFFFT#00FF00A #FFFFFFKüldetés #FFFF00]]\"
 
addEventHandler( \"onClientResourceStart\", getResourceRootElement( getThisResource( ) ),
    function ()
        startmarker = createMarker( 2498.7819824219, -1684.4909667969, 12.414931297302 [, \"cylinder\", 3, 255, 1, 1, 255 ] )
        startblip = createBlipAttachedTo ( startmarker [, 3, 2, 0, 0, 0, 255, 0, 99999.0] ))
    end
)
 
addEventHandler ( \"onClientMarkerHit\", getRootElement(), startbox )
function startbox ()
    if isElementWithinMarker(thePlayer, startmarker) then
        outputChatBox(\"------------------------------\" [, 10, 10, 230, true] )
        outputChatBox(prefix.. \"A küldetés elkezdéséhez írd be: /m1\" [, 1, 255, 1, true] )
        outputChatBox(\"------------------------------\" [, 10, 10, 230, true] )
    end
end
 
-- VÉGE A KÜLDETÉSNEK
function theend ()
    outputChatBox(\"------------------------------\" [, 10, 10, 230, true] )
    outputChatBox(prefix.. \" Gratulálunk! Sikeresen végigvitted a küldetést!\" [, 1, 255, 1, true] )
    outputChatBox(prefix.. \"Jutalom: 3500 FT\" [, 1, 255, 1, true] )
    outputChatBox(\"------------------------------\" [, 10, 10, 230, true] )
    givePlayerMoney ( 3500 )
end
 
-- KÜLDETÉS
 
addCommandHandler ( \"m1\", go )
function go ( source, CmandName )
    destroyElement(startmarker)
    destroyElement(startblip)
    missioncar = createVehicle ( 602, 2503.6752929688, -1670.8513183594, 13.36344909668 )
    missionman = createPed ( 47, 2503.6752929688, -1670.8513183594, 13.36344909668 [, 0.0 ] )
    setElementPosition ( source, 2503.6752929688, -1670.8513183594, 13.36344909668)
    setElementPosition ( missionman, 2503.6752929688, -1670.8513183594, 13.36344909668)
    odaermarker = createMarker(  [, 1934.7180175781, -1787.1729736328, 12.3828125 \"cylinder\", 3, 255, 1, 1, 255 ] )
 
    -- Beszélgetések
    setTimer ( b-egy, 2000, 1)
    setTimer ( b-ketto, 2000, 1)
    setTimer ( b-harom, 2000, 1)
    setTimer ( b-negy, 2000, 1)
    setTimer ( b-ot, 2000, 1)
    setTimer ( b-hat, 2000, 1)
    setTimer ( b-het, 2500, 1)
end
 
addEventHandler ( \"onClientMarkerHit\", getRootElement(), rablas )
function rablas ()
    if isElementWithinMarker(thePlayer, odaermarker) then
        destroyElement(odaermarker)
        setElementPosition ( missionman, 1920.4338378906, -1776.39453125, 13.578125)
        setTimer(r-b-egy, 750, 1)
        setTimer(elado-kill, 2000, 1)
        rabbolmarker = createMarker(  [, 1917.0793457031, -1775.9217529297, 12.578125 \"cylinder\", 1.5, 255, 1, 1, 255 ] )
    end
end
 
function r-b-egy ()
    outputChatBox(\"Krisztián mondja: Rablás! Fel a kezekkel!\" [, 245, 240, 1, true] )
end
 
function elado-kill ()
    killPed ( elado, [ missionman, 255, 255, false ] )
end
 
addEventHandler ( \"onClientMarkerHit\", getRootElement(), rabol )
function rabol ()
    if isElementWithinMarker(thePlayer, rabolmarker) then
        destroyElement(rabbolmarker)
        server.setPedAnimation(source, \"bomber\", \"BOM_Plant_Loop\")
        setTimer(rabol-vege, 20000, 1)
        setTimer(vege, 3000, 1)
    end
end
 
function rabol-vege ()
    server.setPedAnimation(source, false)
    givePlayerMoney ( 700000 )
end
 
function vege ()
    destroyElement(missioncar)
    destroyElement(missionman)
    startmarker = createMarker( 2498.7819824219, -1684.4909667969, 12.414931297302 [, \"cylinder\", 3, 255, 1, 1, 255 ] )
    startblip = createBlipAttachedTo ( startmarker [, 3, 2, 0, 0, 0, 255, 0, 99999.0] ))
    outputChatBox(\"Gratulálunk! Sikeresen kiraboltad a déli benzinkutat!\" [, 5, 245, 5, true] )
end
 
-- Beszélgetések
function b-egy ()
    outputChatBox(\"Krisztián mondja: Na akkor huzzuk el délihez! Oszt raboljunk!\" [, 245, 240, 1, true] )
end
 
function b-ketto ()
    outputChatBox(getPlayerName(source) \" mondja: Ja! Csak a rohadt rendőrök ne jöjjenek!\" [, 245, 240, 1, true] )
end
 
function b-harom ()
    outputChatBox(\"Krisztián mondja: Nem baj ha jönnek... Sz*rrá lövöm a fejüket!\" [, 245, 240, 1, true] )
end
 
function b-negy ()
    outputChatBox(\"Krisztián mondja: Kicsit gyorsabban!\" [, 245, 240, 1, true] )
end
 
function b-ot ()
    outputChatBox(getPlayerName(source) \" mondja: Ha kussolsz akkor gyorsabb leszek!\" [, 245, 240, 1, true] )
end
 
function b-hat ()
    outputChatBox(\"Krisztián mondja: Mi? Az ad neked erőt?\" [, 245, 240, 1, true] )
end
 
function b-het ()
    outputChatBox(getPlayerName(source) \" mondja: Ja...\" [, 245, 240, 1, true] )
end
 
 
 
Meta.xml:
 
<meta>
    <info author=\"andrasxa\" type=\"script\" name=\"Mission\" description=\"BlockMTA\" version=\"1.0\"/>
    <script src=\"1.lua\" type=\"client\"/>
</meta>

5
Munkaerő keresés / Rendőr, NAV, Mentős Skin-nt keresek!
« Dátum: 2017. Október 26. - 19:30:23 »
Skin-eket keresek!
 
Sziasztok! Akinek van NAV-os, Mentős vagy Rendőr skin-e
 
az küldje el. Ha csak egy is van akkor azt is küld el.
 
Elöre is köszi.

Oldalak: [1]
SimplePortal 2.3.7 © 2008-2024, SimplePortal