Snow. - 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: Snow. (
/showthread.php?tid=622881)
Snow. - iLearner - 27.11.2016
I am thinking about covering san fierro with snow on my friend's server, but i had a question... would it lag much?
These are my vps' specs:
PHP код:
2 CPU, 2.5+ GHz Processor
2 GB Ram
120 GB SSD Disk
Transfer Unlimited
1 Gbps Connection
Well he upgraded from 1gb to 2gb just for snow... also the script is badly optimized / scripted.
And any ideas about how to cover only san fierro with snow & not all of cities?
Re: Snow. -
Threshold - 27.11.2016
https://sampwiki.blast.hk/wiki/CreatePlayerObject
https://sampwiki.blast.hk/wiki/AttachPlayerObjectToPlayer
https://sampwiki.blast.hk/wiki/DestroyPlayerObject
Just attach the object when they enter the city. Then you only have 1 (player) object for each player in the city.
Re: Snow. - iLearner - 27.11.2016
Consider me an ignorant, could you go in a bit details?
Edit: i dont mean snow as rain, i mean snow on roads.
Re: Snow. -
SickAttack - 27.11.2016
It will delay loading (such as loading the exterior after exiting a building, teleporting, etc. - that can be considered as lag), and you have to increase the ackslimit setting.
The chance of getting desynced is also a tad higher.
Re: Snow. - iLearner - 27.11.2016
I mean... come on dude, 2gb ram & 2 CPU, 2.5+ GHz Processor cant handle that shit?
Re: Snow. - iLearner - 27.11.2016
Would this one lag? and is it well made?
https://sampforum.blast.hk/showthread.php?tid=595917
Re: Snow. -
SickAttack - 27.11.2016
The system has nothing to do with it. Even test it.
Re: Snow. - iLearner - 27.11.2016
Could you suggest some good tut / FS to start from with this snow thing? and how much do i to acklimit to?