[ajuda]npc
#5

Quote:
Originally Posted by Ambrуsio
Quote:
Originally Posted by tshadow
pawn Код:
#include <a_samp>

#define RECORDING "meunpc" //Este й o nome do seu arquivo de gravaзгo, sem a extenзгo(.rec).
#define RECORDING_TYPE 2 //1 para gravaзхes em veнculo e 2 para gravaзхes apй.

#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
Retire o #include <a_samp> e compile
Nгo prescisa retirar, escrevve por baixo de #include <a_samp> o seguinte:


pawn Код:
#include <a_npc>

Se nгo tiver essa include (duvido mt que nao tenha), baixa ela e mts mais aqui:

http://forum.sa-mp.com/index.php?topic=165226.0
Reply


Messages In This Thread
[ajuda]npc - by tshadow - 01.05.2010, 10:15
Re: [ajuda]npc - by andmeida10 - 01.05.2010, 11:16
Re: [ajuda]npc - by tshadow - 01.05.2010, 14:00
Re: [ajuda]npc - by Ambrуsio - 01.05.2010, 14:16
Re: [ajuda]npc - by andmeida10 - 01.05.2010, 14:24
Re: [ajuda]npc - by Ambrуsio - 01.05.2010, 14:28
Re: [ajuda]npc - by andmeida10 - 01.05.2010, 14:29
Re: [ajuda]npc - by tshadow - 01.05.2010, 14:38
Re: [ajuda]npc - by Ambrуsio - 01.05.2010, 14:46
Re: [ajuda]npc - by andmeida10 - 01.05.2010, 14:55

Forum Jump:


Users browsing this thread: 1 Guest(s)