![]() |
|
[Pawn] FCNPC animations - Printable Version +- open.mp forum (https://forum.open.mp) +-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) +--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) +--- Thread: [Pawn] FCNPC animations (/showthread.php?tid=1722) |
FCNPC animations - Kevinas - 2021-02-28 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);RE: FCNPC animations - destiezk - 2021-02-28 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? RE: FCNPC animations - Kevinas - 2021-02-28 (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. Yes I've tried applying the animation as I stated "I tried preloading libs" RE: FCNPC animations - destiezk - 2021-02-28 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? RE: FCNPC animations - Kevinas - 2021-03-01 (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 |