View Single Post
  #6  
Old 08-23-2002, 09:58 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
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
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice