![]() |
cloths changer
can some one tell me how I might make a cloths changer?
I want it to have 5 slots and saves the following head sleeves skin belt coat shoes hat + the outline of your body..(normaly black) thanks |
...
these can easily be changed with the message codes at the bottom, and saved with strings.
you could have something like: setstring client.suit1,#C0,#C1,ect,ect,ect,ect; and the outline is #C5, which stefan didnt bother adding into newfeatures or commands.rtf. |
saving example:
setstring outfit1_c0,#C0; loading example: setplayerprop #C0,#s(outfit1_c0); |
hmmm
that would work python, but the player flag list would get filled up quick!
it would be better to use setstring client.suit1,#C0,ect,ect....,ect; and use setplayerprop #C0,#I(client.suit1,0); that way, it wouldnt take up so many lines in the flag section. |
Re: hmmm
Quote:
the string u get with your script: example client.suit1=black,yellow,white,red what stringlist look like: client.suit1="black","yellow","white","red" so u couldn't normally read the parts with #I |
Re: Re: hmmm
Quote:
and you have to put "" in manually. You think I'm wrong still, go test this script i just wrote: NPC Code: then come back and tell me im wrong :) |
just use addstring dude and watch the string after this...
if(playerenters){ addstring test,lala; addstring test,lala2; } would be: test="lala","lala2" |
tell your mom i said hi.
|
oh and thanks
|
Quote:
why would you want to do that? The only time i can think of when you want to use "addstring" is when you have strings set already, and you want to add on to it without changing information. Going back to the topic...addstring is not needed here. my way works fine. it works, i scripted, i tested it. |
| All times are GMT +2. The time now is 09:15 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.