[HELP] NPC Skin
#4

This is rachaels code from this topc - https://sampforum.blast.hk/showthread.php?tid=178493
Hopefully that can help you out.
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
[HELP] NPC Skin - by ZmaXy - 31.01.2011, 00:15
Re: [HELP] NPC Skin - by PeteShag - 31.01.2011, 02:08
Re: [HELP] NPC Skin - by ZmaXy - 31.01.2011, 03:06
Re: [HELP] NPC Skin - by Haydz - 31.01.2011, 04:14

Forum Jump:


Users browsing this thread: 5 Guest(s)