![]() |
Clientside classes
Could tell me how to call a clientside function in a class joined to the player?
For example, I want to join a class that has a bunch of math functions to a player when they log on. I can make it join and such, but it won't let me call the functions. I know it's possible, since I've done it before and seen it done before.. NPC Weapon NPC Code: Class NPC Code: |
in the class, I think you need
//#CLIENTSIDE not too sure, but, by looking over loriel's scripts, most of his classes have the same functions done serverside and clientside. Example: NPC Code: Not sure if you've already tried that, but, I don't have access to an NPC-server, and it's been 2+ years since I've messed around with classes. |
Sorry, I forgot to put the clientside in.
The function isn't being called at all. :/ I've tried having it in both the clientside and serverside, but it didn't make a difference.. Anyone know? |
is this GS2?
|
Quote:
|
Ugh good that he works for me :)
|
| All times are GMT +2. The time now is 11:50 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.