26.07.2011, 19:42
(
Последний раз редактировалось robanswe; 26.07.2011 в 20:22.
)
Just add if(GetPlayerState(i) == PLAYER_STATE_ONFOOT) and you will have fixed that^^
Edit: When testing this script we found out that many Vehicles doesn't move when shotting at them like Helis and planes.. Also guns like snipers aren't to powerful to move things so they tend to not work as good as like an shotgun.. = sometimes the hit will not get detected but else it works like an dream.
Edit 2: After some more testing we found out that you can shot at boats trough walls due to the fact the boats are moving all the time in the waves. Note you can only do this bug when you are the closest player to the boat.
Edit: When testing this script we found out that many Vehicles doesn't move when shotting at them like Helis and planes.. Also guns like snipers aren't to powerful to move things so they tend to not work as good as like an shotgun.. = sometimes the hit will not get detected but else it works like an dream.
Edit 2: After some more testing we found out that you can shot at boats trough walls due to the fact the boats are moving all the time in the waves. Note you can only do this bug when you are the closest player to the boat.