![]() |
Player classes
I am having trouble with player classes. I have asked many people, but they can't seem to find out whats wrong.
Heres my test scripts: class 'playert1': PHP Code:
PHP Code:
And it still didnt work. The problem is the class isnt being joined... And idk why not, when I echo player.joinedclasses it only echoes startgui, So, i'm not sure why the class isnt being joined. Any help? |
use
HTML Code:
this.join("playert1"); |
Quote:
PHP Code:
Your functions need to be public though I think, and yeah, they tend to be so much more useful on the serverside. |
Well, the function in the class is public, I just didnt add that cause....idk why. sorry >_<
I join the class when th eplayer logs in, I echo joined classes, nothing.... So, idk why the class istn joining. |
| All times are GMT +2. The time now is 10:08 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.