i have problem with positions.
i need make menu if i go in position
for i 1,32 do
If tilex==30 and tiley==30 then
menu(id,blablalbala...) «with menu i have no problems»
please help me.
And one: i have this script
addhook("say","_say")
function _say(id,msg,word)
if player(id,"usgn") == 114940 then
msg("©255170128"..word)
end
end
it work...my chat massage is colored and if i say balalba@C then massage display in center... but i have this error in console:
LUA ERROR: sys/lua/Train.lua:13: attempt to concatenate local 'word' (a nil value)
Please help me with this.
Thanks you
edited 1×, last 05.08.13 05:44:59 pm