[Suggestion] Ability to connect an NPC to a defined player ID - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: open.mp (https://forum.open.mp/forumdisplay.php?fid=40) --- Forum: Questions and Suggestions (https://forum.open.mp/forumdisplay.php?fid=42) --- Thread: [Suggestion] Ability to connect an NPC to a defined player ID (/showthread.php?tid=1046) |
Ability to connect an NPC to a defined player ID - EvilShadeZ - 2020-04-16 Being able to connect an NPC to a specific ID would help in terms of server development.? Let's say my server has 100 player slots and I would like another 100 npc's, I would rather have them connected in slots 100-199 than being mixed in with regular players. By having NPC's in higher slots, I can reduce Player Information array sizes to the appropriate size to only include players, meanwhile I could create NPC specific arrays that handle NPC-Specific?information. RE: Ability to connect an NPC to a defined player ID - dreftas - 2020-04-16 Good one suggestion ???? RE: Ability to connect an NPC to a defined player ID - Y_Less - 2020-04-18 I thought NPCs were already allocated from MAX_PLAYERS down. RE: Ability to connect an NPC to a defined player ID - EvilShadeZ - 2020-04-18 (2020-04-18, 11:23 AM)Y_Less Wrote: I thought NPCs were already allocated from MAX_PLAYERS down. Unfortunately that's not the case in SA-MP. They get assigned from ID 0 upwards. Quite messy when players get mixed in-between NPC slots. I do like the idea of assigning them from MAX_PLAYERS down though. RE: Ability to connect an NPC to a defined player ID - Freaksken - 2020-04-18 (2020-04-18, 11:23 AM)Y_Less Wrote: I thought NPCs were already allocated from MAX_PLAYERS down. That's an FCNPC feature. |