i dont think the ints are like that
i think the ints are normal with the class8. take out and sted of if(i = *****) its case *****;
|
|

Code:.\ItemDef.java:228: non-static method actionData(int,java.lang.String) cannot be referenced from a static context actionData(5, "Wield"); ^ .\ItemDef.java:229: non-static method itemData(java.lang.String,java.lang.String ) cannot be referenced from a static context itemData("Statius's Warhammer", "It's a Statius's Warham mer."); ^ .\ItemDef.java:230: non-static method models(int,int,int,int,int) cannot be refe renced from a static context models(42577, 42623, 42623, -1, -1); ^ .\ItemDef.java:231: non-static method modelData(int,int,int,int,int) cannot be r eferenced from a static context modelData(1360, 507, 27, 6, 7); ^ 4 errors Jatka painamalla mitä tahansa näppäintä . . .
yet I've got another problem.. for some reason... female models wont load.


i dont think the ints are like that
i think the ints are normal with the class8. take out and sted of if(i = *****) its case *****;

its not case.
I'm using the old style.
also, Galkon posted a tut with this format in it before.

alright, it's saying you're not calling the method correctly. You have to call it like so.
There ya goCode:case 13902: itemDef.actionData(1, "Wield"); itemDef.itemData("Statius's Warhammer", "Statius's Warhammer, a reward from PVP."); itemDef.models(42577, 42623, 42623, -1, -1); itemDef.modelData(1360, 507, 27, 6, 7); break;![]()


ahh, Galkon sorry for that >.> I didn't realise i'd have to call it from the class I'm using at the moment lawl. sorry.


| « Equiping items | Need some experienced help » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |