[Ajuda] Skins npc
#1

hoje eu aprendi a criar npc etc...
queria saber como mudar skins delles usei isso...

pawn Код:
public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid))
{
static Nome_Npc[24];
GetPlayerName(playerid, Nome_Npc, sizeof(Nome_Npc));
    if(!strcmp(Nome_Npc,"meunpc",false)) // Nome do npc
    {
        SetPlayerSkin(playerid,0);  // Skin
    }
    if(!strcmp(Nome_Npc,"meunpc2",false))
    {
        SetPlayerSkin(playerid, 141);
    }
    if(!strcmp(Nome_Npc,"meunpc3",false))
    {
        SetPlayerSkin(playerid, 11);
    }
}
mas nгo deu em nada alguem poderia me explicar? agradeзo desde ja
Reply


Messages In This Thread
Skins npc - by matanza87 - 05.06.2013, 00:53
Re: Skins npc - by Exco - 05.06.2013, 01:23
Re: Skins npc - by matanza87 - 05.06.2013, 03:00
Re: Skins npc - by MonFiTy - 05.06.2013, 03:15
Re: Skins npc - by FireScript - 05.06.2013, 04:29
Re: Skins npc - by MonFiTy - 05.06.2013, 04:35
Re: Skins npc - by Mteck - 05.06.2013, 10:34
Re: Skins npc - by matanza87 - 05.06.2013, 11:19

Forum Jump:


Users browsing this thread: 2 Guest(s)