how can i connect a npc to the server through filterscript (without adding the functions in gamemode)?
EDIT: driving npc

Unless you have a filterscript loading the NPC script, the functions are needed in the gamemode to both load/run and communicate with the NPC script.

If your gamemode involves registering and logging in to be able to spawn etc., then I suggest you add the following line to your login system:
pawn Код:
That way, NPCs will be able to bypass the login.
I've never tried before, but I'm sure you can connect NPCs by using the function ConnectNPC


Forum Jump:

Users browsing this thread: 1 Guest(s)