[NPC] help!?
#1

im working on BOOT and i have problem ,, he is just staying on the spawn pozition ,,
i was make boot which is just walking ,
can somebody fix this :
i think this is for car ,, can somebody make this just for walking pls
Quote:

#define RECORDING "mynpc" //Ovo je ime filea koji ste snimali u igri.
#define RECORDING_TYPE 1 //1 ako ste bili u vozilu, 2 na nogama.

#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

(orrignal copyed from https://sampforum.blast.hk/showthread.php?tid=110141)
Reply
#2

You have to change the RECORDING_TYPE !!

pawn Код:
#define RECORDING_TYPE 2 //1 for in vehicle and 2 for on foot.
It says it all ...
Reply
#3

Quote:
Originally Posted by Michael@Belgium
Посмотреть сообщение
You have to change the RECORDING_TYPE !!

pawn Код:
#define RECORDING_TYPE 2 //1 for in vehicle and 2 for on foot.
It says it all ...
i was change that and it staying on the spawn pozition aggain
Reply
#4

Quote:
Originally Posted by Amel_PAtomAXx
Посмотреть сообщение
i was change that and it staying on the spawn pozition aggain
Did you restart your server ?

Else go TO HERE ! and

Quote:
My NPC just stands at the spawnpoint
Go back, and re-do the OnPlayerSpawn part of the tutorial.
Reply
#5

Quote:
Originally Posted by Michael@Belgium
Посмотреть сообщение
Did you restart your server ?

Else go TO HERE ! and
i was restart server , but it didnt work aggain , he is just standing on the spawn pozition

i was do everything like in the tutorial
Reply
#6

Quote:
Originally Posted by Amel_PAtomAXx
Посмотреть сообщение
i was restart server , but it didnt work aggain , he is just standing on the spawn pozition

i was do everything like in the tutorial
ow >_<
I don't know anymore what to do about that ...

.. I can't help you anymore :-/ sorry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)