FCNPC doesn`t work on 0.3DL ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: FCNPC doesn`t work on 0.3DL ? (
/showthread.php?tid=656135)
FCNPC doesn`t work on 0.3DL ? -
3417512908 - 08.07.2018
1 Warning:
Код:
[FCNPC] Error: NPC 'debug' not created. Name 'debug' is invalid or the maxnpc limit in server.cfg has been reached.
And the simple filterscript:
Код:
#include <a_samp>
#include <FCNPC>
#define FILTERSCRIPT
new CJ;
public OnFilterScriptInit()
{
CJ = FCNPC_Create("debug");
FCNPC_Spawn(CJ, 0, 2466.5632,-1667.1001,13.4672);
return 1;
}
server.cfg:
Код:
echo Executing Server Config...
lanmode 0
rcon_password fantasylandrcon_password
maxplayers 300
port 7777
hostname SA-MP 0.3 Server
gamemode0 FantasyLand 1
filterscripts JunkBuster cs2 Int Anim Veh Object Time house npc
announce 0
plugins sscanf streamer FCNPC
query 1
chatlogging 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpcs 100
logtimeformat [%H:%M:%S]
language Chinese
useartwork 1







Re: FCNPC doesn`t work on 0.3DL ? -
Dayrion - 08.07.2018