ServerServiceConnectNpc Method |
Connect an NPC to the server.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic void ConnectNpc(
string name,
string script
)
Parameters
- name
- Type: SystemString
The name the NPC should connect as. Must follow the same rules as normal player names. - script
- Type: SystemString
The NPC script name that is located in the npcmodes folder (without the .amx extension).
Implements
IServerServiceConnectNpc(String, String)
See Also