Jump to content
  • 0

[Cerere]Problema NPC



Nick: Abramovic

Problema: Salutare am o problema legata de NPC-uri si nu stiu cum sa o rezolv. Inainte sa apara sa-mp 0.3z cand un jucator se punea in fata autobuzului il ocolea sau nu pornea din loc sau daca o masina statea in fata autobuzului il ocolea.. ori daca insistai isi dadea un fel de teleport si isi continua drumu(.rec). Asta a fost inainte de 0.3z acuma de ce nu mai merge? Ce trebuie sa fac ?

Erori / warnings: nu exista

Lini/script: nu exista

Ai incercat sa rezolvi singur ?: Da, am cautat functii ceva de la NPC insa nimic...

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Da, acesta este scriptul pentru NPC :).


#define RECORDING "bus" //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>


public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);


  public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);

  public OnNPCExitVehicle() StopRecordingPlayback();


  public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);


Iar in gamemode - conectarea lor .

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.