Destiny

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Destiny

  • Rank
    Newbie

Details

  • Gang
    [SAFT]
  1. Cars will not be damaged by weapons.Separated from the car will be canceled
  2. Players not to damage vehicles
  3. Does not work.No fault Server.lua function nodamage(attacker, bodypart) if getElementType(attacker) == 'vehicle' then cancelEvent() end end addEventHandler("onClientPlayerDamage", getLocalPlayer (),nodamage) Meta.xml
  4. error, this time at ERROR: antidamagecar\server.lua:6: attempt to call global 'getLocalPlayer' < a nill value>
  5. function nodamage(attacker, bodypart) if getElementType(attacker) == 'vehicle' then cancelEvent() end addEventHandler("onClientPlayerDamage", getLocalPlayer (),nodamage) Error: SCRIPT ERROR: antidamagecar\server.lua:5: 'end' expected near '' WARNING: Loading script failed: antidamagecar\server.lua:5: 'end' expected near '' What is the error I need help