Quote:
Originally Posted by Whizion
No, the SA:MP team did it.
How else do we shoot each other in SA:MP?
|
That's not true, how it works is the server only knows that a player is shooting and is looking in a direction, this information is then given to players. So that player B sees player A shooting and happens to get hit by the bullets. Then Player A tells the server how much health he has. That's all that is happening.
What should be done is a callback that tells the server when a player is hurt and by who, not neccesarily a player damaging another.
OnPlayerDamage(playerid,assailant)