14.07.2012, 23:30
Anyone have the code by matite CNPC ??
http://forum.sa-mp.com/showthread.ph...347#post868347
Quote:
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. |