Search

open.mp forum

RegisterLogin

Discussion

General
Chat
Tech
Life
Art
Programming
open.mp
Development Updates
Questions and Suggestions
SA-MP
General Discussions
Videos and Screenshots
Support
Pawn Scripting
Tutorials
Releases
Plugins
Libraries
Filterscripts
Gamemodes
Maps
Advertisements
Other languages
Spanish/Espa?ol
Programaci?n
Discusi?n GTA SA Multijugador
Mods
Offtopic
Juegos
Portuguese/Portugu?s
Russian/???????
Italian/Italiano
Dutch/Nederlands
German/Deutsch
Romanian/Rom?na
Ex-Yu
Polish/Polski
Og?lne
Serwery
Skryptowanie
Filmiki i zdjecia
Lithuanian/Lietuvi?kas
French/Fran?ais
Hungarian/Magyar
Hindi/Urdu
Turkish
Other
Internal
Team
Hidden
Archived

Library

 Collections Links Members Roles

FCNPC animations

Sadly, forum.sa-mp is closed and it's difficult to find information regarding FCNPC's

ID
d6ouivnilegovhg7bo80
author
kevinas's avatar

Kevinas

@kevinas


View profile
Copy link
  Report member
started
Feb 28, 2021
replies
0
participating
No

scroll to top

powered by storyden

Login
Discussion
Pawn Scripting
FCNPC animations
kevinas's avatar

Kevinas

@kevinas


View profile
Copy link
  Report member
• 5y
Pawn Scripting

FCNPC animations

pawn

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

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);
0 likes0 replies

    Please sign up or log in to reply