NPC Connection Problem
#5

I tried 2 methods.


1st method
pawn Код:
new name[16];
for(new i=0;i<40;i++){
    format(name, sizeof(name), "NPC %d", i);
    ConnectNPC(name, "npcidle");
}
2nd method
pawn Код:
new name[16], script[16];
for(new i=0;i<40;i++){
    format(name, sizeof(name), "NPC %d", i);
    format(script, sizeof(script), "script_%d", i);
    ConnectNPC(name, script);
}
and I made 42 script_1, scirpt_2.... script_42
Reply


Messages In This Thread
[SOLVED] NPC Connection Problem - by CoaPsyFactor - 11.02.2013, 23:59
Re: NPC Connection Problem - by MP2 - 12.02.2013, 00:02
Re: NPC Connection Problem - by CoaPsyFactor - 12.02.2013, 00:03
Re: NPC Connection Problem - by MP2 - 12.02.2013, 00:06
Re: NPC Connection Problem - by CoaPsyFactor - 12.02.2013, 00:09
Re: NPC Connection Problem - by MP2 - 12.02.2013, 00:14
Re: NPC Connection Problem - by CoaPsyFactor - 12.02.2013, 00:17
Re: NPC Connection Problem - by MP2 - 12.02.2013, 00:19
Re: NPC Connection Problem - by CoaPsyFactor - 12.02.2013, 00:31

Forum Jump:


Users browsing this thread: 1 Guest(s)