[NPC] help!? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [NPC] help!? (
/showthread.php?tid=245147)
[NPC] help!? -
Amel_PAtomAXx - 30.03.2011
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)
Re: [NPC] help!? -
Michael@Belgium - 30.03.2011
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 ...
Re: [NPC] help!? -
Amel_PAtomAXx - 30.03.2011
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
Re: [NPC] help!? -
Michael@Belgium - 30.03.2011
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.
|
Re: [NPC] help!? -
Amel_PAtomAXx - 30.03.2011
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
Re: [NPC] help!? -
Michael@Belgium - 30.03.2011
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