ini
Well-known member
- Joined
- Sep 28, 2015
- Messages
- 321
- Reaction score
- 115
Hello ugbase comunity, since i saw recently some guys asking anout npc bots for samp , decided to explain how eassy you can add npc's into servers using samp-npc.exe .
You can get the binaries from here
basically you can execute cmd from windows, place on the same folder with samp-npc.exe
and paste that line:
samp-npc.exe -h IP -p PORT -n NPC NAME -m SCRIPT NAME
You can also build your own application for joing them:
//c++ solution use CreateProcess if you want pass the arguments
https://msdn.microsoft.com/en-us/library...s.85).aspx
[font=Monaco, Consolas, Courier, monospace]//vb solution [/font]
[font=Monaco, Consolas, Courier, monospace]Dim procNPC As Process = System.Diagnostics.Process.Start("samp-npc.exe", "-h IP -p PORT -n NPC NAME -m SCRIPT NAME")[/font]
You can get the binaries from here
basically you can execute cmd from windows, place on the same folder with samp-npc.exe
and paste that line:
samp-npc.exe -h IP -p PORT -n NPC NAME -m SCRIPT NAME
You can also build your own application for joing them:
//c++ solution use CreateProcess if you want pass the arguments
https://msdn.microsoft.com/en-us/library...s.85).aspx
[font=Monaco, Consolas, Courier, monospace]//vb solution [/font]
[font=Monaco, Consolas, Courier, monospace]Dim procNPC As Process = System.Diagnostics.Process.Start("samp-npc.exe", "-h IP -p PORT -n NPC NAME -m SCRIPT NAME")[/font]