Re: How does this NPC work please?
Quote:
Originally posted by Glory
if (created)
{ for (i=0;i<allplayerscount;i++)
{ if (strequals(#F,))
{ if (strequals(#a,accname))
{ setplayerprop #3,headname;}
}
}
}
|
that wouldnt work at all
NPC Code:
if(created){
for(i=0;i<allplayerscount;i++){
with(allplayers[i]){
if(strlen(#F)==0){
if(strequals(#a,accname)){
setplayerprop #3,head;
}
}
}
}
}
|
Last edited by Python523; 09-04-2002 at 04:43 AM..
|