Hai,
ich habe folgendes Problem mit einen Onfoot NPC:
[15:31:30] Incoming connection: 127.0.0.1:49803
[15:31:30] [npc:join] Officer has joined the server (0:127.0.0.1)
[15:31:43] [npc:part] Officer has left the server (0:0)
Kurz der NPC leavt immer wieder .
Mein Code ausm Gamemode :
if(IsPlayerNPC(playerid))
{
new npcname[64];
GetPlayerName(playerid,npcname,64);
gPlayerLogged[playerid] = 1;
if(!strcmp(npcname,"Officer Tackleberry",true))
{
//SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:rotation, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
SetSpawnInfo(playerid, 0, 107, 230.9127,183.7355,1003.0313, 328.5485, 9, 1, 0, 0, 0, 0);
return 1;
}
}
Um jede Antwort dankbar!
Mfg Chicken