Quote:
Originally Posted by .Dare Devil.
Well, yes you see many stupid things posted by me but its stupid because you dont understand me and i cant explain well.
And also my logic is weird for ohter peoples.
edit: also sometimes, i just dont understand what they say to me.
Its not because i have very bad english, I did not focused enough.
uhhh, all i want to do is use variables named in function like a,b,c,f etc...
if the global variable name is long and your function code is long then you lose time by writing every time that long variable name.
for example ( new g_flashlightcolor[33][3] )
there is possible to change global variable to shorter name but the thing is, i dont understand later what this is or what can happen is that 2 variables have the same name.
I try to avoid that.
If you know how to zp work then you see that the creator of it did 9 or more plugins for one mod.
What i do is that my mod will be just 1 sma but with parts ( many .inc-s )
Also each .inc code have different variable tag.
This is just an idea.
|
Are you talking about it being difficult to write descriptive variables ? That's like programmers 101. Lol you write a bauble to be as descriptive ad possible so you and other people know what your talking about. As for globals.
They may be defined outside of a function to be used as a global other wise it is a local variable available inside of that function only. Both are good and can be just as long. Shop not sure what your problem is.