Quote:
Originally posted by Glory
if (created)
{ for (i=0;i<allplayerscount;i++)
{ if (strequals(#F,))
{ if (strequals(#a,accname))
{ setplayerprop #3,headname;}
}
}
}
|
But...that would set the heads of all the RCs when the script was
created! You'd have to use actionplayeronline or so in the Control NPC.
Something like this:
NPC Code:
if (actionplayeronline) {
if (strequals(#F,)) setplayerprop #3,headname;
}