Posts: 2
	Threads: 1
	Joined: Sep 2014
	
Thanks: 0
	Given 0 thank(s) in 0 post(s)
	 
	
	
		Is it possible to programaticaly (by code) change sign text?
I wonna show status of few places that are around city in city hall on signs. Is it possible with MCSever and Lua plugin?
	
	
	
	
	
 
 
	
	
	
		
	Posts: 4,637
	Threads: 115
	Joined: Dec 2011
	
Thanks: 697
	Given 518 thank(s) in 441 post(s)
	 
	
	
		If you want to edit signs in an existing world you have to use cWorld:SetSignLines(a_X, a_Y, a_Z, a_Line1, a_Line2, a_Line3, a_Line4, [cPlayer]) 
The player parameter is optional.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 6,482
	Threads: 176
	Joined: Jan 2012
	
Thanks: 131
	Given 1085 thank(s) in 857 post(s)
	 
	
		
		
		10-03-2014, 04:52 AM 
(This post was last modified: 10-03-2014, 04:56 AM by xoft.)
		
	 
	
		Right, STR_Warrior got the right answer, I completely forgot about that function.
The code I gave you should work as well, but is needlessly complicated.