if(item==pringidhere && playerRights==0){
sM("You're not aloud to wear this");
equip==false;
}
Declare some stuff, good luck.
|
|

if(item==pringidhere && playerRights==0){
sM("You're not aloud to wear this");
equip==false;
}
Declare some stuff, good luck.

Ummmm ..... Yea, im a noob at coding, and Idk what ur talking about please break it down for me.?
---------- Post added at 02:52 AM ---------- Previous post was at 01:05 AM ----------
Anyone else?

find one of your command like "master" "switch" ...
and under the last bracket add:
replace ## with the ring idCode:if(item==## && playerRights==0){ sM("You're not aloud to wear this"); equip==false; }
btw a bracket its "}"
-Sigh- Here is easiest way i think.
Search forIn client.java.Code:if(wearID == 6570 && killedJad == 0){
You should see somthing liek thisUnder the last BracketCode:if(wearID == 6570 && killedJad == 0){ sM("You must have defeated TzTok-Jad to wear this cape."); return false; }} is bracket.Code:}
post your item requirments crap.
You can have requirments like donator, energy bla bla, Just play around with it i dont wanna spoon feed 2 much.
By the way thats tested on delta, so if you dont got delta then i dunno =P, i figured this out like 6 months ago playing around adding donation items teleports stuff.
Here i make code for you
I already showed you where to add if it delta.Code:if(wearID == PRINGID && playerRights == 0){ sM("You must be a Moderator Or higher to wear this ring!"); return false; }
Post error, you shouldnt get error tho... if you do, Quit trying to make it now =P
Last edited by Austin_; 04-27-2009 at 05:12 AM. Reason: Delta
searched for
if(wearID == 6570 && killedJad == 0){
And nothing came up, this is ALLSTARSCAPE source code.
Is allstarscape Deltascape?
test for noobs, Does it use sendMsg, sM, Or sendMessage?
in client.java search for sM or sendMessage.
Delta = sM
Other stuff = sendMsg, sendMessage
---------- Post added at 11:21 PM ---------- Previous post was at 11:18 PM ----------
Soz you taking to long sleep time bye.
| « need coder can pay | paying for x log fix or repping. » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
| Tags for this Thread |