Aide FCNPC
#5

Code:
J'ai fait зa :) Mais il bug

	Npc[0] = FCNPC_Create(NPC_CAMIONNEUR);
	FCNPC_Spawn(Npc[0],186,2121.6575,-2274.1685,20.9575);
	FCNPC_SetAngle(Npc[0],229.9218);
	
    if(!FCNPC_IsNodeOpen(Node) && !FCNPC_OpenNode(Node))
    {
         printf("Error: Failed to open node %d from (scriptfiles/FCNPC/Nodes/NODES%d.DAT)", FCNPC_OpenNode(0), FCNPC_OpenNode(0));
         return 0;
    }

		new node = 1;
		
		FCNPC_GetNodePointPosition(node,X,Y,Z);
		
    	FCNPC_PlayNode(Npc[0],node,NODE_TYPE_PED);
    	printf("%f %f %f",X,Y,Z);
Reply


Messages In This Thread
Aide FCNPC - by DarkZeroX - 28.06.2014, 15:07
Re : Aide FCNPC - by tysanio - 28.06.2014, 15:20
Re : Aide FCNPC - by DarkZeroX - 28.06.2014, 15:20
Re : Aide FCNPC - by Clad - 28.06.2014, 16:37
Re : Aide FCNPC - by DarkZeroX - 28.06.2014, 16:53

Forum Jump:


Users browsing this thread: 1 Guest(s)