Jump to content

ViPeR-

Members
  • Posts

    4
  • Joined

  • Last visited

Details

  • Gang
    MC

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ViPeR-'s Achievements

Vic

Vic (3/54)

0

Reputation

  1. Of course it's not working , open the wiki page of onPlayerVehicleEnter and see what is the source of this event.
  2. Well , then you did something wrong , why don't you just upload a video?
  3. function DamageBMX(attacker, weapon, loss, x, y, z, tyre) if (getElementModel(source) == 432) then cancelEvent() end if (getElementModel(source) == 432) then local health = getElementHealth(source) local losehealth = setElementHealth(source,health-90) if(health == 10) then x,y,z = getElementPosition(source) createExplosion(x,y,z,4,true,_,true) end end end addEventHandler("onClientVehicleDamage", root, DamageBMX) The code of Hornet works good , but you can try anyway the code which i've created for my own server , it works without doubts.
  4. The code of Hornet works just perfectly , i have tested it before a few minutes.
×
×
  • Create New...