Tag Community,
Ich habe jetzt mal 2 Bost eingefügt jedoch connecten diese und disconnecten sofort wieder.
SQL
[12:43:08] [npc:join] Sheva_Alomar has joined the server (0:176.9.44.136)
[12:43:08] [npc:join] Benett_Sinclair has joined the server (1:176.9.44.136)
[12:43:09] [npc:part] Sheva_Alomar has left the server (0:2)
[12:43:09] [npc:part] Benett_Sinclair has left the server (1:2)
Ich lasse diese normal Connecten.
public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid))
{
new botname[MAX_PLAYER_NAME];
GetPlayerName(playerid, botname, sizeof(botname));
if(!strcmp(botname, "Sheva_Alomar", true))
{
SetPVarInt(playerid,"logged",1);
}
else if(!strcmp(botname,"Benett_Sinclair",true))
{
SetPVarInt(playerid,"logged",1);
}
}
}