View Single Post
  #7  
Old 08-23-2002, 08:37 PM
BinaryCrash BinaryCrash is offline
No memory dump.
Join Date: Jul 2002
Location: Brazil
Posts: 70
BinaryCrash is on a distinguished road
Send a message via ICQ to BinaryCrash Send a message via MSN to BinaryCrash
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

the old rc head is head25