Quest|All who know NPC.
#1

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.
Reply
#2

auto login?
Reply
#3

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

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

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

#include <a_npc>
Reply
#7

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.
Reply
#8

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.
Reply
#9

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)