Applying animation on NPC.

Good day. I have a problem - Somewhy animation on NPC doesnt work. Anyone haves a solution? Server sets the skin without any problem btw

I have this in OnPlayerSpawn callback:

pawn Code:
ApplyAnimation(playerid, "DANCING", "null", 0.0, 0, 0, 0, 0, 0);
if (!strcmp(userName, "Sokejas3", true))
    ApplyAnimation(playerid, "DANCING", "DAN_Left_A", 4.1, 1, 1, 1, 1, 0, 1);
    SetPlayerSkin(playerid, 60);
Thanks in advance.

Please take a look at this as it'll help you through the problem you're experiencing.

- Firewire

Thank you.

Had to double post anyway. As Im using custom processor, a strcmp check in OnPlayerCommandText will fuck up all the commands. So I ask, how to make it work, for example with zcmd commands' proccessor? Tried to use CallLocalFunction, says undefined symbol. Include main samp include - more warnings/errors, so I guess its a shitty way.

Forum Jump:

Users browsing this thread: 1 Guest(s)