Problem Skin NPC
#2

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

If i helped +rep me
Reply


Messages In This Thread
Problem Skin NPC - by BigBaws - 06.08.2013, 20:45
Re: Problem Skin NPC - by FireWarrior101 - 06.08.2013, 22:41

Forum Jump:


Users browsing this thread: 1 Guest(s)