SA-MP Forums Archive
Quien me crea un n.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Quien me crea un n.. (/showthread.php?tid=343060)



Quien me crea un n.. - lMerlinl - 16.05.2012

Quien me crea un npc, solo em falta el codigo pwn algo asi

Lo que no puedo completar es el codigo:

#define RECORDING "merl" //Este es el nombre del archivo que grabaron in game
#define RECORDING_TYPE 1 //1 = en vehiculo 2= caminando

#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

este codigo hay que editarlo, lo que namas eh puesto es el nombre del archivo. merl el type 1 que es que esta en un carro y lo demas nose como ..


Respuesta: Quien me crea un n.. - El Bardo - 16.05.2012

https://sampforum.blast.hk/showthread.php?tid=148800 нndice de tutoriales
https://sampforum.blast.hk/showthread.php?tid=108798 agregar NPC a RP
https://sampforum.blast.hk/showthread.php?tid=160428 crear NPC con funciones
https://sampforum.blast.hk/showthread.php?tid=311505 crear NPC

no esperes que te hagan todo..