View Single Post
  #1  
Old 09-03-2001, 03:14 PM
RICEJERRRY4 RICEJERRRY4 is offline
Registered User
Join Date: Jul 2001
Location: VA
Posts: 133
RICEJERRRY4 is on a distinguished road
Send a message via AIM to RICEJERRRY4
Unhappy 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

Reply With Quote