Jump to content

GERgta

Members
  • Posts

    57
  • Joined

  • Last visited

Everything posted by GERgta

  1. I will try this now, thanks for the fast reply. EDIT: Oh my god, thank you. Everything seems to work now! Source:
  2. I had to make it like this, cause else its not really clientside. Oh man, I forgot about it... Well that's unfortunate. I also tried to connect this with some serverside events (triggerServerEvent), but it didn't seem to work right (Event not found?). I could make this completely serverside, but then it wouldn't be a clientside hit-detection. Is there any solution for this?
  3. Hello forums, I've made a script that makes all the damage clientside and multiplies it by 2. But something doesn't seem to work (player still recieves normal damage). The XML file is 100% okay, I think its the script. Can you guys help me? function damage ( attacker, weapon, bodypart, loss ) if attacker == localPlayer then local playerHealth = getElementHealth ( source ) local damageMult = loss * 2 local newHealth = playerHealth - damageMult if newHealth > 0 then cancelEvent() setElementHealth ( source, newHealth ) else cancelEvent() setElementHealth ( source, 0 ) end end end addEventHandler ( "onClientPlayerDamage", getRootElement(), damage )
  4. I'm excited, it sounds awesome! EDIT: Is it able to replace cars? And are collisions working?
  5. What about editing handlings for Bikes, Boats, Helicopters, Planes (Hydra with 1000km/h would be awesome )? I know that these handlings work abit differently... don't know if this is possible, cause i'm a newbie scripter. And there's a bug with importing handlings from other gta's (Understandable, cause they have some missing or additional vars), they sometimes go craaaazy. (It's been already reported, right? ) AND when I look at my suspension of my car while the timescale is not 1.0 the suspension seems to react differently (Probably a MTA bug?), maybe i'm just seeing things... EDIT: I forgot to say that I have one more bug: If you go to Model Flags and tick IS_HATCHBACK, all the other boxes in that category bug around and get eventually unticked. EDIT2: Is there a german translation already? If not, I could help with that.
  6. Is this still continued? Because it's the best resource ever. Requesting update.
  7. GERgta

    Replace surface.dat?

    Hello Forums ! Is there a possibility to replace surface.dat? If yes, how? It would really help me.
×
×
  • Create New...