Tekken

Members
  • Content count

    857
  • Joined

  • Last visited

Community Reputation

34 Good

About Tekken

  • Rank
    Road Dawg
  • Birthday 26/08/97

Details

  • Gang
    None
  • Location
    Romania
  • Interests
    Lua, PHP, MySQL, JavaScript, HTML, CSS

Recent Profile Visitors

1,712 profile views
  1. Nu te supara, dar topicul e jos de tot, cel mai probabil nimeni nu-l vede/citeste mai ales utilizatori noi, punetil mai sus gen primul ca pe sectiunea de scripting unde e primul.
  2. Un jucator mi-a luat banii

    N-ajunge sa stii doar tu de forum, scrie undeva pe server mare si stralucitor sa vada si chiorpalii astia.
  3. Un jucator mi-a luat banii

    Ba ce draq e cu voi de tot postati aici chiar nu intelegeti sunteti retardati? FORUMUL ASTA NU ARE LEGATURA CU SERVERUL VOSTRU!
  4. SCAM Laurentiu Anghel

    This is wrong in so many ways....
  5. Project: MTA:Battlegrounds [MTA:BG]

    Huuha, take it easy boys this is going way off topic. First of all(this rule should be known by everyone), you must thank him that he even try, maybe his main language is something like a strange type of russian or polish, I want to see you speaking that.(So don't b!tch about it, you can clearly understand his question). Second of all, who said you shouldn't ask for a resource from a close source project?(This is a rhetorical question, do not answer it) Back on topic please.
  6. Handcuff problem.

    local playersInCuffs = {}; --this is where players in cuffs will be stored. addEvent("putAnotherPlayerInCuffs", true); function putAnotherPlayerInCuffsS(playa) if not getElementData(playa, "inCuffs") and not getElementData(playa, "isDead") and (getElementData(source, "Handcuffs") >= 1) then setElementData(source, "Handcuffs", (getElementData(source, "Handcuffs") - 1)); setPedAnimation(playa, "ped", "IDLE_tired", -1, true, false, false); toggleAllControls(playa, false, true, false); toggleControl(playa, "jump", false); setElementData(playa, "inCuffs", true); outputChatBox("You were handcuffed for 90 seconds!", playa, 150, 50, 100); playersInCuffs[playa] = setTimer(function(player) if isElement(player) then setElementData(player, "inCuffs", false); if not getElementData(player,"inComa") then toggleAllControls(player, true); setPedAnimation(player, false); end end end, 15*60000, 1, playa); --Edit here for as many mins as you want! end end addEventHandler("putAnotherPlayerInCuffs", root, putAnotherPlayerInCuffsS); addEventHandler("onPlayerWasted", root, function() if isTimer(playersInCuffs[source]) then killTimer(playersInCuffs[source]); end setElementData(source, "inCuffs", false); toggleAllControls(source, true); setPedAnimation(source, false); toggleControl(playa, "jump", true); end); About the Handcuff once in a lifetime I suspect when you uncuff them you forget to clear the data and the server sees them as already handcuffed even they are not. Also I just realized you only need onPlayerWasted for when player dies. You may post the full script?
  7. Handcuff problem.

    This may fix: putAnotherPlayerInCuffsS = function(playa) if not getElementData(playa, "inCuffs") and not getElementData(playa, "isDead") and getElementData(source, "Handcuffs") >= 1 then setElementData(source, "Handcuffs", getElementData(source, "Handcuffs") - 1); setPedAnimation(playa, "ped", "IDLE_tired", -1, true, false, false); toggleAllControls(playa, false, true, false); toggleControl(playa, "jump", false); setElementData(playa, "inCuffs", true); outputChatBox("You were handcuffed for 90 seconds!", playa, 150, 50, 100); setTimer(function(player) if isElement(player) then if getElementData(player, "inCuffs") then setElementData(player, "inCuffs", false); if not getElementData(player,"inComa") then toggleAllControls(player, true); setPedAnimation(player, false); end end end end, 15*60000, 1, playa); --Edit here for as many mins as you want! end end addEvent("putAnotherPlayerInCuffs", true); addEventHandler("putAnotherPlayerInCuffs", root, putAnotherPlayerInCuffsS); addEventHandler("kilLDayZPlayer", root, function(player) setElementData(player, "inCuffs", false); toggleAllControls(player, true); setPedAnimation(player, false); end); It really depends on how is your death function called on most DayZ servers it's called kilLDayZPlayer Good luck.
  8. [Buying] DayZ gamemode

    Delete everything and restart the server, make sure you have the DayZ, login and slothbot. Also you may provide some screenshots and/or errors?
  9. [Buying] DayZ gamemode

    Pretty sure this is what you want: https://mega.nz/#!xgAGAJjC!vPEE7pNEmVkDa4tlz7DKotVMUhEK1Ca7rF9lmPRdgKk You are welcome.
  10. kick a player is not working?

    What is the name of the resource that should kick the player and it doesn't work?
  11. How to change sniper scope

    Yup, you can edit the preferred sniper model with TXD Workshop.
  12. Image

    He want's the image to keep the size when the player move as if the image is somehow tied to the player.
  13. Sniper Alpha HELP!

    Try this local weapons = { {fileName="full", model=356}, {fileName="full", model=357}, {fileName="full", model=355} }; function load() txd = engineLoadTXD ( 'm4.txd' ) engineImportTXD ( txd, 356 ) dff = engineLoadDFF('m4.dff', 356) engineReplaceModel ( dff, 356 ) txd = engineLoadTXD ( 'm4.txd' ) engineImportTXD ( txd, 355 ) dff = engineLoadDFF('m4.dff', 355) engineReplaceModel ( dff, 355 ) txd = engineLoadTXD ( 'sniper.txd' ) engineImportTXD ( txd, 358 ) dff = engineLoadDFF('sniper.dff', 358) engineReplaceModel ( dff, 358 ) txd = engineLoadTXD ( 'm4.txd' ) engineImportTXD ( txd, 357 ) dff = engineLoadDFF('m4.dff', 357) engineReplaceModel ( dff, 357 ) txd = engineLoadTXD ( 'bat.txd' ) engineImportTXD ( txd, 336 ) dff = engineLoadDFF('bat.dff', 336) engineReplaceModel ( dff, 336 ) txd = engineLoadTXD ( 'magnum.txd' ) engineImportTXD ( txd, 348 ) dff = engineLoadDFF('magnum.dff', 348) engineReplaceModel ( dff, 348 ) txd = engineLoadTXD ( 'm9sd.txd' ) engineImportTXD ( txd, 347 ) dff = engineLoadDFF('m9sd.dff', 347) engineReplaceModel ( dff, 347 ) --txd = engineLoadTXD ( 'm9sd.txd' ) --engineImportTXD ( txd, 1717 ) --dff = engineLoadDFF('m9sd.dff', 1717) --engineReplaceModel ( dff, 1717 ) txd = engineLoadTXD ( '1911.txd' ) engineImportTXD ( txd, 346 ) dff = engineLoadDFF('1911.dff', 346) engineReplaceModel ( dff, 346 ) txd = engineLoadTXD("armas/ak107.txd", 2725 ) engineImportTXD(txd, 2725) dff = engineLoadDFF("armas/ak107.dff", 2725 ) engineReplaceModel(dff, 2725) txd = engineLoadTXD("armas/m4.txd", 2468 ) engineImportTXD(txd, 2468) dff = engineLoadDFF("armas/m4.dff", 2468 ) engineReplaceModel(dff, 2468) txd = engineLoadTXD("armas/aks.txd", 3000 ) engineImportTXD(txd, 3000) dff = engineLoadDFF("armas/aks.dff", 3000 ) engineReplaceModel(dff, 3000) txd = engineLoadTXD("armas/mk48.txd", 2571 ) engineImportTXD(txd, 2571) dff = engineLoadDFF("armas/mk48.dff", 2571 ) engineReplaceModel(dff, 2571) txd = engineLoadTXD("armas/as50.txd", 2731 ) engineImportTXD(txd, 2731) dff = engineLoadDFF("armas/as50.dff", 2731 ) engineReplaceModel(dff, 2731) txd = engineLoadTXD("armas/acr.txd", 2747 ) engineImportTXD(txd, 2747) dff = engineLoadDFF("armas/acr.dff", 2747 ) engineReplaceModel(dff, 2747) txd = engineLoadTXD("armas/g36sd.txd", 2751 ) engineImportTXD(txd, 2751) dff = engineLoadDFF("armas/g36sd.dff", 2751 ) engineReplaceModel(dff, 2751) txd = engineLoadTXD("armas/m4a1holo.txd", 2742 ) engineImportTXD(txd, 2742) dff = engineLoadDFF("armas/m4a1holo.dff", 2742 ) engineReplaceModel(dff, 2742) txd = engineLoadTXD("armas/sa58acog.txd", 2745 ) engineImportTXD(txd, 2745) dff = engineLoadDFF("armas/sa58acog.dff", 2745 ) engineReplaceModel(dff, 2745) txd = engineLoadTXD("armas/svdcamo.txd", 2730 ) engineImportTXD(txd, 2730) dff = engineLoadDFF("armas/svdcamo.dff", 2730 ) engineReplaceModel(dff, 2730) txd = engineLoadTXD("armas/cz550.txd", 2732 ) engineImportTXD(txd, 2732) dff = engineLoadDFF("armas/cz550.dff", 2732 ) engineReplaceModel(dff, 2732) txd = engineLoadTXD("armas/dmr.txd", 2733 ) engineImportTXD(txd, 2733) dff = engineLoadDFF("armas/dmr.dff", 2733 ) engineReplaceModel(dff, 2733) txd = engineLoadTXD("armas/kvsk.txd", 2734 ) engineImportTXD(txd, 2734) dff = engineLoadDFF("armas/kvsk.dff", 2734 ) engineReplaceModel(dff, 2734) txd = engineLoadTXD("armas/m24.txd", 2735 ) engineImportTXD(txd, 2735) dff = engineLoadDFF("armas/m24.dff", 2735 ) engineReplaceModel(dff, 2735) txd = engineLoadTXD("armas/m249saw.txd", 2748 ) engineImportTXD(txd, 2748) dff = engineLoadDFF("armas/m249saw.dff", 2748 ) engineReplaceModel(dff, 2748) txd = engineLoadTXD("armas/m107.txd", 2737 ) engineImportTXD(txd, 2737) dff = engineLoadDFF("armas/m107.dff", 2737 ) engineReplaceModel(dff, 2737) txd = engineLoadTXD("armas/m40a3.txd", 2738 ) engineImportTXD(txd, 2738) dff = engineLoadDFF("armas/m40a3.dff", 2738 ) engineReplaceModel(dff, 2738) txd = engineLoadTXD("armas/m14.txd", 2726 ) engineImportTXD(txd, 2726) dff = engineLoadDFF("armas/m14.dff", 2726 ) engineReplaceModel(dff, 2726) txd = engineLoadTXD("armas/jng90.txd", 2729 ) engineImportTXD(txd, 2729) dff = engineLoadDFF("armas/jng90.dff", 2729 ) engineReplaceModel(dff, 2729) txd = engineLoadTXD("armas/m240.txd", 2728 ) engineImportTXD(txd, 2728) dff = engineLoadDFF("armas/m240.dff", 2728 ) engineReplaceModel(dff, 2728) txd = engineLoadTXD("armas/akmgp.txd", 2724 ) engineImportTXD(txd, 2724) dff = engineLoadDFF("armas/akmgp.dff", 2724 ) engineReplaceModel(dff, 2724) txd = engineLoadTXD("armas/g36k.txd", 2708 ) engineImportTXD(txd, 2708) dff = engineLoadDFF("armas/g36k.dff", 2708 ) engineReplaceModel(dff, 2708) txd = engineLoadTXD("armas/beneli.txd", 349 ) engineImportTXD(txd, 349 ) dff = engineLoadDFF("armas/beneli.dff", 349 ) engineReplaceModel(dff, 349 ) txd = engineLoadTXD("armas/fnscar.txd", 2644 ) engineImportTXD(txd, 2644) dff = engineLoadDFF("armas/fnscar.dff", 2644 ) engineReplaceModel(dff, 2644) txd = engineLoadTXD("armas/leeenfield.txd", 2562 ) engineImportTXD(txd, 2562) dff = engineLoadDFF("armas/leeenfield.dff", 2562 ) engineReplaceModel(dff, 2562) txd = engineLoadTXD("armas/bow.txd", 2565 ) engineImportTXD(txd, 2565) dff = engineLoadDFF("armas/bow.dff", 2565 ) engineReplaceModel(dff, 2565) txd = engineLoadTXD("armas/m1911.txd", 2767 ) engineImportTXD(txd, 2767) dff = engineLoadDFF("armas/m1911.dff", 2767 ) engineReplaceModel(dff, 2767) txd = engineLoadTXD("armas/g17.txd", 2749 ) engineImportTXD(txd, 2749) dff = engineLoadDFF("armas/g17.dff", 2749 ) engineReplaceModel(dff, 2749) txd = engineLoadTXD("armas/mp5.txd", 2750 ) engineImportTXD(txd, 2750) dff = engineLoadDFF("armas/mp5.dff", 2750 ) engineReplaceModel(dff, 2750) --txd = engineLoadTXD("armas/1014.txd", 1700 ) --engineImportTXD(txd, 1700) --dff = engineLoadDFF("armas/1014.dff", 1700 ) --engineReplaceModel(dff, 1700) --txd = engineLoadTXD("armas/lee.txd", 1661 ) --engineImportTXD(txd, 1661) --dff = engineLoadDFF("armas/lee.dff", 1661 ) --engineReplaceModel(dff, 1661) --txd = engineLoadTXD("armas/dmr.txd", 1725 ) --engineImportTXD(txd, 1725) --dff = engineLoadDFF("armas/dmr.dff", 1725 ) --engineReplaceModel(dff, 1725) --txd = engineLoadTXD("armas/m14.txd", 1719 ) --engineImportTXD(txd, 1719) --dff = engineLoadDFF("armas/m14.dff", 1719 ) --engineReplaceModel(dff, 1719) --txd = engineLoadTXD("armas/sa58cco.txd", 1738 ) --engineImportTXD(txd, 1738) --dff = engineLoadDFF("armas/sa58cco.dff", 1738 ) --engineReplaceModel(dff, 1738) --txd = engineLoadTXD("armas/sa58p.txd", 1745 ) --engineImportTXD(txd, 1745) --dff = engineLoadDFF("armas/sa58p.dff", 1745 ) --engineReplaceModel(dff, 1745) --txd = engineLoadTXD("armas/sa58vacog.txd", 1747 ) --engineImportTXD(txd, 1747) --dff = engineLoadDFF("armas/sa58vacog.dff", 1747 ) --engineReplaceModel(dff, 1747) --txd = engineLoadTXD("armas/sa58v.txd", 1748 ) --engineImportTXD(txd, 1748) --dff = engineLoadDFF("armas/sa58v.dff", 1748 ) --engineReplaceModel(dff, 1748) --txd = engineLoadTXD("armas/mosin.txd", 1749 ) --engineImportTXD(txd, 1749) --dff = engineLoadDFF("armas/mosin.dff", 1749 ) --engineReplaceModel(dff, 1749) txd = engineLoadTXD("backpack/bag.txd", 1248 ) engineImportTXD(txd, 1248) dff = engineLoadDFF("backpack/bag.dff", 1248 ) engineReplaceModel(dff, 1248) txd = engineLoadTXD("backpack/drybagblack.txd", 1575 ) engineImportTXD(txd, 1575) dff = engineLoadDFF("backpack/drybagblack.dff", 1575 ) engineReplaceModel(dff, 1575) txd = engineLoadTXD("backpack/drybagblue.txd", 1830 ) engineImportTXD(txd, 1830) dff = engineLoadDFF("backpack/drybagblue.dff", 1830 ) engineReplaceModel(dff, 1830) txd = engineLoadTXD("backpack/drybaggreen.txd", 1831 ) engineImportTXD(txd, 1831) dff = engineLoadDFF("backpack/drybaggreen.dff", 1831 ) engineReplaceModel(dff, 1831) txd = engineLoadTXD("backpack/drybagred.txd", 1832 ) engineImportTXD(txd, 1832) dff = engineLoadDFF("backpack/drybagred.dff", 1832 ) engineReplaceModel(dff, 1832) txd = engineLoadTXD("backpack/drybagwhite.txd", 1252 ) engineImportTXD(txd, 1252) dff = engineLoadDFF("backpack/drybagwhite.dff", 1252 ) engineReplaceModel(dff, 1252) txd = engineLoadTXD("backpack/drybagyellow.txd", 2000 ) engineImportTXD(txd, 2000) dff = engineLoadDFF("backpack/drybagyellow.dff", 2000 ) engineReplaceModel(dff, 2000) txd = engineLoadTXD("backpack/coyote.txd", 2405 ) engineImportTXD(txd, 2405) dff = engineLoadDFF("backpack/coyote.dff", 2405 ) engineReplaceModel(dff, 2405) txd = engineLoadTXD("backpack/coyotedesert.txd", 2410 ) engineImportTXD(txd, 2410) dff = engineLoadDFF("backpack/coyotedesert.dff", 2410 ) engineReplaceModel(dff, 2410) txd = engineLoadTXD("backpack/coyotecamo.txd", 2406 ) engineImportTXD(txd, 2406) dff = engineLoadDFF("backpack/coyotecamo.dff", 2406 ) engineReplaceModel(dff, 2406) txd = engineLoadTXD("backpack/mountaingreen.txd", 1833 ) engineImportTXD(txd, 1833) dff = engineLoadDFF("backpack/mountaingreen.dff", 1833 ) engineReplaceModel(dff, 1833) txd = engineLoadTXD("backpack/mountainblue.txd", 1834 ) engineImportTXD(txd, 1834) dff = engineLoadDFF("backpack/mountainblue.dff", 1834 ) engineReplaceModel(dff, 1834) txd = engineLoadTXD("backpack/mountainred.txd", 1835 ) engineImportTXD(txd, 1835) dff = engineLoadDFF("backpack/mountainred.dff", 1835 ) engineReplaceModel(dff, 1835) txd = engineLoadTXD("backpack/nationz.txd", 1836 ) engineImportTXD(txd, 1836) dff = engineLoadDFF("backpack/nationz.dff", 1836 ) engineReplaceModel(dff, 1836) for index, weapon in pairs(weapons) do tex = engineLoadTXD ( "mods/"..weapon.fileName.. ".txd", weapon.model ) engineImportTXD ( tex, weapon.model ) mod = engineLoadDFF ( "mods/"..weapon.fileName.. ".dff", weapon.model ) engineReplaceModel ( mod, weapon.model ) end end addEventHandler("onClientResourceStart",resourceRoot, function () setTimer ( load, 1000, 1) end) local h1, h2, h3 = debug.gethook() debug.sethook() -- Your loop here debug.sethook( _, h1, h2, h3 )
  14. [HELP] Backpack postion

    It's because the backpack model you added have a different rotation. You will have to play around with the last 3 digits of the attachElementToBone function (line 23). Try this one: attachElementToBone(elementBackpack[source], source, 3, 0, -0.225, 0.05, 90, 0, 90); or this one attachElementToBone(elementBackpack[source], source, 3, 0, -0.225, 0.05, 90, 0, -90); Not sure though.
  15. Sniper Alpha HELP!

    Show me the script that replaces the weapon skins.