UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch
broken avatar :(

sanya_rnd

Posts
2
Respect
0
Forum Rank
Fresh Corpse
Primary Group
Member

Forum Stats

More Stats
Date Registered
July 07, 2014, 09:08:49 pm
Posts
2 (0.001 per day)
Last Active
August 11, 2015, 02:05:32 pm

Forum Profile

Profile Link
Country
ru
Local Time
April 18, 2024, 12:19:35 pm
It's simple as it is.

Just make class and put vars in it like:
Code Snippet
Plaintext
class <MyClass>():
    <var1> = <val1>
    ... etc
then just use it <MyClass>.<var1>

for structs it's pretty simple:
[code]clas...
10 years ago
Script seems to work, but source looks terrible. You have to read about structs at least. It's just a pain to see avoiding OOP in languange that mostly rely on it.
10 years ago
Loading ...