Jump to content

JackZipper

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by JackZipper

  1. thanks, i'll see if it works.
  2. Why not also use setElementHealth for peds? I wondered when i noticed it, but it isn't working https://wiki.multitheftauto.com/wiki/SetElementHealth
  3. Why not also use setElementHealth for peds? I wondered when i noticed it, but it isn't working https://wiki.multitheftauto.com/wiki/SetElementHealth
  4. JackZipper

    C stack overflow

    Hello, i've got the following problem: On our server we're running our "German Vio Reallife"-Script, but sometimes the server crashes and in the screen there is everything normal - just like it has been frozen. Then, in the logfiles there is just something like this: --Everything normal up to this point, no errors/warnings or something like that --[...] Means that there are about 200 repeats before it goes on [20:00:14] ERROR: C stack overflow [20:00:14] ERROR: C stack overflow [20:00:14] ERROR: C stack overflow [20:00:14] ERROR: C stack overflow [20:00:14] ERROR: C stack overflow [20:00:15] ERROR: C stack overflow [...] [20:00:15] ERROR: C stack overflow [...] Until i stop the server and restart it. Sorry for my bad english btw, i hope you can help me how to solve this error or can say me how it occurs. Our server runs with Linux Debian 5.0 and we're using the latest MTA-Version - but i don't think that it has to do with linux so i posted it here.
  5. Hello, i've got the following problem: On our server we're running our "German Vio Reallife"-Script, but sometimes the server crashes and in the screen there is everything normal - just like it has been frozen. Then, in the logfiles there is just something like this: --Everything normal up to this point, no errors/warnings or something like that --[...] Means that there are about 200 repeats before it goes on [20:00:14] ERROR: C stack overflow [20:00:14] ERROR: C stack overflow [20:00:14] ERROR: C stack overflow [20:00:14] ERROR: C stack overflow [20:00:14] ERROR: C stack overflow [20:00:15] ERROR: C stack overflow [...] [20:00:15] ERROR: C stack overflow [...] Until i stop the server and restart it. Sorry for my bad english btw, i hope you can help me how to solve this error or can say me how it occurs. Our server runs with Linux Debian 5.0 and we're using the latest MTA-Version - but i don't think that it has to do with linux so i posted it here.
  6. i tried the version with the small "s" and it works. i don't know why the console has given me the wrong error but it did. thanks for the help guys.
  7. Hi, i tried to do an damagesystem for my gamemode which gives different damagetypes for every bodypart. but everytime i want to give damage to my player it doesn't work and the console says "bad argument". This is the (shortform) of the code i use: function dmg ( attacker, weapon, bodypart, loss) if ( bodypart == 9 ) then SetElementHealth ( source, ( getElementHealth ( source) - loss * 2 ) ) end end addEventHandler ( "onPlayerDamage", getRootElement(), dmg )
  8. hi, I used the "setPedControlState"-Command for my Server to control a bot, but everytime i use it the console isn't able to identificate it und just gives out the following: ERROR: .../bots.lua:24: attempt to call global 'setPedControlState' i also tried a different script (the zombie-mod, found in the same topic) and there the same is happening. My dedicated server has the newest version and i've no idear why it doesn't works, please help me thanks and sry for my worse english
  9. Hi, i've started using MTA just a few days ago and now i tried to host my own LAN Server with one of the default gamemodes, but everytime i try to connect on it i get kicked because of "Invalid Serial". I tried reinstalling, but it has no effect - all other servers on which i try to connect are working well. Has anyone of you the same problem/ a solution?
×
×
  • Create New...