PDA

View Full Version : needhelp i got my serveronline who knows how to make it so only admin+ can spawn item



gooby165
July 10th, 2010, 09:41
hello i need some 1 to make it so only admins + can spawn items

Break
July 10th, 2010, 09:41
deob? base? detials? information?

Canownueasy`
July 10th, 2010, 09:41
Post your "item" or "pickup" command :p

Canownueasy`
July 10th, 2010, 09:42
deob? base? detials? information?

What matter is it if his/her client is deobd?

Break
July 10th, 2010, 09:43
Sorry for double post because I have to go.
317:

if (c.playerRights == 2) {

508:

if (p.rights == 2) {

Canownueasy`
July 10th, 2010, 09:45
Sorry for double post because I have to go.
317:

if (c.playerRights == 2) {

508:

if (p.rights == 2) {
How do you know if his rights is done differently? Like what if you use an enum for your rights...

Also:

if(non true) {
return;
}

Break
July 10th, 2010, 09:46
How do you know if his rights is done differently? Like what if you use an enum for your rights...

Also:

if(non true) {
return;
}

Haha, Every one can edit thier rights, not big deal.
And you code is messy and worng.

Canownueasy`
July 10th, 2010, 09:48
Haha, Every one can edit thier rights, not big deal.
And you code is messy and worng.

Actually yours is. If it's just a simple command you will want to return back since you shouldn't continue. It creates less bracket-following : easier to read.

gooby165
July 10th, 2010, 16:02
lock thread please and thank you canownueasy