Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripts with AddLocalVarInt
Bridge Offline
Posting Freak

Posts: 1,971
Threads: 25
Joined: May 2012
Reputation: 128
#4
RE: Scripts with AddLocalVarInt

Well I don't know what's wrong with your script but seeing as integers generally take up 4 bytes and Boolean variables only 1 you save a whole bunch of space that otherwise goes towards doing nothing. A good general rule of thumb is to use as few resources as you possibly can to achieve what you want. Doesn't do anything to make your code more functional, just more efficient.
(This post was last modified: 06-12-2013, 10:00 PM by Bridge.)
06-12-2013, 09:59 PM
Find


Messages In This Thread
Scripts with AddLocalVarInt - by Neelke - 06-12-2013, 08:08 PM
RE: Scripts with AddLocalVarInt - by Bridge - 06-12-2013, 09:14 PM
RE: Scripts with AddLocalVarInt - by Neelke - 06-12-2013, 09:30 PM
RE: Scripts with AddLocalVarInt - by Bridge - 06-12-2013, 09:59 PM
RE: Scripts with AddLocalVarInt - by Adrianis - 06-13-2013, 12:25 PM
RE: Scripts with AddLocalVarInt - by Bridge - 06-13-2013, 10:09 PM



Users browsing this thread: 1 Guest(s)