16.10.2016, 05:28
Normally you can just create the 80 NPCs at once, no need to delay it. The problem is probably somewhere else.
In some other script I create 998 NPCs in one function without any delay, no problems there.
Make sure to save the NPC IDs like Marricio said, and keep in mind the value FCNPC_Creates is no incrementing ID (unlike objects etc.), it is a playerid starting from the highest available slot to keep the lower IDs free for players.
In some other script I create 998 NPCs in one function without any delay, no problems there.
Make sure to save the NPC IDs like Marricio said, and keep in mind the value FCNPC_Creates is no incrementing ID (unlike objects etc.), it is a playerid starting from the highest available slot to keep the lower IDs free for players.