![]() |
SetHead,Setsword,setbody,setshield
Hey, can someone say to me what i have to put in a level to when i say"setbody body1.gif" it changes and with setshield,setsword the same thing,,, what i have to do?
|
use this offline tailor NPC i made its kinda neat ...
NPC Code: its a fairly simple script so i aint gonna bug you about stealing it but if you need any parts explained please let me know .... Also there is a clothing saver i added to it .... pretty neat .... |
WOW MAN, thanks a lot
thanks man, i wont stole it, i will use it in a ofline level because i am doing some heads, and i want to see how they are there, and i cant change the head and the other things,, but now i can!:D :D
|
k ...
|
Quote:
2. this can be short... |
Quote:
if (playerchats && startswith(change,#c)) { tokenize #c; set#t(1)color #t(2); } and i say 'change item color' |
You could also do instead of tokenize... just a thought..
if (playerchats) { if (strequals(#e(0,6,#c),skin: )) setplayerprop #C0,#e(6,-1,#c); if (strequals(#e(0,6,#c),coat: )) setplayerprop #C1,#e(6,-1,#c); if (strequals(#e(0,9,#c),sleeves: )) setplayerprop #C2,#e(9,-1,#c); if (strequals(#e(0,7,#c),shoes: )) setplayerprop #C3,#e(7,-1,#c); if (strequals(#e(0,6,#c),belt: )) setplayerprop #C4,#e(6,-1,#c); } |
Re: SetHead,Setsword,setbody,setshield
Quote:
|
Re: Re: SetHead,Setsword,setbody,setshield
Quote:
|
| All times are GMT +2. The time now is 09:40 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.