NPC problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: NPC problem (
/showthread.php?tid=322713)
NPC problem -
WooTFTW - 03.03.2012
pawn Код:
for(new c=0;c<MAX_NPC;c++)
{
ConnectNPC(NPCn[c], "npcbot");
printf("Bot: %s[%i] pievienojas serverim", NPCn[c], c);
}
The code is alright, or maybe not.
It just shows 'Incoming connection xxx.xxx...." and server freezes.
Why does it freeze?