03.12.2011, 07:58
I did everything the tutorial said but the bot dosnt connect.
It just says "Incoming Connection"
I have that in OnPlayerConnect
It just says "Incoming Connection"
Код:
if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC. { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name. if(!strcmp(npcname, "pilotX", true)) //Checking if the NPC's name is MyFirstNPC { print("PilotX Connected"); } }