[AJUDA] Skin NPC
#3

Quote:
Originally Posted by Hardware
Посмотреть сообщение
Na 1° dъvida, acho que da para fazer assim:

pawn Код:
public OnPlayerConnect(playerid)
{
    if(IsPlayerNPC(playerid))
         SetPlayerSkin(playerid,287);
   
    return 1;
}
Amigo, acho que funciona. Teste e depois fale se funcionou.
como eu disse, sou muito noob kk

como ficaria entгo? assim ? :

Quote:

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" soldadodp");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" soldadodp");
print("----------------------------------\n");
}

#endif

public OnFilterScriptInit()
{
print("soldadodp");
ConnectNPC("Soldado","soldadodp");
return 1;
}

public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid))
SetPlayerSkin(playerid,287);

return 1;
}

tentei desse jeito mas nгo funcionou, provavelmente fiz algo errado kk, como seria o certo?

mais uma coisinha, poderia me passar alguns tutorias para aprender a usar o pawno ? algo mais para inciantes? .-.
Reply


Messages In This Thread
[AJUDA] Skin NPC - by reycom42 - 06.01.2012, 20:09
Re: [AJUDA] Skin NPC - by Hardware - 06.01.2012, 20:19
Re: [AJUDA] Skin NPC - by reycom42 - 06.01.2012, 20:32
Re: [AJUDA] Skin NPC - by Hardware - 06.01.2012, 20:39
Re: [AJUDA] Skin NPC - by reycom42 - 06.01.2012, 20:49
Re: [AJUDA] Skin NPC - by Justify16 - 09.01.2012, 00:40

Forum Jump:


Users browsing this thread: 1 Guest(s)