Problema com NPC
#8

Tipo isso:

pawn Код:
for(new i,e = GetMaxPlayers(); i != e; ++i){
        if(IsPlayerConnected(i)){

            for(new ie,ee = GetMaxPlayers(); ie != ee; ++ie){
                if(IsPlayerNPC(ie)){
                    static Float: pos[3];

                    GetPlayerPos(ie, pos[0], pos[1], pos[2]);

                    if(IsPlayerInRangeOfPoint(i, 10.0, pos[0], pos[1], pos[2])){
                        Kick(ie);
                    }
                }
            }
        }
    }
Reply


Messages In This Thread
Problema com NPC - by Cidiei - 06.05.2013, 19:56
Re: Problema com NPC - by ViictorDaay- - 06.05.2013, 19:58
Re: Problema com NPC - by Cidiei - 06.05.2013, 19:59
Re: Problema com NPC - by Cleitonboy23 - 06.05.2013, 22:03
Re: Problema com NPC - by FixSkuL - 06.05.2013, 22:04
Re: Problema com NPC - by Cleitonboy23 - 06.05.2013, 22:06
Re: Problema com NPC - by tonisantolia - 06.05.2013, 23:45
Re: Problema com NPC - by zSuYaNw - 06.05.2013, 23:51

Forum Jump:


Users browsing this thread: 3 Guest(s)