[pawn]public OnPlayerKillEx(playerid, killerid, reason, bodypart)
{
if (IsPlayerInArea(playerid, -955.8472,-897.2318,-362.1332,-304.5426))
{
MessageAllFormat(COLOR_NEUTRAL,"%s Has Been Kicked For Killing At Bank",gPlayers[killerid]);
Kick(killerid);
}
return 1;
}[/pawn]
[pawn]stock NeedPlayerInArea(playerid,Float:MinX,Float:MaxX,Float:MinY,Float:MaxY)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if(x >= MinX && x <= MaxX && y >= MinY && y <= MaxY) return 1;
else return 0;
return 1;
}
[/pawn]