NPC Bots

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]
 

Kenshiro

Active member
Joined
Aug 20, 2017
Messages
43
Reaction score
0
Location
Oblivion
I don't think we really need a tutorial for this shit.  :imoverit:
 

ini

Well-known member
Joined
Sep 28, 2015
Messages
321
Reaction score
115
Kenshiro said:
I don't think we really need a tutorial for this shit.  :imoverit:

Probably you don't but people who have creativity can find this useful.
 

Kenshiro

Active member
Joined
Aug 20, 2017
Messages
43
Reaction score
0
Location
Oblivion
ini said:
Kenshiro said:
I don't think we really need a tutorial for this shit.  :imoverit:

Probably you don't but people who have creativity can find this useful.

What can you do with "samp-npc.exe" rather then creating uncontrollable als? You can only make them write and follow. Nothing more. I appreciate your effort but you can make more unique things with npcs. Not shits like that.
 
Top