[Problema] NPC Motorista
#1

Pessoal, hoje fiz um bot para que faзa uma linha de busгo por LS, mais o problema й, O BIXO FDP NГO Й SETADO PRO BUSГO NEM FUDENDO!!!!!!!

Jб tentei com outros arquivos de gravaзгo.

pawn Код:
#define RECORDING "rota1" //This is the filename of your recording without the extension.
#define RECORDING_TYPE 1 //1 for in vehicle and 2 for on foot.

#include <a_npc>
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);

#if RECORDING_TYPE == 1
  public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
  public OnNPCExitVehicle() StopRecordingPlayback();
#else
  public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
#endif

OnGameModeInit:

pawn Код:
ConnectNPC("Motorista1","buzao1");

    NPCrota1 = AddStaticVehicle(437,1782.98864746,-2025.30139160,13.85988808,180.75000000,-1,-1); //Coach
OnPlayerSpawn:

pawn Код:
if(IsPlayerNPC(playerid))
    {
        if(!strcmp(Nome, "Motorista1", true))
        {
            PutPlayerInVehicle(playerid, NPCrota1, 0);
        }
     }
Reply


Messages In This Thread
[Problema] NPC Motorista - by Lуs - 27.08.2011, 02:36
Re: [Problema] NPC Motorista - by [AF]Junior - 27.08.2011, 02:37
Re: [Problema] NPC Motorista - by Lуs - 27.08.2011, 02:39
Re: [Problema] NPC Motorista - by [AF]Junior - 27.08.2011, 02:49
Re: [Problema] NPC Motorista - by WLSF - 27.08.2011, 02:53
Re: [Problema] NPC Motorista - by Lуs - 27.08.2011, 02:53
Re: [Problema] NPC Motorista - by Allan Kardec - 27.08.2011, 02:54
Re: [Problema] NPC Motorista - by Lуs - 27.08.2011, 02:56
Re: [Problema] NPC Motorista - by [AF]Junior - 27.08.2011, 03:01
Re: [Problema] NPC Motorista - by Lуs - 27.08.2011, 03:04

Forum Jump:


Users browsing this thread: 6 Guest(s)