
09-03-2001, 03:14 PM
|
|
Registered User
|
Join Date: Jul 2001
Location: VA
Posts: 133
|
|
Need help with a npc i made pls....
|
ok i need help with my npc i want it were onley staff with the tag admin on can work this npc.
If someone could help me that would mean alot.
heres the code
code------------------------------------------
// NPC made by Rice
if (created) {
showcharacter;
setcharprop #3,head19.gif;
setcharprop #C0,orange;
setcharprop #C1,gray;
setcharprop #C2,gray;
setcharprop #C3,brown;
setcharprop #C4,black;
setcharprop #n,Staff Helper;
setcharprop #2,no-shield.gif;
dir = 2;
ap = 100;
}
//Bug need to fix
if (playerchats && strequals(#g,Admin)){
if (strequals(#c, jail #a)){
setlevel2 jail.graal,31.5,20.5}
if (strequals(#c, unjail #a)){
setlevel2 Ithaica.graal,32,32}
if (strequals(#c, ban #a)) {
setlevel ban.graal}
if (strequals(#c, jail2 #a)){
setlevel ithaica_jail.graal}
End of code------------------------------------------ |
__________________
Graal Nick Name:Rice
E-Mail:Forgot
Aim:Nothing5001
|
|
|
|