View Single Post
  #2  
Old 04-25-2002, 11:52 PM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
Re: Choose Head for NPC-Server

Quote:
Originally posted by osrs
I would Know if this Script is correct..

"Choosing RC Head"

Note: This script dont is made by me.

if (created){
timeout=.1;
}
if (timeout){
for(i=0;i<allplayerscount;i++){
with (allplayers[i]){
if (strlen(#F)<=0){
if (strequals(#a,"RC account")&&!strequals(#3,head3.png)){
setplayerprop #3,head3.png;
}
}
}
}
timeout=.1;


-osrs-

I think it would be better said

NPC Code:

if (created || timeout) {
for(i=0;i<allplayerscount;i++){
with (allplayers[i]){
if (strequals(#a,npcserver)) {
setcharprop #3,headgoeshere;
}
}
}
}
timeout = .1;
}

__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote