SA-MP Forums Archive
samp-npc issue / question - 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)
+--- Thread: samp-npc issue / question (/showthread.php?tid=624483)



samp-npc issue / question - iLearner - 17.12.2016

Hello, i have kinda 40 npcs at my server, but i noticed there are 40 "samp-npc" processes running on the vps aswell, is that normal? server lags like like a shit after we added those (i am not 100% sure they are causing it).

tho i have 2gb server ram.


Re: samp-npc issue / question - Vince - 17.12.2016

Yes, every NPC spawns a new process. They are essentially clients connecting to the server. If the NPCs are for decoration purposes and have no specific purpose then use actors instead.


Re: samp-npc issue / question - iLearner - 17.12.2016

Is there a way to check cpu / ram usage for linux?

Players keep time outing, and i have no clue of what is causing it... i removed some things, but still it doesnt....

Some players get hanged on connect (kicking x cuz they didnt logon...) and some manage to join but its slow.

Server version is 0.3x-r2