SetSignLines does not work
#1
Hi,
I have started using lua yesterday and I just can not get past this problem. I need to update all lines of a specific sign. "World:SetSignLines()" Either does nothing (if called in a function started by a hook) or it throws out an error (if started in an independent function). How can I use this properly?

function poiMain(Split, Player)
  World:SetSignLines(58, 64, 42, "test", "test", "test", "test")
  return true
end

Code:
[15:34:37] LUA: Plugins/PointsOfInterest/functions.lua:52: attempt to index global 'World' (a nil value)
[15:34:37] Stack trace:
[15:34:37]   Plugins/PointsOfInterest/functions.lua(52): (no name)
[15:34:37] Stack trace end
[15:34:37] Error in plugin PointsOfInterest calling function <callback>()
Reply
Thanks given by:


Messages In This Thread
SetSignLines does not work - by nixi - 01-16-2016, 12:37 AM
RE: SetSignLines does not work - by NiLSPACE - 01-16-2016, 01:23 AM
RE: SetSignLines does not work - by nixi - 01-16-2016, 02:21 AM
RE: SetSignLines does not work - by ThuGie - 01-16-2016, 03:21 AM
RE: SetSignLines does not work - by nixi - 01-16-2016, 04:08 AM
RE: SetSignLines does not work - by NiLSPACE - 01-16-2016, 04:06 AM
RE: SetSignLines does not work - by xoft - 01-16-2016, 06:54 AM
RE: SetSignLines does not work - by xoft - 01-16-2016, 06:54 AM
RE: SetSignLines does not work - by nixi - 01-21-2016, 03:52 AM
RE: SetSignLines does not work - by Seadragon91 - 01-16-2016, 07:32 AM
RE: SetSignLines does not work - by xoft - 01-16-2016, 07:59 AM



Users browsing this thread: 1 Guest(s)