03.04.2010, 15:21
public OnPlayerDeath(playerid,killerid,reason)
{
if(IsPlayerInRangeOfPoint(playerid, 10, X,Y,Z))
{ SetPlayerHealth(killerid,0.0);
SendClientMessage(killerid,0xAA3333AA,"Never Kill Again!!!");
}
}
Enter in the bank and go to the middle and take the coords than at the if(IsPlayerInRangeOfPoint(playerid, 10, X,Y,Z)) change the X,Y,Z with the coords from there
This way the killer will only get killed when you're in the bank
{
if(IsPlayerInRangeOfPoint(playerid, 10, X,Y,Z))
{ SetPlayerHealth(killerid,0.0);
SendClientMessage(killerid,0xAA3333AA,"Never Kill Again!!!");
}
}
Enter in the bank and go to the middle and take the coords than at the if(IsPlayerInRangeOfPoint(playerid, 10, X,Y,Z)) change the X,Y,Z with the coords from there
This way the killer will only get killed when you're in the bank

