SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 11/09/2017, 08:58 PM   #3411
jop9888
Big Clucker
 
Join Date: Mar 2009
Posts: 114
Reputation: 4
Default Re: FCNPC - Fully Controllable NPC

Ah well nice, SOLVED:

I was using an older version of the streamer, updating it to the newest version fixed it for me
jop9888 is offline   Reply With Quote
Old 12/09/2017, 03:12 AM   #3412
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 526
Reputation: 209
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by NaS View Post
Did you declare all the related default callbacks too (with proper return values)? Like OnPlayerGiveDamage, OnPlayerWeaponShot, etc.
That is the most likely cause.
That's actually not needed anymore since 1.7.4.
__________________
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 Mission - [Other] List of all my work
Freaksken is offline   Reply With Quote
Old 14/09/2017, 05:33 PM   #3413
Sunehildeep
High-roller
 
Sunehildeep's Avatar
 
Join Date: Mar 2016
Posts: 1,003
Reputation: 89
Default Re: FCNPC - Fully Controllable NPC

Can we use the walk_drunk anim in FCNPC_GoTo?
__________________
Sunehildeep is offline   Reply With Quote
Old 14/09/2017, 06:33 PM   #3414
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 526
Reputation: 209
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by Sunehildeep View Post
Can we use the walk_drunk anim in FCNPC_GoTo?
You can apply an animation while the NPC is moving yes, but you'll have to apply it again every time the NPC reaches his destination.
__________________
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 Mission - [Other] List of all my work
Freaksken is offline   Reply With Quote
Old 25/09/2017, 02:54 AM   #3415
Rotzank
Little Clucker
 
Join Date: Sep 2017
Posts: 29
Reputation: 5
Default Re: FCNPC - Fully Controllable NPC

Please update plugin to R2!
Rotzank is offline   Reply With Quote
Old 25/09/2017, 05:45 AM   #3416
ZiGGi
High-roller
 
ZiGGi's Avatar
 
Join Date: Sep 2008
Location: Russia
Posts: 1,625
Reputation: 274
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by Rotzank View Post
Please update plugin to R2!
1.7.5 is already supports SA-MP 0.3.7 R2-2-1.
ZiGGi is offline   Reply With Quote
Old 25/09/2017, 06:24 AM   #3417
Rotzank
Little Clucker
 
Join Date: Sep 2017
Posts: 29
Reputation: 5
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by ZiGGi View Post
1.7.5 is already supports SA-MP 0.3.7 R2-2-1.

I downloaded sampsvr_files but I can't find FCNPC.dll/so
Rotzank is offline   Reply With Quote
Old 25/09/2017, 12:40 PM   #3418
ZiGGi
High-roller
 
ZiGGi's Avatar
 
Join Date: Sep 2008
Location: Russia
Posts: 1,625
Reputation: 274
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by Rotzank View Post
I downloaded sampsvr_files but I can't find FCNPC.dll/so
You should download archive from the release section.
ZiGGi is offline   Reply With Quote
Old 07/10/2017, 01:45 PM   #3419
ZiGGi
High-roller
 
ZiGGi's Avatar
 
Join Date: Sep 2008
Location: Russia
Posts: 1,625
Reputation: 274
Default Re: FCNPC - Fully Controllable NPC

FCNPC 1.7.6

Fixes

- #105: Now NPCs are despawning after the GMX
- Now NPCs is not dying after the GMX
- #105: Now FCNPC_Create returns current NPC id if he are already on the server
- #109: Fix NPC key setting
- Fix crash after calling FCNPC_Destroy in some callbacks
- #108: Attempt to fix nodes infinity loop bug

New functions
PHP Code:
native FCNPC_GetPluginVersion(version[], const size sizeof(version)); 
Download

- https://github.com/ziggi/FCNPC/releases
ZiGGi is offline   Reply With Quote
Old 07/10/2017, 04:52 PM   #3420
Sunehildeep
High-roller
 
Sunehildeep's Avatar
 
Join Date: Mar 2016
Posts: 1,003
Reputation: 89
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by ZiGGi View Post
FCNPC 1.7.6

Fixes

- #105: Now NPCs are despawning after the GMX
- Now NPCs is not dying after the GMX
- #105: Now FCNPC_Create returns current NPC id if he are already on the server
- #109: Fix NPC key setting
- Fix crash after calling FCNPC_Destroy in some callbacks
- #108: Attempt to fix nodes infinity loop bug

New functions
PHP Code:
native FCNPC_GetPluginVersion(version[], const size sizeof(version)); 
Download

- https://github.com/ziggi/FCNPC/releases
Awesome, and one question, after ApplyAnimation if we use FCNPC_GoTo the animation will keep going on or not?
__________________
Sunehildeep 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
[Include] Controllable NPC Lorenc_ Includes 101 02/06/2014 07:08 AM
[Plugin] FCNPC - Fully Controllable NPC sa-mp 0.3x R2 [LCK]Chris Plugin Development 82 16/05/2014 03:16 PM
Controllable HighPitchedVoice Scripting Help 5 25/05/2012 10:38 PM
[?]New SZR fully controllable NOS system Qeux Help Archive 3 17/03/2011 03:24 AM
Controllable NPC Andreq Русский/Russian 5 25/10/2010 08:57 AM


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


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