25.02.2010, 20:02
Ok thanks,
For this part
Do I add my taze code from above?
For this part
pawn Код:
OnPlayerLooseHealth(playerid, oldhealth, newhealth)
{
for(new id = 0; id < MAX_PLAYERS; id++)
{
if(shot[id] == 1)
{
new
Float:angle;
GetPlayerFacingAngle(id, angle);
if(IsPlayerFacingPlayer(id, playerid, 5.0))
{
//taze 'playerid'
return 1;
}
}
}
return 1;
}