NPCs - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: NPCs (
/showthread.php?tid=348785)
NPCs -
AstonDA-G - 06.06.2012
Hey all, problem with bots.
I can't get it to dance. Here's my code:
pawn Код:
if(strcmp(GetName(playerid), "girl", true) == 0) {
SetPlayerSkin(playerid, 140);
ApplyAnimation(playerid,"STRIP", "strip_A", 4.1, 1, 1, 1, 1, 1 );
}
The skin works, but she wont dance, she just stands there. I did have the dance running when i recorded btw.
Any help appreciated, thanks.
-Aston.
Re: NPCs -
zxc1 - 06.06.2012
Maybe this will help you:
http://pastebin.com/bi9KaXqb
Credit to O.K.Style™.
Re: NPCs -
AstonDA-G - 06.06.2012
ooooh onplayerupdate. Thankyou