Quote:
Originally Posted by MP2
Is there a tutorial somewhere on how to use this? I don't understand how the functions don't have an NPC ID parameter - how do you handle multiple NPCs? Seems very counterintuitive.
After looking through the include file and finding this:
pawn Code:
native RNPC_CreateBuild(npcid, type, slot=0); native RNPC_FinishBuild(clear=1);
I still have no idea what to do. Why is there absolutely NO documentation AT ALL..? Not exactly convincing me to use it.
|
Sure, I never said its easy. If you know how the .rec files work, it will be rather intuitive. You create a new file, write a sequence of "actions" into it, and close it. Thats what the "Build" does. As this plugin is in very early developement, i didnt much spent time for making it easier to use, but rather worked on making it work in general. Just imagine the plugin to rather be a "rec file creator", than a "npc control plugin", yet.
Also, there is some documentation. I link to the wiki page in the first post
https://sampwiki.blast.hk/wiki/Rnpc it explains all the functions and gives example code

And as said, if its not good enough, read through my rec file documentation
https://sampwiki.blast.hk/wiki/.rec_file to learn how samps npcs work, and you will also learn how to use this plugin.