![]() |
Help me please.
hi, how can i make a NPC like a sign... if my acc say news <news here>
adn if i thouch the sign after it says the news... i can do that btu i need to knwo how to do like that the text will fit in the sing so it uses #b adn also if i say news testing rox it will check how many tokencounts i use... well can i get any help? that if i saw news <news here> it will make the sign say what i sad if someone thouch it PS: I remember lady midnight or Grim post about this |
//if you account is <account>
if(strequals(#a,<account>)){do this} I dont have time to explain posting thing right now but maybe later |
Quote:
|
You could use make wordwrap then show the sign like this
for(i=0;i<tokenscount;i++){ setstring news,#s(news)#b#t(i); } say2 #s(news); dont know if that would work |
Quote:
Can you help And whast wraptext? |
setstring trunicates #b
|
Wel there are many ways, all of which suck. Since if a string contains #b it does not parse it in signs, so instead it shows #b, kinda like with a few things in java. So what I suggest is 2 things:
1.) String arrays. Like you could make multiple news posts...not too sure about that. 2.) Use #e(start,end,string) with showimg, like so NPC Code: its retarded and stuff, but it works... |
Could u make ur profile on the left smaller? Its making me crazy at school with my 640X480 Screen...
|
It probably would be best to use showimg
|
what is this warptext thing you speak of
|
Quote:
take a look in newfeatures2001.txt |
ooh, *looks at newfeatures2001.txt*
|
i knew i forgot to do something :S
|
| All times are GMT +2. The time now is 12:07 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.