04.01.2012, 02:01
pawn Код:
if(IsPlayerNPC(playerid))
{
new Grove_Cap[MAX_PLAYER_NAME];
GetPlayerName(playerid, Grove_Cap, MAX_PLAYER_NAME);
//Replace NPCname with your NPC NAME
if (strcmp("Grove_Cap", Grove_Cap, true, MAX_PLAYER_NAME) == 0)
{
//Replace with your npc skin
SetPlayerSkin(playerid, 107);
}