12.11.2011, 23:51
Quote:
Good idea!
One way you could possibly do this is to: 1. Use the file functions and write as the file header the NPC's name. 2. Connect the NPC 3. Go to OnPlayerRequestSpawn 4. pawn Код:
6. If this has been set out correctly and he has a file create a basic array "new g_NpcID[MAX_PLAYERS];" 7. g_NpcID[MAX_PLAYERS] = playerid; 8. Get the NPC ID: pawn Код:
HOWEVER. Hooking the file creation method to ConnectNPC would be the best idea i guess lol |