NPC Help
#1

Anyone have the code by matite CNPC ??

Quote:
Originally Posted by Matite
Посмотреть сообщение
You could adapt this code:
http://www.gamerxserver.com/downloads/CNPC/citizens.pwn

All working files:
http://www.gamerxserver.com/downloads/CNPC

I just released it yesterday. I do not have time to work on CNPCs anymore.

Yes, my code is a bit messy. I normally clean it up (eg convert commands etc) after I finish with my "idea". However it is well commented so you can understand things.

There are some serious limitations of the CNPC bots:
* There is no way to get the width of a vehicles node path since that information is stored within the NAVI nodes: this means I cannot get them to drive in the correct lane.
* They do not work reliably on a linux server (maybe someone fixed this, I tried but failed).
* They will not work in any future version of SA:MP (someone will need to update it to work again).

Anyway, I totally loved playing with the bots in my test server (fyi, I'm closing the test server down but not the normal GamerX ofc).

Enjoy.
http://forum.sa-mp.com/showthread.ph...347#post868347
Reply
#2

Theres no version for the current samp version, but the original creator alex009 once mentioned hes working on it.
Till then you might have a look at RNPC in my signature.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)