[Ajuda] Anti-DM
#4

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(!IsPlayerInFavela(killerid) || !IsPlayerInFavela(playerid))
    {
    //execute o que vc kiser aki como ser preso ou kickado
    //lembrando que ainda nгo foi testado
    }
}
stock InPlayerInFavela(playerid)
{
    new Float:x,Float:y,Float:z;
    GetPlayerPos(playerid, x, y, z);
    if(x >= 2047.176513 && y >= -1140.595336 && x <= 2271.176513 && y <= -972.595336) return 1;
    else return 0;
}
Reply


Messages In This Thread
[Ajuda] Anti-DM - by Link_ - 19.07.2010, 12:11
Re: [Ajuda] Anti-DM - by ipsBruno - 19.07.2010, 14:00
Re: [Ajuda] Anti-DM - by Link_ - 19.07.2010, 21:43
Re: [Ajuda] Anti-DM - by sergio_killer - 20.07.2010, 13:06
Re: [Ajuda] Anti-DM - by Link_ - 20.07.2010, 13:49
Re: [Ajuda] Anti-DM - by egonzks - 20.07.2010, 15:27
Re: [Ajuda] Anti-DM - by Link_ - 20.07.2010, 16:49

Forum Jump:


Users browsing this thread: 1 Guest(s)