• 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


Messages In This Thread
FCNPC animations - by Kevinas - 2021-02-28, 06:17 PM
RE: FCNPC animations - by destiezk - 2021-02-28, 09:25 PM
RE: FCNPC animations - by Kevinas - 2021-02-28, 09:30 PM
RE: FCNPC animations - by destiezk - 2021-02-28, 10:41 PM
RE: FCNPC animations - by Kevinas - 2021-03-01, 06:18 AM

Forum Jump: