Vehicles won't get damaged, any way around it?
#8

Quote:
Originally Posted by Manyula
Посмотреть сообщение
SetPlayerTeam only prevents damage caused to the players themselves. Even with all players set to one team they should be able to damage each other's vehicles. EnableVehicleFriendlyFire() actually does the opposite of what you think it does. It prevents vehicle damage from players of the same team rather than allowing it.

If it still doesn't work, we'd have to take a closer look at how you handle damage in general.
What I did was to define damage for certain weapons and then obtain taken damage into count. If the player takes more then 70 damage then he's injured.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)