the npc doing fine and no error but when i try to use change hair style. nothing happen like the command of @style on the script isnt working. but when i try to use @hstyle is working.
message strcharinfo(0),"This is style #"+.@style+".";
set .@menu$, " ~ Next (^0055FF"+((.@style!=.@styles[.@s])?.@style+1:1)+"^000000): ~ Previous (^0055FF"+((.@style!=1)?.@style-1:.@styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)";
switch(select(.@menu$)) {
case 1: set .@style, ((.@style!=.@styles[.@s])?.@style+1:1); break;
case 2: set .@style, ((.@style!=1)?.@style-1:.@styles[.@s]); break;
case 3: message strcharinfo(0),"Choose a style between 1 - "+.@styles[.@s]+".";
input .@style,0,.@styles[.@s];
if (!.@style) set .@style, rand(1,.@styles[.@s]);
break;
case 4: set .@style, .@Revert; setlook .@Look[.@s], .@Revert; break;
the npc doing fine and no error but when i try to use change hair style. nothing happen like the command of @style on the script isnt working. but when i try to use @hstyle is working.
Share this post
Link to post
Share on other sites