SA-MP Forums Archive
CREATING A BOT - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: CREATING A BOT (/showthread.php?tid=292539)



CREATING A BOT - jiwan - 24.10.2011

hello guys i want to create a bot which will walk on foot so please help me !


Re: CREATING A BOT - SampEver1 - 24.10.2011

Check Creating an NPC tutorial


Re: CREATING A BOT - [MWR]Blood - 24.10.2011

Check this: https://sampforum.blast.hk/showthread.php?tid=95034


Re: CREATING A BOT - SampEver1 - 24.10.2011

Quote:
Originally Posted by [MWR]Blood
Посмотреть сообщение
Yea check it its really very helpful !


Re: CREATING A BOT - jiwan - 24.10.2011

Quote:
Originally Posted by [MWR]Blood
Посмотреть сообщение
i have tried that but not worked

when i look in server.exe window it shows Incoming connection : 127.0.0.1:1227

and when i go to place where npc was recorded nothing happens


Re: CREATING A BOT - SampEver1 - 24.10.2011

open server.cfg
edi maxnpc to the number of bots u wanna connect well now u have 1 incomming connection so use maxnpc 1


Re: CREATING A BOT - jiwan - 24.10.2011

Quote:
Originally Posted by SampEver1
Посмотреть сообщение
open server.cfg
edi maxnpc to the number of bots u wanna connect well now u have 1 incomming connection so use maxnpc 1
worked thx bro +rep

further advice how to make a standing bot ?


Re: CREATING A BOT - SampEver1 - 24.10.2011

Record it as standing !


Re: CREATING A BOT - jiwan - 24.10.2011

Quote:
Originally Posted by SampEver1
Посмотреть сообщение
Record it as standing !
i have done it but it do not go to place where it is recorded he stands still in place where other players spawn as i have recorded him as moving on foot what shall i do


Re: CREATING A BOT - [MWR]Blood - 24.10.2011

Quote:
Originally Posted by NPC Tutorial
My NPC just stands at the spawnpoint
Go back, and re-do the OnPlayerSpawn part of the tutorial.
Read!