07.03.2014, 23:05
BUMP! I can't spawn FCNPCs either... I have this on my OnFilterscriptInit
That printf message never gets printed btw.
pawn Code:
Bot[A69_1] = FCNPC_Create("FCNPC_Test_Bot");
new I[6];
I[0] = FCNPC_Spawn(Bot[A69_1], 180, 0, 0, 4);
I[1] = FCNPC_SetHealth(Bot[A69_1], 100.0);
I[2] = FCNPC_SetArmour(Bot[A69_1], 100.0);
I[3] = FCNPC_SetWeapon(Bot[A69_1], WEAPON_MP5);
I[4] = FCNPC_SetAmmo(Bot[A69_1], 999999);
I[5] = FCNPC_AimAt(Bot[A69_1], 0.0, 10.0, 4.0, 1);
printf("%d%d%d%d%d%d",
I[0],
I[1],
I[2],
I[3],
I[4],
I[5]);