[Ajuda] Problema FNPC versгo SAMP
#1

To tentando criar npcs roubaveis, to tentando sу criar o npc pra testar, fiz assim:
pawn Code:
new npc;

public OnGameModeInit()  {
    npc = FCNPC_Create("[BOT]Teste");
    return 1;
}

public OnPlayerRequestClass(playerid, classid)  {
    if(IsPlayerNPC(playerid))
        return SpawnPlayer(playerid);
   
    return 1;
}

public FCNPC_OnCreate(npcid)  {
    printf("[NPC] id: %i criado!", npcid);
    return 1;
}

public FCNPC_OnSpawn(npcid)  {
    printf("[NPC] id: %i spawn!", npcid);
    return 1;
}
Ta dando erro aqui:
warning 204: symbol is assigned a value that is never used: "npc"
npc = FCNPC_Create("[BOT]Teste");

E o server nгo inicia, baixei o SAMP server agr no site do samp, mas o sv n abre e da esse erro no serverlog
pawn Code:
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team

[19:11:08] filterscripts = ""  (string)
[19:11:08]
[19:11:08] Server Plugins
[19:11:08] --------------
[19:11:08]  Loading plugin: sscanf.dll
[19:11:08]

[19:11:08]  ===============================

[19:11:08]       sscanf plugin loaded.    

[19:11:08]          Version:  2.8.1        

[19:11:08]    (c) 2012 Alex "******" Cole  

[19:11:08]  ===============================

[19:11:08]   Loaded.
[19:11:08]  Loading plugin: FCNPC.dll
[19:11:08]
[19:11:08] -------------------------------------------------
[19:11:08]      FCNPC - Fully Controllable NPC v0.1 B12
[19:11:08]
[19:11:08] - Author: OrMisicL
[19:11:08] - Build:  Jun  2 2014 at 19:05:32
[19:11:08] -------------------------------------------------
[19:11:08]
[19:11:08] Loading ...
[19:11:08] Unknown samp server version. FCNPC only supports 0.3z versions
[19:11:08]   Failed.
[19:11:08]  Loaded 1 plugins.

[19:11:08]
[19:11:08] Filterscripts
[19:11:08] ---------------
[19:11:08]   Loaded 0 filterscripts.

[19:11:08] Script[gamemodes/new.amx]: Run time error 19: "File or function is not found"
[19:11:08] Number of vehicle models: 0
Reply


Messages In This Thread
Problema FNPC versгo SAMP - by maikons - 15.12.2014, 21:49
Re: Problema FNPC versгo SAMP - by Seidel - 15.12.2014, 22:05
Re: Problema FNPC versгo SAMP - by WLSF - 15.12.2014, 22:12
Re: Problema FNPC versгo SAMP - by maikons - 15.12.2014, 22:32
Re: Problema FNPC versгo SAMP - by Seidel - 15.12.2014, 22:37
Re: Problema FNPC versгo SAMP - by maikons - 15.12.2014, 22:45
Re: Problema FNPC versгo SAMP - by Seidel - 15.12.2014, 22:54
Re: Problema FNPC versгo SAMP - by maikons - 15.12.2014, 23:28
Re: Problema FNPC versгo SAMP - by maikons - 16.12.2014, 00:11
Re: Problema FNPC versгo SAMP - by Seidel - 16.12.2014, 00:15

Forum Jump:


Users browsing this thread: 1 Guest(s)