02.08.2011, 19:46
Wow, this interest has surprised me.
You don't need npcmodes folder anymore. The only thing you should do is moving bot.amx file to the npcmodes folder from downloaded file. All NPCs will use bot.amx file. Then, add "new streamid = CreateStreamedNPC(...)" line to anywhere in gm. You will use SetNPCxxx(streamid.. functions instead of SetPlayerxxx(playerid.. functions. And if you want to remove npc, you will use DestroyStreamedNPC function.
@[LF]Mr.Lucci
Why do you wrote "/recordplaybackcb" ?! It is used for calling "OnNPCRecordingPlaybackEnd" callback. Bot will send this command automaticly.
You don't need npcmodes folder anymore. The only thing you should do is moving bot.amx file to the npcmodes folder from downloaded file. All NPCs will use bot.amx file. Then, add "new streamid = CreateStreamedNPC(...)" line to anywhere in gm. You will use SetNPCxxx(streamid.. functions instead of SetPlayerxxx(playerid.. functions. And if you want to remove npc, you will use DestroyStreamedNPC function.
@[LF]Mr.Lucci
Why do you wrote "/recordplaybackcb" ?! It is used for calling "OnNPCRecordingPlaybackEnd" callback. Bot will send this command automaticly.