Question about Variables
#9

Oh my fck sides

Quote:
Originally Posted by SEnergy
if you create new variable with same name it will remember it's value from previous declaration, therefore you don't need to have global variables but you can create static variables everytime you want to use them
Mr SEnergy, you just won the contest for most retarded sentence in the history of the Internet!

https://sampwiki.blast.hk/wiki/Scripting_Basics#Scope - read this. Once, twice, or even infinite times, I don't care - just as much as you need to understand basic concept of scope and the word "local". When you get this right, you can start helping others.

End of rant
Reply


Messages In This Thread
Question about Variables - by CoDeZ - 02.08.2012, 11:17
Re: Question about Variables - by SEnergy - 02.08.2012, 11:18
Re: Question about Variables - by CoDeZ - 02.08.2012, 11:22
Re: Question about Variables - by SEnergy - 02.08.2012, 11:24
Re: Question about Variables - by Dan. - 02.08.2012, 11:25
Re: Question about Variables - by oKzrh - 02.08.2012, 11:25
Re: Question about Variables - by CoDeZ - 02.08.2012, 11:27
Re: Question about Variables - by oKzrh - 02.08.2012, 11:31
Re: Question about Variables - by Misiur - 02.08.2012, 11:45

Forum Jump:


Users browsing this thread: 3 Guest(s)