30.05.2013, 18:00
pawn Код:
IsPlayerInFavela(playerid)
{
//Adicione isto ao final de seu gm
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if(x >= 2029.868 && y >= -1125.23 && x <= 2284.658&& y <= -963.3729) return 1;
else return 0;
}
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(!IsPlayerInFavela(playerid))
{
GivePlayerMoney(killerid, -500);
SendClientMessage(killerid,-1,"Vocк perdeu 500 por matar fora da gangzone!");
}
return 1;
}

