|
Can someone please help me find out what I did wrong here? It suppose to save your current clothes state when you use the npcw and then when you fire it, it returns you to the state you used when you fired it before. Its suppose to be like the clothes helper but without the menu. When I use that, it replaces my body with nothing, it just turns you invisible.
Here's te script, any help would be appreciated.
if (playertouchsme) {toweapons Save Clothes; unset Saveclothes;}
if (weaponfired) {
if (!Saveclothes) {set Saveclothes; setstring SaveclothesHead,#
3; setstring SaveclothesSword,#1; setstring SaveclothesShield,#
2; setstring SaveclothesCoat,#C1; setstring SaveclothesSleeves,
#C2; setstring SaveclothesBelt,#C4; setstring SaveclothesShoes,
#C3; setstring SaveclothesSkin,#C0; setstring SaveclothesBody,#
8; setgif allycandlelit.gif;} else { unset Saveclothes;
setplayerprop #3,#S (SavedclothesHead); setplayerprop #1,#S
(SavedclothesSword); setplayerprop #2,#S(SavedclothesShield);
setplayerprop #C1,#S(SavedclothesCoat); setplayerprop#C2,#S
(SavedclothesSleeves);setplayerprop#C4,#S
(SavedclothesShoes);setplayerprop#C3,#S
(SavedclotesShoes);setplayerprop#C0,#S
(SavedclothesSkin);setplayerprop#8,#S(Savedclothes Body);showcharacter; setgif allycandle.gif;}} |