This function was added in SA-MP 0.3a and will not work in earlier versions!
Connect an NPC to the server.
|name||The name the NPC should connect as. Must follow the same rules as normal player names.|
|script||The NPC script name that is located in the npcmodes folder (without the .amx extension).|
This function always return 1.
NPCs do not have nametags. These can be scripted with Attach3DTextLabelToPlayer.