Changing NPC skin
#2

pawn Код:
public OnPlayerSpawn(playerid)
{
     if(IsPlayerNPC(playerid))
     {
          new npc_name[24];
          GetPlayerName(playerid,npc_name,sizeof(npc_name));
          if(!strcmp(npc_name,"Name_Of_Your_NPC",false))
          {
               SetPlayerSkin(playerid, 264); // your skin choice for NPC
          }
          return 1;
     }
//rest of callback here
Reply


Messages In This Thread
Changing NPC skin - by jurtes - 22.09.2010, 14:30
Re: Changing NPC skin - by Rachael - 22.09.2010, 14:34
Re: Changing NPC skin - by jurtes - 22.09.2010, 14:49
Re: Changing NPC skin - by Rachael - 22.09.2010, 14:51
Re: Changing NPC skin - by jurtes - 22.09.2010, 15:05
Re: Changing NPC skin - by Mauzen - 22.09.2010, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)