[HELP] NPC Skin
#1

How to change NPC skin ? Please tell me..
Reply
#2

SetPlayerSkin ?
Reply
#3

How? SetPlayerSkin for player... How for NPC
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)