![]() |
join() & public function
Cant say im a bad scripter, yet several threads in this "scripting help" forum has been created by me lately..
Anyways, Ive been trying to get a public function to work - without success. Example on class (named "className" in this test): PHP Code:
Example on Control-NPC: PHP Code:
Example on Weapon: PHP Code:
If you can tell me what im doing wrong/tell me how to do it properly - I would greatly appriciate it. |
Inside player.join'd classes, it is best to refer to the player using this., so:
PHP Code:
|
Quote:
Quote:
|
| All times are GMT +2. The time now is 12:04 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.