NPC SPAWNS AND STANDS [HELP]
#1

I made recording but NPC spawns at spawn point and stands there Help...
Reply
#2

must be something wrong under your onplayerspawn
Reply
#3

Are you making the NPC perform something you've recorded?
Reply
#4

Quote:
Originally Posted by Badger(new)
Посмотреть сообщение
Are you making the NPC perform something you've recorded?
pawn Код:
#include <a_samp>

new Bus1;

public OnGameModeInit()
{

    // NPCS
    ConnectNPC("Bus1","bus1");
    Bus1 =  AddStaticVehicle(431,-1988.0057,116.6116,27.6411,0.6686,75,59);
    return 1;
}

public OnPlayerSpawn(playerid)
{
    if(!IsPlayerNPC(playerid)) return 0;

    new playername[64];
    GetPlayerName(playerid,playername,64);

    if(!strcmp(playername,"Bus1",true))-you no what to type here all that bla bla bla {
        PutPlayerInVehicle(playerid, Bus1-npc name, 0);
        SetSpawnInfo( playerid,where your npc is going to spawn );
        SetPlayerColor(playerid,0xFFFF00AA- color of npc name);
    }
    return 1;
}
right i hope youget the idea enjoy and make sure you add your npcs to the npcs and filter scripts (some names in the script have to be the name of your recoreding youll worki it out if you cant reply but atleast try
Reply
#5

Offtopic: (JOKE) Are the supposed to sit? LAWL
Reply
#6

Quote:
Originally Posted by Niixie
Посмотреть сообщение
Offtopic: (JOKE) Are the supposed to sit? LAWL
mate dont do that your just trying to boost your posts
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)