how to connect this npc script!!
#4

#konstantinos i already have them both

@RenovanZ
pawn Код:
stock AddRobNPC(skin, Float:x, Float:y, Float:z, Float:ang, worldid, interiorid, min, max)
{
    npcnum++;

    new npcname[25];
    format(npcname, sizeof npcname, "%s%i_%s", NPC_PREFIX, npcnum, NPC_SUFFIX);
    robnpc[npcnum] = ConnectRNPC(npcname);

    assaltante[robnpc[npcnum]] = INVALID_PLAYER_ID;

    if(min > max) { printf("- Robbery NPCs system - WARNING: The minimum amount received by rob is bigger than the maximum!(NPC ID %i)", robnpc[npcnum]); }
    robmax[robnpc[npcnum]] = max;
    robmin[robnpc[npcnum]] = min;
    robint[robnpc[npcnum]] = interiorid;

    SetTimerEx("AddRobNPC2", 500, false, "iffffi", skin, Float:x, Float:y, Float:z, ang, worldid, robnpc[npcnum]);
}
Reply


Messages In This Thread
how to connect this npc script!! - by iThePunisher - 23.06.2014, 15:01
Re: how to connect this npc script!! - by RenovanZ - 23.06.2014, 15:23
Re: how to connect this npc script!! - by Konstantinos - 23.06.2014, 15:26
Re: how to connect this npc script!! - by iThePunisher - 23.06.2014, 15:38
Re: how to connect this npc script!! - by Konstantinos - 23.06.2014, 15:40
Re: how to connect this npc script!! - by iThePunisher - 23.06.2014, 16:03
Re: how to connect this npc script!! - by Konstantinos - 23.06.2014, 16:14
Re: how to connect this npc script!! - by iThePunisher - 23.06.2014, 16:18

Forum Jump:


Users browsing this thread: 2 Guest(s)