NPC Bug.. Its always teleport to other NPC - 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 Bug.. Its always teleport to other NPC (
/showthread.php?tid=96084)
NPC Bug.. Its always teleport to other NPC -
_Ben_[Fux-c.co.il RP] - 06.09.2009
I have 3 NPCs on my mode.
I had 2 NPCs, and then I create more one.
After I create the 3 The last NPCs (2, 3) Start bugged.
( 1 = Police patrol, 2 = Bus , 3 = Bus too )
Sometimes they teleport to the Police Patrol NPC, and sometimes just standing.
All npcs I did they will drive in vehicle.
At the start, all npcs start driving , and then after 20 secondes they got bugged.
I use LARP.
Thank you for help
Sorry for my bad english.
Re: NPC Bug.. Its always teleport to other NPC -
_Ben_[Fux-c.co.il RP] - 06.09.2009
Somebody?
Re: NPC Bug.. Its always teleport to other NPC -
FUNExtreme - 06.09.2009
I have 5 in one small area without problems. Gotta be your script
Re: NPC Bug.. Its always teleport to other NPC -
_Ben_[Fux-c.co.il RP] - 06.09.2009
But what there is in my script?
Thats what I am asking.
Something makes that happen, And I want to know what
Re: NPC Bug.. Its always teleport to other NPC -
FUNExtreme - 06.09.2009
Maybe your script in npcmodes thats controls the bot aint correct?
Follow the NPC tutorial by kc
Re: NPC Bug.. Its always teleport to other NPC -
V1ceC1ty - 06.09.2009
make sure the npcmodes have a different recording
pawn Код:
#define RECORDING ".rec file" // without extension
#define RECORDING_TYPE 1 //1 for in vehicle and 2 for on foot.
#include <a_npc>
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();
Re: NPC Bug.. Its always teleport to other NPC -
_Ben_[Fux-c.co.il RP] - 06.09.2009
I have 3 NPC, I know all what I did is correct.
I am saying, After I created the 3 NPC, Thats start bugged
Re: NPC Bug.. Its always teleport to other NPC -
_Ben_[Fux-c.co.il RP] - 06.09.2009
Quote:
Originally Posted by V1ceC1ty
make sure the npcmodes have a different recording
pawn Код:
#define RECORDING ".rec file" // without extension #define RECORDING_TYPE 1 //1 for in vehicle and 2 for on foot.
#include <a_npc> main(){} public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING); public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING); public OnNPCExitVehicle() StopRecordingPlayback();
|
Do you think I stupid? :S
Re: NPC Bug.. Its always teleport to other NPC -
V1ceC1ty - 06.09.2009
that is the only way i can think of that an NPC is teleporting to another NPC
Re: NPC Bug.. Its always teleport to other NPC -
_Ben_[Fux-c.co.il RP] - 06.09.2009
Quote:
Originally Posted by V1ceC1ty
that is the only way i can think of that an NPC is teleporting to another NPC
|
But its realy happen!
I dont know why!
Sometimes they are just out of the vehicle ,
And sometimes they are just teleporting to the First NPC I created!