![]() |
Joining players to classes
One quick question, if you used a this.var in a player joined class, would the script that called the player.function() be referred to as this?
I'll test it later, but gtg. If ne1 can answer, thx. |
I'm not sure I understand the question, but in a player-joined class, this. effectively becomes the player's object.
|
Quote:
|
Quote:
|
So I'm guessing you have to pass the calling object as a parameter?
|
Yes you would need to pass the calling object
|
Quote:
|
| All times are GMT +2. The time now is 03:02 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.