SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 30/01/2018, 06:54 PM   #3521
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,146
Reputation: 157
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by ZiGGi View Post
New FCNPC 1.8.2 0.3.DL edition available. Not too ultra, but still beta version. Also with Linux build.
Did you just update memory addresses or everything including valid skins and objects?
__________________
Путин here,
Путин there,
Путин просто everywhere.


Any PM's that include question about any kind of help will be ignored.
Use appropriate boards for that
DRIFT_HUNTER is offline   Reply With Quote
Old 30/01/2018, 10:52 PM   #3522
ZiGGi
High-roller
 
ZiGGi's Avatar
 
Join Date: Sep 2008
Location: Russia
Posts: 1,700
Reputation: 322
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by DRIFT_HUNTER View Post
Did you just update memory addresses or everything including valid skins and objects?
Here you can see all what I made: https://github.com/ziggi/FCNPC/commits/0.3.DL
And yes, I forgot about skins and objects.
ZiGGi is offline   Reply With Quote
Old 08/02/2018, 09:39 PM   #3523
Powered
Little Clucker
 
Powered's Avatar
 
Join Date: Apr 2017
Posts: 32
Reputation: 7
Default Re: FCNPC - Fully Controllable NPC

how do I put my zombie skin that is in the model folder with the 25001 id? I put the id in the code but inside the game appears the cj.

PHP Code:
stock CriarZumbis()
{
    new 
str[30];
    for(new 
0MAX_ZUMBISi++)
    {
        
format(strsizeof(str), "Zombie_%i"i);
        new 
npcid FCNPC_Create(str);
        if(
ZombieFirst == 0ZombieFirst npcid;
        
ZombieEnd npcid;
        
FCNPC_Spawn(npcid25001ZPos[i][0], ZPos[i][1], ZPos[i][2]);

        
FCNPC_SetAngle(npcidZPos[i][3]);
        
FCNPC_SetInterior(npcid0);
        
FCNPC_SetArmour(npcid80);
        
FCNPC_SetWeapon(npcid4);
        
FCNPC_SetAmmo(npcid1);

        
printf("Zombie %d created"i);
    }
    return 
1;

Powered is offline   Reply With Quote
Old 09/02/2018, 12:06 PM   #3524
ZiGGi
High-roller
 
ZiGGi's Avatar
 
Join Date: Sep 2008
Location: Russia
Posts: 1,700
Reputation: 322
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by Powered View Post
how do I put my zombie skin that is in the model folder with the 25001 id? I put the id in the code but inside the game appears the cj.

PHP Code:
stock CriarZumbis()
{
    new 
str[30];
    for(new 
0MAX_ZUMBISi++)
    {
        
format(strsizeof(str), "Zombie_%i"i);
        new 
npcid FCNPC_Create(str);
        if(
ZombieFirst == 0ZombieFirst npcid;
        
ZombieEnd npcid;
        
FCNPC_Spawn(npcid25001ZPos[i][0], ZPos[i][1], ZPos[i][2]);

        
FCNPC_SetAngle(npcidZPos[i][3]);
        
FCNPC_SetInterior(npcid0);
        
FCNPC_SetArmour(npcid80);
        
FCNPC_SetWeapon(npcid4);
        
FCNPC_SetAmmo(npcid1);

        
printf("Zombie %d created"i);
    }
    return 
1;

It's not ready yet.
ZiGGi 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 04:06 AM.


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