Help NPC
#1

So today I came Stir with a single NPC, But He Does not Connect What Type Shit.

npcmodes/recordings I Stopped. - Name: "SpawnCivil".
й o .pwn й .amx npcmodes. Name - "BotJFS", look:
pawn Код:
#include <a_npc>
#define RECORDING "SpawnCivil"
#define RECORDING_TYPE 2
main(){}
public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
is My FilterScript It Connect It, See my FilterScript
pawn Код:
#include <a_samp>
public OnFilterScriptInit()
{
    ConnectNPC("BotJFS","SpawnCivil");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

public OnPlayerSpawn(playerid)
{
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname));
    if(IsPlayerNPC(playerid))
    {
        if(!strcmp(npcname, "BotJFS", true))
        {
            ApplyAnimation(playerid,"DANCING","bd_clap",4.1,0,1,1,1,1);
            SetPlayerSkin(playerid, 246);
        }
    }
    return 1;
}
I could not say because he appears?

I wanted an NPC type Stop Dancing With Skin 246.

I used the translator, sorry for the mistakes. D:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)