help 2 add some thing in my bank sys
#5

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
Reply


Messages In This Thread
help 2 add some thing in my bank sys - by rong13 - 03.04.2010, 06:18
Re: help 2 add some thing in my bank sys - by rong13 - 03.04.2010, 09:46
Re: help 2 add some thing in my bank sys - by aircombat - 03.04.2010, 11:25
Re: help 2 add some thing in my bank sys - by rong13 - 03.04.2010, 15:07
Re: help 2 add some thing in my bank sys - by [RP]ExtreamX - 03.04.2010, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)