NPC Bots

ini

Well-Known Member
Joined
Sep 28, 2015
Messages
212
Likes
6
Points
18
#1
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/windows/desktop/ms682425(v=vs.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]
 
Top