Moving Camera from Point A to Point B
#7

Two ways i can think off hand (i havent realy worked with npcs before).
pawn Код:
#define MAX_BOTS        (15)
new BotIDS[MAX_BOTS] = {INVALID_PLAYER_ID, ...};//array to store npc ids

public OnPlayerConnect(playerid)
{
    static
        BotCount;
    if(IsPlayerNPC(playerid))
    {
        BotIDS[BotCount] = playerid;
        BotCount++;
    }
    return 1;
}
EDIT: The other way was very poor.
Reply


Messages In This Thread
Moving Camera from Point A to Point B - by anumaz - 18.03.2011, 00:41
Re: Moving Camera from Point A to Point B - by maramizo - 18.03.2011, 01:13
Re : Moving Camera from Point A to Point B - by anumaz - 18.03.2011, 01:43
Re: Moving Camera from Point A to Point B - by antonio112 - 18.03.2011, 01:50
Re: Moving Camera from Point A to Point B - by maramizo - 18.03.2011, 01:51
Re: Moving Camera from Point A to Point B - by antonio112 - 18.03.2011, 02:12
Re: Moving Camera from Point A to Point B - by iggy1 - 18.03.2011, 02:25

Forum Jump:


Users browsing this thread: 2 Guest(s)