SA-MP Forums Archive
CNPC Help, Please! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: CNPC Help, Please! (/showthread.php?tid=238408)

Pages: 1 2


Re: CNPC Help, Please! - Retardedwolf - 12.03.2011

Yeah, Kalcor has already stated he doesn't want memory hacking plugins, if you are to use this plugin or rather function you may be blacklisted from the masterlist.


Re: CNPC Help, Please! - Sasino97 - 12.03.2011

Quote:
Originally Posted by Retardedwolf
Посмотреть сообщение
Yeah, Kalcor has already stated he doesn't want memory hacking plugins, if you are to use this plugin or rather function you may be blacklisted from the masterlist.
And if I don't use that function and I only use CreateNPC?


Re: CNPC Help, Please! - Kwarde - 12.03.2011

Quote:
Originally Posted by [GF]Sasino97
Посмотреть сообщение
I got other problems:

OnNPCMovingComplete(npcid)

crashes my server if I put something.

I want to do that when CNPC spawns, it walks to x, y and z, And it works

but I also want that when he finishes his walk, he walks back to his hold pos.

Please help =)
Try OnPlayerUpdate or make a timer and check the NPC's pos. If the pos is (the pos you putted in NPC_WalkTo eg.) , then move him again


Re: CNPC Help, Please! - Sasino97 - 12.03.2011

Thanks, I'll try


Re: CNPC Help, Please! - Retardedwolf - 12.03.2011

I have no idea, It seems as though Kalcor doesn't even want you to use the plugin, you could ask the moderators or give him a PM.