![]() |
Classes.
Can a class be joined CLIENTSIDED? If im not completely wrong, Ive done it many times on GS1 but I just cant get it to work in GS2 (serverside it works).
|
A clientside segment of a class can be joined clientside, where a serverside segment can be joined serverside.
NPC Code:function onCreated() |
You can also do:
join( "class"); //#CLIENTSIDE function onCreated() { class::functionhere( params); } and inside the class you do function functionhere( params) { player.chat = params; } Might be more organized, so if you have a few joined classes, you know exactly at what one to look to modify or look up the function's script. |
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 02:14 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.