SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 26/03/2019, 03:53 AM   #1
DeathSync
Little Clucker
 
Join Date: Nov 2016
Posts: 21
Reputation: 0
Default FCNPC

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.
DeathSync is offline   Reply With Quote
Old 26/03/2019, 01:39 PM   #2
TokicMajstor
Big Clucker
 
TokicMajstor's Avatar
 
Join Date: Oct 2018
Location: Bosnia And Herzegovina
Posts: 193
Reputation: 10
Default Re: FCNPC

Code:
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
__________________

My work:
-MapTD - GTA SA Map on a TextDraw

https://forum.sa-mp.com/showthread.php?t=671806
TokicMajstor is offline   Reply With Quote
Old 26/03/2019, 05:22 PM   #3
DeathSync
Little Clucker
 
Join Date: Nov 2016
Posts: 21
Reputation: 0
Default Re: FCNPC

Yes, I had done it, but it did not work.
DeathSync is offline   Reply With Quote
Old 27/03/2019, 03:05 AM   #4
SiaReyes
Huge Clucker
 
SiaReyes's Avatar
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 340
Reputation: 23
Default Re: FCNPC

Quote:
Originally Posted by DeathSync View Post
Yes, I had done it, but it did not work.
You sure, you have mapandreas plugin in your plugin folder?
SiaReyes is online now   Reply With Quote
Old 27/03/2019, 03:47 PM   #5
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 501
Reputation: 367
Default Re: FCNPC

What FCNPC version are you using?
__________________
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.


[Include] FCNPC A.I. - [Tutorial] Speedometer - [WIP] Single-player-like co-op mission - [Other] List of all my work
Freaksken is offline   Reply With Quote
Old 27/03/2019, 05:43 PM   #6
DeathSync
Little Clucker
 
Join Date: Nov 2016
Posts: 21
Reputation: 0
Default Re: FCNPC

Quote:
Originally Posted by SiaReyes View Post
You sure, you have mapandreas plugin in your plugin folder?
Yes.

Quote:
Originally Posted by Freaksken View Post
What FCNPC version are you using?
FCNPC 2.0.0 RC7.
DeathSync is offline   Reply With Quote
Old 27/03/2019, 06:10 PM   #7
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 501
Reputation: 367
Default Re: FCNPC

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:
Code:
// 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.
__________________
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.


[Include] FCNPC A.I. - [Tutorial] Speedometer - [WIP] Single-player-like co-op mission - [Other] List of all my work
Freaksken is offline   Reply With Quote
Old 27/03/2019, 06:24 PM   #8
DeathSync
Little Clucker
 
Join Date: Nov 2016
Posts: 21
Reputation: 0
Default Re: FCNPC

Code:
undefined symbol "FCNPC_UseMoveMode"
DeathSync is offline   Reply With Quote
Old 28/03/2019, 08:29 PM   #9
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 501
Reputation: 367
Default Re: FCNPC

That means you don't have FCNPC 2.0 ...
__________________
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.


[Include] FCNPC A.I. - [Tutorial] Speedometer - [WIP] Single-player-like co-op mission - [Other] List of all my work
Freaksken is offline   Reply With Quote
Old 28/03/2019, 09:52 PM   #10
DeathSync
Little Clucker
 
Join Date: Nov 2016
Posts: 21
Reputation: 0
Default Re: FCNPC

I downloaded it through https://github.com/ziggi/FCNPC
DeathSync is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help FCNPC ChrisPa Scripting Help 1 13/11/2018 12:48 AM
FCNPC RaajParker Scripting Help 3 07/01/2016 04:28 PM
fcnpc bot Prolific Scripting Help 4 28/11/2015 07:00 PM
FCNPC.dll 0.3z ? 0.3.7 ? Rabot Scripting Help 4 01/10/2015 03:12 PM
FCNPC help Hybris Scripting Help 0 12/04/2015 03:52 PM


All times are GMT. The time now is 04:03 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.