Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > NPC Server
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:10 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.