![]() |
Rar @ 1,000 onActions!
Ok, im working on a Inventory but Ive encountered somewhat of a *problem*. Let me show you:
PHP Code:
Is there another way to make it check if an icon is pressed rather then doing like this for each slot: PHP Code:
I just HATE alot of basicly exactly the same functions! |
Quote:
PHP Code:
Example: PHP Code:
|
Napo, I think I might love you! ;o
|
It might also be easier if you assign a variable to the object containing the number of the control.
For example: PHP Code:
|
| All times are GMT +2. The time now is 10:38 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.