Why dosnt my NPC Dance?
#1

This is the onplayerspawn Code:

Код:
	if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
  {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
    if(!strcmp(npcname, "Dancer", true)) //Checking if the NPC's name is MyFirstNPC
    {
      ApplyAnimation(playerid,"DANCING","dnce_M_a",10.0,1,1,1,1,1);
    }
    return 1;
  }
He just stands there
Reply


Messages In This Thread
Why dosnt my NPC Dance? - by [mad]MLK - 20.09.2009, 19:09
Re: NPC keeps disconnecting. [Suspected Bug] - by Mikep. - 20.09.2009, 19:12
Re: NPC keeps disconnecting. [Suspected Bug] - by d0 - 20.09.2009, 19:13
Re: Why dosnt my NPC Dance? - by Karlip - 20.09.2009, 19:38
Re: Why dosnt my NPC Dance? - by Mikep. - 20.09.2009, 19:51
Re: Why dosnt my NPC Dance? - by [mad]MLK - 20.09.2009, 21:19
Re: Why dosnt my NPC Dance? - by Sergei - 20.09.2009, 21:35
Re: Why dosnt my NPC Dance? - by Smithy - 20.09.2009, 21:39
Re: Why dosnt my NPC Dance? - by On_Top_Non_Stop - 20.09.2009, 21:41
Re: Why dosnt my NPC Dance? - by [mad]MLK - 20.09.2009, 21:57

Forum Jump:


Users browsing this thread: 1 Guest(s)