View Single Post
  #8  
Old 08-24-2002, 02:37 AM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Quote:
Originally posted by emortylone
He he. 1st off the earlier post on this ACC was NOT me... I've been staff REPEATEDLY on Pw's w/ NPC Servers =) (this is Projectshifter btw)
I think that coding is that great x.X how about this:
NPC Code:

if (actionplayeronline)
{ for (i=0;i<allplayerscount;i++)
{ with (allplayers[i])
{ if (strequals(#F,) && strequals(#3,rchead.png))
{ setplayerprop #3,newrchead.png;}
}
}
}


MUCH Simpler, and it is basic. rchead.png is the old RC head, and newrchead.png is the new RC head you want. It is much simpler. RC's don't have a level, so if #F (level the Player is in) has no value, and it has the RC head, then it changes it XP. Easier, and better
---Shifter
This will not work since actionplayeronline is for players and not RCs, correct me if i'm wrong.