[Ajuda] NPC
#2

para criar os npc veja esse tutorial: https://sampforum.blast.hk/showthread.php?tid=109701
pra colocar as skins nele tenta usar isso:

pawn Код:
if(IsPlayerNPC(playerid))
    {
    static Nome_Npc[24];
    GetPlayerName(playerid, Nome_Npc, sizeof(Nome_Npc));
    if(!strcmp(Nome_Npc,"Seguranca_Ricardao",true)) // Nome do npc
    {
        SetPlayerSkin(playerid,163);  // Skin
        GivePlayerWeapon(playerid,30,999);
    }
no onplayerspawn
Reply


Messages In This Thread
NPC - by VSxD - 26.06.2013, 06:44
Re: NPC - by matanza87 - 26.06.2013, 15:01

Forum Jump:


Users browsing this thread: 1 Guest(s)