View Single Post
  #1  
Old 10-20-2001, 06:13 AM
DoragonKoden_RC6 DoragonKoden_RC6 is offline
Registered User
Join Date: Oct 2001
Posts: 221
DoragonKoden_RC6 is on a distinguished road
NPC Server Problem

for some reason when using:
Quote:
setplayerprop #C1, #C1;
on the npc server, it does either of two things:[list=1][*]Does not work (keeps the previous #C1 setting)[*]Sets a different color than the value of #C1[/list=1]

Can anyone confirm this for me?

this is my script:
Quote:
if (playertouchsme) {
with (getplayer(#a)) {
setcharprop #1, #1;
setcharprop #2, #2;
setcharprop #3, #3;
setcharprop #8, #8;
setcharprop #C0, #C0;
setcharprop #C1, #C1;
setcharprop #C2, #C2;
setcharprop #C3, #C3;
setcharprop #C4, #C4;
setcharprop #P1, #P1;
setcharprop #n, #n (NPC);
ap = playerap;
}
}
everything works, just not #C1

[edit]
i would do this clientside, but when using clientside, it only shows up for the player who touched the npc.