![]() |
Weapons -IRC -Playerlist etc
I'm trying to make a Q Menu, but when I categorize the weapons then try displaying them, I always get shown these (in this order)
Quote:
|
PHP Code:
|
Quote:
PHP Code:
|
Quote:
|
Yeah I've got this in
PHP Code:
Edit: Ok so I tried this PHP Code:
PHP Code:
|
Quote:
Just wondering. Substring was the first thing that popped into my head that would have worked, so thanks for that. Quote:
|
Quote:
|
Quote:
|
Quote:
|
Should be obj.name.starts("-") and "this.systemweapons.index(temp.checkweapon.nam e) < 0"
|
I don't quite catch what you mean... what am I meant to do with the obj.name.starts("-")?
|
Your problem is that you are using temp.variables in a function. temp.variables only exist during a single execution, and are only in the scope of where you create them, I believe.
Change the temp.playeractualweapons to this. and it should work. (Except in the new GuiBlah() you must use 'thiso.' instead of 'this.') |
| All times are GMT +2. The time now is 06:28 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.