07-21-2016, 05:39 AM
Hi,
I have a very strange error with lua code:
I have a sign with but no lines.
I must deconnect/connect to the server to have all displayed lines.
Do you have a tip to display correctly the lines?
Thank you.
I have a very strange error with lua code:
Code:
function addSign(Player)
Player:GetWorld():SetBlock(Player:GetPosX() + 2, y + 1, Player:GetPosZ() + 1, E_BLOCK_WALLSIGN, E_META_CHEST_FACING_ZM)
line1 = "Server01"
line2 = "actif"
line3 = "192.168.156.120"
line4 = "Player"
Player:GetWorld():SetSignLines(Player:GetPosX() + 2, y + 1, Player:GetPosZ() + 1, line1, line2, line3, line4)
return true
end
I have a sign with but no lines.
I must deconnect/connect to the server to have all displayed lines.
Do you have a tip to display correctly the lines?
Thank you.