• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] FCNPC animations
#1
Sadly, forum.sa-mp is closed and it's difficult to find information regarding FCNPC's



My problem is that it doesn't play animations, I've tried it also with regular npcs - same deal.

I've tried preloading the libs for the player and the npcs - nothing.

here's my code

Code:
public OnGamemodeInit()

{

kasininkas=FCNPC_Create("Kasininkas");

FCNPC_Spawn(kasininkas,217,-166.7957,1017.0024,19.7427);

}



public Timeris(playerid)

{

SendClientMessage(playerid, 0xff0000,"a");

FCNPC_ApplyAnimation(kasininkas, "BAR", "Barserve_bottle");

SendClientMessage(playerid, 0xff0000,"a");

return 1;

}



//I turn on the timer with -?SetTimerEx("Timeris", 1000,true, "i",playerid);
  Reply
#2
firstly, https://sampforumarchive.com/forum.sa-mp.com/index.html if you need something, someone has made a backup.



could you please try applying the animation right after you spawned the npc, if it does the same?
  Reply
#3
(2021-02-28, 09:25 PM)destiezk Wrote: firstly, https://sampforumarchive.com/forum.sa-mp.com/index.html if you need something, someone has made a backup.



could you please try applying the animation right after you spawned the npc, if it does the same?



Yes I've tried applying the animation as I stated "I tried preloading libs"
  Reply
#4
that's pretty weird.. don't you have a txt in your server folder named 'fcnpc-crash.....' ? if yes, could you please show me the content of it?
  Reply
#5
(2021-02-28, 10:41 PM)destiezk Wrote: that's pretty weird.. don't you have a txt in your server folder named 'fcnpc-crash.....' ? if yes, could you please show me the content of it?



no, I don't have any kind of fcnpc crash file in the server directory
  Reply


Forum Jump: