SA-MP Forums Archive
Quest|All who know NPC. - 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: Quest|All who know NPC. (/showthread.php?tid=104230)



Quest|All who know NPC. - orking990 - 23.10.2009

I make NPC and npw when i start him that work.
But beacuse i make RP server,
So the bot can't login beacuse he bot...
How i can do it the bos connect without /login?
Thanks for all help.


Re: Quest|All who know NPC. - Darekfred - 23.10.2009

auto login?


Re: Quest|All who know NPC. - orking990 - 23.10.2009

Quote:
Originally Posted by TeRRoRism
auto login?
Yes, but only for bots.


Re: Quest|All who know NPC. - Diler - 23.10.2009

In login use
Код:
if(!IsPlayerNPC(playerid))



Re: Quest|All who know NPC. - orking990 - 23.10.2009

Quote:
Originally Posted by Diler
In login use
Код:
if(!IsPlayerNPC(playerid))
Error: error 017: undefined symbol "IsPlayerNPC"


Re: Quest|All who know NPC. - Karlip - 23.10.2009

#include <a_npc>


Re: Quest|All who know NPC. - Correlli - 23.10.2009

Quote:
Originally Posted by Karlip
#include <a_npc>
Native IsPlayerNPC is not in the a_npc.inc, but in the a_samp.inc.
Get yourself the latest 0.3 include files.


Re: Quest|All who know NPC. - Karlip - 23.10.2009

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Karlip
#include <a_npc>
Native IsPlayerNPC is not in the a_npc.inc, but in the a_samp.inc.
Get yourself the latest 0.3 include files.
My bad, not paying attention.


Re: Quest|All who know NPC. - orking990 - 23.10.2009

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Karlip
#include <a_npc>
Native IsPlayerNPC is not in the a_npc.inc, but in the a_samp.inc.
Get yourself the latest 0.3 include files.
I get the new includes i download it from the SA:MP offical website and that stay tell me the error...
And i define the A_NPC