Help Again
#7

As FUNExtreme explained, you are not actually using the variable, you are just creating it and assigning a variable to it. At the moment, it is useless, as you never reference it at a later point. Unless you plan to use the variables at a later point, such as at OnPlayerPickUpPickup, then you can delete the variable and where you assign it to the CreatePickup lines. Do not simply change the function to remove the warnings, you are just wasting memory. It is not a big deal with this snippet, but if you are using those techniques in a bigger script, it could cause problems.
Reply


Messages In This Thread
Help Again - by kaloqn54 - 05.07.2012, 21:47
Re: Help Again - by .FuneraL. - 05.07.2012, 21:50
Re: Help Again - by kaloqn54 - 05.07.2012, 21:52
Re: Help Again - by kaloqn54 - 05.07.2012, 22:01
Re: Help Again - by FUNExtreme - 06.07.2012, 00:01
Re: Help Again - by kaloqn54 - 06.07.2012, 06:44
Re: Help Again - by Grim_ - 06.07.2012, 06:51

Forum Jump:


Users browsing this thread: 1 Guest(s)