Jump to content

Tekken

Helpers
  • Posts

    1,423
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Tekken

  1. Post the error to help you How ? Look in console or type in game /debugscript 3
  2. This gamemode is a bit buggi but after you download the gm and maps and unzip in MTA San Andreas 1.4\server\mods\deathmatch\resources\ ,just add this in meta Then start the sv, open console and type"register NAME PASSWORD" then "login NAME PASSWORD" <= this is for you to have admin rights
  3. Yes man i falling down when i am spawned! Look (using latest version):
  4. Hi i have this aim problem on DayZ, how do i fix ? The gun should sit on the shoulder not belly!
  5. Toti sunt de treaba, si cu mine au facut la fel viewtopic.php?f=126&t=82547 ,insa pana la urma s-au dovedit a fii de treaba Edit: Puneti Banner-ul ala la semnatura! Si inca ceva: GoodLuck
  6. The Gamemode is DayZ and i want to replace all images that are used in this gamemode without modifying the original one, like the image that appears when you die
  7. How to replace an image without modifying the Gamemode ?
  8. Apesi "P" te duci la tabul "Server", si acolo in dreapta scrie "Set Game Type" de aici te descurci.
  9. Tekken

    Money Save XML

    if i use getPlayerName insted of getPlayerUserName it works but is delete all money on player joyn the game!
  10. Hi, i created this for saving players money in money.xml, and i get this error Bad argument @'xmlNodeSetAttribute' string at [argument 3, got boolean] my code function saveMoney(thePlayer) if fileExists("money.xml") then fileDelete('money.xml') end local moneyFile = xmlCreateFile("money.xml", "money") if not moneyFile then outputChatBox(thePlayer, "Bani nu au putut fi incarcati!",255, 0, 0) return end local count = 0 local players = getElementsByType ("player") for i,v in ipairs(players) do local money = xmlCreateChild (moneyFile, "money") local pname = getPlayerUserName(v) local psuma = getPlayerMoney(v) xmlNodeSetAttribute(money, "usern", pname) xmlNodeSetAttribute(money, "suma", psuma) end xmlSaveFile (moneyFile) xmlUnloadFile (moneyFile) end setTimer(saveMoney, 500, 0)
  11. Tekken

    Lag Problem!

    Ts only Hapend when is over 40 players, and when server doo a refresh !
  12. Tekken

    Lag Problem!

    oh sory a want to mean CPU
  13. Tekken

    Lag Problem!

    Hi, i have an host from Finlanda and is laggi and when DayZ make a refresh of Loot, server shut down and players loose all his Items and cars So i wana make an resource that kick all players out when CPU usage is >80-90% Wath to doo ?
  14. Tekken

    Mutiple skins

    I tried like this but it always load the same skin skintable = { "bobcat1.txd", "bobcat2.txd"} -- here set your skin names txd = engineLoadTXD ( skintable[math.random (#skintable)]) engineImportTXD ( txd, 422 ) -- here set your wehicleid dff = engineLoadDFF("422.dff", 422) engineReplaceModel(dff, 422)
  15. Tekken

    Mutiple skins

    Thanks, now i know wath to doo!
  16. Tekken

    Mutiple skins

    I mean when a car spawn randomly to choose what skin to load
  17. Tekken

    Mutiple skins

    Hi, is there any way to add like 4 skins on a single car, and when i spawn one to chose random witch skin to load ?
  18. Tekken

    Sound

    I don't get any error i tried with /debugscript 3 and nothing
  19. Tekken

    Sound

    This script should play zombies moan. But nothing hapend Client local zombies = getElementsByType ( "ped" ) for theKey,theZomb in ipairs(zombies) do if (isElement(theZomb)) then if (getElementData (theZomb, "zombie") == true) then setPedVoice(theZomb, "PED_TYPE_DISABLED") end end end addEvent( "Zomb_Moan", true ) function Zmoan ( ped, randnum ) if (isElement(ped)) then local Zx,Zy,Zz = getElementPosition( ped ) local sound = playSound3D("sounds/mgroan"..randnum..".ogg", Zx, Zy, Zz, false) setSoundMaxDistance(sound, 20) end end addEventHandler( "Zomb_Moan", getRootElement(), Zmoan ) Server function zmoan(zombie) if moancount < moanlimit then moancount = moancount+1 local randnum = math.random( 1, 10 ) triggerClientEvent ( "Zomb_Moan", getRootElement(), zombie, randnum ) setTimer ( ReduceMoancount, 800, 1 ) end end
×
×
  • Create New...