Folgendes Problem mit FCNPC..
In der Log steht er Connected, jedoch spawnt er nicht!
Hier die Betroffenen Stellen:
public OnGameModeInit()
{
npc=FCNPC_Create("Ryan");
public OnPlayerRequestClass(playerid, classid)
{
if(IsPlayerNPC(playerid)==1)
{
FCNPC_Spawn(npc,0,1129.2036,-1490.9535,22.7690);
return 1;
}
public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid)==1)
{
FCNPC_Spawn(npc,0,1129.2036,-1490.9535,22.7690);
}
return 1;
}
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid)==1)
{
FCNPC_Spawn(npc,0,1129.2036,-1490.9535,22.7690);
SetPlayerSkin(playerid, 162);
SetPlayerPos(playerid,1129.2036,-1490.9535,22.7690);
SetPVarInt(playerid, "SpielerInReichweite", 0);
return 1;
}
Hier die Log:
SA-MP Dedicated Server
----------------------
v0.3x, (C)2005-2013 SA-MP Team
[13:13:18] filterscripts = "" (string)
[13:13:18]
[13:13:18] Server Plugins
[13:13:18] --------------
[13:13:18] Loading plugin: FCNPC
[13:13:18]
[13:13:18] -------------------------------------------------
[13:13:18] FCNPC - Fully Controllable NPC v0.1 B8 R2
[13:13:18]
[13:13:18] - Author: OrMisicL
[13:13:18] - Build: May 15 2013 at 12:22:37
[13:13:18] -------------------------------------------------
[13:13:18]
[13:13:18] Loading ...
[13:13:18] FCNPC Loaded.
[13:13:18]
[13:13:18] Loaded.
[13:13:18] Loaded 1 plugins.
[13:13:18]
[13:13:18] Filterscripts
[13:13:18] ---------------
[13:13:18] Loaded 0 filterscripts.
[13:13:18] [npc:join] [NPC]Ryan has joined the server (49:127.0.0.1)
[13:13:18]
----------------------------------
[13:13:18] DayZ by NeL
[13:13:18] ----------------------------------