PDA

View Full Version : NPCs


AstonDA-G
06/06/2012, 06:05 PM
Hey all, problem with bots.
I can't get it to dance. Here's my code:

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.

zxc1
06/06/2012, 06:39 PM
Maybe this will help you:
http://pastebin.com/bi9KaXqb

Credit to O.K.Style™.

AstonDA-G
06/06/2012, 07:51 PM
ooooh onplayerupdate. Thankyou :)