Need help to make code short and better..
#10

I'd just like to explain something too. Use OnPlayerUpdate for the really vital stuff. For example for me I only have SetPlayerHealth and SetPlayerArmour to their server-side health & armour (anti hp/armour hacks). Nothing else. OnPlayerUpdate is called a few times every seconds for players. Of course if you take a look at what you've got there I'm sure you'll know now that calling all that code a few times within a second will start to cause lag, and some code will not be complete before it starts again.
Reply


Messages In This Thread
Need help to make code short and better.. - by MBilal - 10.02.2015, 16:30
Re: Need help to make code short and better.. - by Sime30 - 10.02.2015, 16:33
Re: Need help to make code short and better.. - by MBilal - 10.02.2015, 16:35
Re: Need help to make code short and better.. - by Sime30 - 10.02.2015, 16:41
Re: Need help to make code short and better.. - by MBilal - 10.02.2015, 16:50
Re: Need help to make code short and better.. - by danish007 - 10.02.2015, 16:58
Re: Need help to make code short and better.. - by MBilal - 10.02.2015, 17:17
Re: Need help to make code short and better.. - by Sime30 - 10.02.2015, 17:22
Re: Need help to make code short and better.. - by MBilal - 10.02.2015, 17:23
Re: Need help to make code short and better.. - by DanishHaq - 10.02.2015, 17:29

Forum Jump:


Users browsing this thread: 5 Guest(s)