NPC wont connect
#1

Why dont my npc connect to the server?

OnGameModeInit
pawn Код:
print("NPC/John_Wikings has connected");
    ConnectNPC("Train","John_Wikings");
OnPlayerSpawn
pawn Код:
if(IsPlayerNPC(playerid))
    {
        new string[32];
        GetPlayerName(playerid, string, 32);
        if(!strcmp(string, "John_Wikings"))
        {
            SetPlayerSkin(playerid, 264);
            PutPlayerInVehicle(playerid, Train, 0);
            print("NPC/John_Wikings has spawned");
        }
        return 1;
    }
Reply


Messages In This Thread
NPC wont connect - by MayaEU - 26.07.2016, 09:50
Re: NPC wont connect - by justjamie - 26.07.2016, 09:54
Re: NPC wont connect - by MayaEU - 26.07.2016, 09:59
Re: NPC wont connect - by JustMe.77 - 26.07.2016, 10:15
Re: NPC wont connect - by MayaEU - 26.07.2016, 10:34

Forum Jump:


Users browsing this thread: 2 Guest(s)