22.04.2013, 04:27
(
Last edited by Pottus; 27/05/2014 at 01:22 AM.
)
FCNPC Extended Functions
A very simple set of functions thus far to extend some of FCNPC's functionality, the plugin is still early in development so I will be updating this with newfunctions as time goes on. Currently there is only three functions and I was debating if I should even put this up at this point. I decided to put up what I have so far because it would be nice to get some more ideas from other scripters of what to add next.
Functions so far:
http://pastebin.com/51GUBc5E
A very simple set of functions thus far to extend some of FCNPC's functionality, the plugin is still early in development so I will be updating this with newfunctions as time goes on. Currently there is only three functions and I was debating if I should even put this up at this point. I decided to put up what I have so far because it would be nice to get some more ideas from other scripters of what to add next.
Functions so far:
Code:
FCNPC_Punch(npcid, Float:x, Float:y, Float:z, PunchResetDelay = 125) - Allows the NPC to punch and resets correctly to punch again FCNPC_GoToPlayer(npcid, playerid, movetype = MOVE_TYPE_WALK, UseZMap = 0) - Goes to a players exact position FCNPC_GoToPlayerEx(npcid, playerid, Float:dist, Float:rangle, movetype = MOVE_TYPE_WALK, UseZMap = 0) - Goes FCNPC_StartRNPCPlayBack(npcid) - start a FCNPC recording playback