SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 02/08/2020, 10:39 AM   #1
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 694
Reputation: 63
Default Npc driver is lagging

Why are npc drivers so lagging when they ride?
For example, they suddenly go into the water and then return to the road, or sometimes hit walls and something...
Does anyone have experience? Is there a way to fix it?
I use normal npc script.
xRadical3 is offline   Reply With Quote
Old 04/08/2020, 08:29 AM   #2
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 694
Reputation: 63
Default Re: Npc driver is lagging

bump...
Will this be resolved if I use FCNPC plugin?
xRadical3 is offline   Reply With Quote
Old 04/08/2020, 09:22 AM   #3
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 637
Reputation: 64
Default Re: Npc driver is lagging

Does it happen on local server or hosted?
Does it happen also with NPC scripts bundled with server installation?
__________________
coool is offline   Reply With Quote
Old 04/08/2020, 11:28 AM   #4
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 694
Reputation: 63
Default Re: Npc driver is lagging

Quote:
Originally Posted by coool View Post
Does it happen on local server or hosted?
Does it happen also with NPC scripts bundled with server installation?
Both, localserver and hosted.
I just have a NPC script.
xRadical3 is offline   Reply With Quote
Old 04/08/2020, 02:39 PM   #5
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 637
Reputation: 64
Default Re: Npc driver is lagging

does it happen with NPC scripts already in npcmodes folder like at400_ls at400_lv
maybe try rerecording the NPC.
__________________
coool is offline   Reply With Quote
Old 04/08/2020, 06:47 PM   #6
NaS
High-roller
 
NaS's Avatar
 
Join Date: Mar 2008
Location: 🇩🇪
Posts: 1,801
Reputation: 635
Default Re: Npc driver is lagging

If you are laggy while recording, it will appear in the recording as well.
For the best results, record in an otherwise empty local server.
NaS is offline   Reply With Quote
Old 08/08/2020, 03:30 PM   #7
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 694
Reputation: 63
Default Re: Npc driver is lagging

Sorry for reply after 4 days.
I record again in a empty local server but still same, with do this I feel that the lag has decreased a bit.
Another solution?

Quote:
Originally Posted by coool View Post
does it happen with NPC scripts already in npcmodes folder like at400_ls at400_lv
maybe try rerecording the NPC.
I tested at400_lv.rec but not have lags...
xRadical3 is offline   Reply With Quote
Old 10/08/2020, 04:28 PM   #8
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 694
Reputation: 63
Default Re: Npc driver is lagging

Bump...
xRadical3 is offline   Reply With Quote
Old 10/08/2020, 04:44 PM   #9
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 637
Reputation: 64
Default Re: Npc driver is lagging

maybe check for resources usage like cpu, ram etc?
try recording again after a reboot.
__________________
coool is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lagging Exynos Client Support 33 23/02/2016 07:20 AM
Getting vehicle driver seat (or even driver door) position? Aerotactics Scripting Help 5 24/02/2015 12:32 PM
GTA SA Lagging? Kritik Everything and Nothing 11 31/01/2015 12:52 AM
SA:MP Lagging Lor_Danielle07 Client Support 6 08/04/2012 02:32 PM
NPC is lagging BloodyEric Help Archive 13 13/09/2009 08:34 PM


All times are GMT. The time now is 11:15 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.