16.09.2015, 18:32 
	
	
	Quote:
| Edit: OnPlayerDamage and OnPlayerDamageDone is empty, and OnPlayerWeaponShot i don't use in my script. Код: public OnPlayerDamageDone(playerid, Float:amount, issuerid, weapon, bodypart)
{
	return 1;
}
public OnPlayerDamage(playerid, Float:amount, issuerid, weapon, bodypart)
{	
	return 1;
} | 
pawn Код:
public OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &bodypart)
For example, if you want to make interior damage reverse (if you damage someone in an interior, you will lose damage and not the other player) do this:
pawn Код:
public OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &bodypart)
{
if (GetPlayerInterior(playerid) != 0 && issuerid != INVALID_PLAYER_ID) {
new tmp = playerid;
playerid = issuerid;
issuerid = playerid;
}
return 1;
}





 
	


 . But i think is not per player function.
. But i think is not per player function.
	