NPC SPAWNS AND STANDS [HELP]
#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


Messages In This Thread
NPC SPAWNS AND STANDS [HELP] - by vakhtang - 22.10.2010, 14:38
Re: NPC SPAWNS AND STANDS [HELP] - by boelie - 22.10.2010, 17:43
Re: NPC SPAWNS AND STANDS [HELP] - by Badger(new) - 22.10.2010, 19:01
Re: NPC SPAWNS AND STANDS [HELP] - by pushingmyluck - 22.10.2010, 19:13
Re: NPC SPAWNS AND STANDS [HELP] - by Niixie - 22.10.2010, 20:32
Re: NPC SPAWNS AND STANDS [HELP] - by pushingmyluck - 22.10.2010, 20:44

Forum Jump:


Users browsing this thread: 1 Guest(s)