about IsPlayerConnect VS PlayerArray.
#5

Like nero said getting a value from a variable will always be faster than calling functions. Functions (most of em) do checks then (in this case) return a value. Using a var would cut the checks out, and get the value straight away. Though i dont know how OnPlayerConnect works internally.

Just use what you preffer it wont realy make a difference (just a small one) anyway.
Reply


Messages In This Thread
about IsPlayerConnect VS PlayerArray. - by VivianKris - 11.06.2011, 12:58
Re: about IsPlayerConnect VS PlayerArray. - by shitbird - 11.06.2011, 13:15
AW: about IsPlayerConnect VS PlayerArray. - by Nero_3D - 11.06.2011, 13:58
Re: about IsPlayerConnect VS PlayerArray. - by VivianKris - 11.06.2011, 16:17
Re: about IsPlayerConnect VS PlayerArray. - by iggy1 - 11.06.2011, 17:01
Re: about IsPlayerConnect VS PlayerArray. - by VivianKris - 12.06.2011, 02:26

Forum Jump:


Users browsing this thread: 1 Guest(s)