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



FCNPC Problem - HoussemGaming - 14.08.2017

Good night all.
i have a problem with FCNPC.
when i spawn an NPC and try to kill him it doesn't get killed.
and when i move an npc it don't move.
Can someone help me !


Re: FCNPC Problem - Camtasia - 14.08.2017

code?


Re: FCNPC Problem - HoussemGaming - 14.08.2017

Quote:
Originally Posted by Camtasia
View Post
code?
Code:
stock Hostage_Load()
{
	hInfo[Boubo] = FCNPC_Create("Boubo");
	hInfo[Gage] = FCNPC_Create("Gage");
	hInfo[Tim] = FCNPC_Create("Tim");
	hInfo[Nike] = FCNPC_Create("Nike");
	FCNPC_Spawn(hInfo[Boubo], 7, 263.0442,1851.0674,8.7578);
	FCNPC_Spawn(hInfo[Gage], 7, 263.0663,1852.0133,8.7578);
	FCNPC_Spawn(hInfo[Tim], 15, 262.9948,1857.0647,8);
	FCNPC_Spawn(hInfo[Nike], 15, 263.1034,1860.6825,8);
        return 1;
}



Re: FCNPC Problem - Freaksken - 14.08.2017

Read this reply on the FCNPC thread that answers the same question.