SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 25/07/2017, 06:54 PM   #31
tarjet
Little Clucker
 
Join Date: Jul 2016
Posts: 2
Reputation: 0
Default Re: FCNPC A.I.

C:\Users\User\Desktop\samp\pawno\include\FAI.inc(4 06) : error 017: undefined symbol "MapAndreas_GetAddress"
C:\Users\User\Desktop\samp\pawno\include\FAI.inc(4 10) : error 017: undefined symbol "MapAndreas_GetAddress"
tarjet is offline   Reply With Quote
Old 25/07/2017, 07:27 PM   #32
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 616
Reputation: 287
Default Re: FCNPC A.I.

Quote:
Originally Posted by tarjet View Post
C:\Users\User\Desktop\samp\pawno\include\FAI.inc(4 06) : error 017: undefined symbol "MapAndreas_GetAddress"
C:\Users\User\Desktop\samp\pawno\include\FAI.inc(4 10) : error 017: undefined symbol "MapAndreas_GetAddress"
Requirements
__________________
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 25/07/2017, 09:04 PM   #33
tarjet
Little Clucker
 
Join Date: Jul 2016
Posts: 2
Reputation: 0
Default Re: FCNPC A.I.

Quote:
Originally Posted by Freaksken View Post
But I have it all... maybe I install something wrong. Anyway, thanks.
tarjet is offline   Reply With Quote
Old 25/07/2017, 10:35 PM   #34
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 616
Reputation: 287
Default Re: FCNPC A.I.

Quote:
Originally Posted by tarjet View Post
But I have it all... maybe I install something wrong. Anyway, thanks.
You need to have mapandreas.inc in the pawno/include folder and mapandreas.dll in the plugins folder.
__________________
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 12/09/2018, 01:57 PM   #35
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 616
Reputation: 287
Default Re: FCNPC A.I.

For people wanting to help out with testing and give constructive criticism, please check the in development 2.0 branch. It is a complete rewrite and should vastly improve the easy of use of the include due to increased use of hooks.
The include is being split into 2 parts:
  • FAI.inc
  • MMO.inc
The first one implements all the AI functionality and the second one is a collection of all the MMO functionality (textdraws, spells, ...). This decision was made because the include was a bit of a mess of 2 ideas, which violated the idea that you want to separate different things in different libraries. It is the same idea of separating math and string manipulation functions in different libraries (math.inc and string.inc) instead of combining them into one. Some people will only need the AI part, so they can only include that part. The second one requires the first one, so there shouldn't be any confusion.

This beta version is completely incompatible with older scripts, hence the major version number change. Currently, only the AI functionality is implemented and ready for testing. If you have any notes or questions, you can leave a reply in this thread, contact me on discord, or create an issue on GitHub.
__________________
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
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
FCNPC GOD mod bug HELP :( peti784 Scripting Help 0 07/09/2016 04:57 PM
Need help with FCNPC valerastar Scripting Help 1 05/05/2016 07:54 AM
Help Me FCNPC Pagle Scripting Help 0 30/07/2015 06:11 AM
FCNPC help blackwave Scripting Help 1 20/04/2014 03:36 AM


All times are GMT. The time now is 08:17 AM.


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