SA-MP Forums Archive
FCNPC - 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: FCNPC (/showthread.php?tid=665212)



FCNPC - DeathSync - 26.03.2019

How can I add MAPANDREAS in my script? from what I saw in Github the FCNPC speaks that I have to put only in server.cfg, but it does not work.


Re: FCNPC - TokicMajstor - 26.03.2019

Код:
plugins ....... mapandreas/mapandreas.so
Just add this to server.cfg, and download plugin to plugins folder
.so is for linux
..... are the other plugins on your server, if you have any


Re: FCNPC - DeathSync - 26.03.2019

Yes, I had done it, but it did not work.


Re: FCNPC - SiaReyes - 27.03.2019

Quote:
Originally Posted by DeathSync
Посмотреть сообщение
Yes, I had done it, but it did not work.
You sure, you have mapandreas plugin in your plugin folder?


Re: FCNPC - Freaksken - 27.03.2019

What FCNPC version are you using?


Re: FCNPC - DeathSync - 27.03.2019

Quote:
Originally Posted by SiaReyes
Посмотреть сообщение
You sure, you have mapandreas plugin in your plugin folder?
Yes.

Quote:
Originally Posted by Freaksken
Посмотреть сообщение
What FCNPC version are you using?
FCNPC 2.0.0 RC7.


Re: FCNPC - Freaksken - 27.03.2019

That version includes mapandreas, so you don't need to load that plugin again by itself. In other words, remove mapandreas from the plugins line in server.cfg.

Next, do this:
Код:
// OnGameModeInit
MapAndreas_Init(MAP_ANDREAS_MODE_FULL);
FCNPC_UseMoveMode(FCNPC_MOVE_MODE_MAPANDREAS);
I think that's it, I can't test it now, since I'm on mobile.

I'll update the wiki later.


Re: FCNPC - DeathSync - 27.03.2019

Код:
undefined symbol "FCNPC_UseMoveMode"



Re: FCNPC - Freaksken - 28.03.2019

That means you don't have FCNPC 2.0 ...


Re: FCNPC - DeathSync - 28.03.2019

I downloaded it through https://github.com/ziggi/FCNPC