Custom Inventory
Custom Inventory
v1.0 This inventory works pretty much as the default Graal inventory does. It displays NPCs that doesnt start with "-", and by doubleclicking on a weapon you select it. 'Sub-Folders' will be implemented in the next version, if requested. Theres only ONE thing that doesnt work properly in it, selected a weapon. For some reason, it doesnt always selected the proper weapon. Example: Player doubleclicks on the weapon "Staff/Boots" and it gets equipped properly. Player then tries to doubleclick the weapon "Tailor", and that too works. Finally, player tries to equip the weapon "Skateboard", but "Tailor" gets equiped instead! Id be so-so happy if someone would be able to solve that bug, I havent been able too. But other then that, its all good to go! Installing When adding the NPC, it can be named pretty much anything you want BUT it HAVE to start with a "-"! If it doesnt, it wont work properly. PHP Code:
Enjoy! |
error: unexpected symbol "" at line 35: function onActionClientSide("",weaps,imgs)
okay i tried making it ("",weaps,imgs) so i think the problem is that actionclientside isint a real function |
PHP Code:
|
Quote:
Clearly just do: PHP Code:
|
Quote:
|
Quote:
|
Oh my god, did I make this piece of junk? :noob:
|
Quote:
<@Logan> I spent a minute looking at my own code by accident. <@Logan> I was thinking "What the hell is this guy doing?" :D |
but when i add iether one of those i get
Script: Function enablefeatures not found at line 12 in script of -inv <b>Script: Function Inventory_Window0.destroy not found at line 14 in script of -inv just trying to help the people that dont know what to do |
Quote:
|
Quote:
Add //#CLIENTSIDE to the top after the serverside stuff if it's missing. Also check that it's capitalized and doesn't have a space or something after it. |
Quote:
Quote:
sig'd :D |
will someone please send me the whole script in forum pm? this is extremely useful and its not working for me
got it |
Quote:
|
Vega United's lookin' good!
|
All times are GMT +2. The time now is 08:50 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.