

1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
for line in io.lines("sys/s_data/"..usgn..".txt","r") do 				local parses = totable(line) [code] do this read ALL lines of script or just the first line ? :>: how i insert something on a table ? like this [code] adm_ui={22068,50888}

and without restarting server (Changing map or Shuting down whatever)

1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
elseif cmd=="@pm" then 		local pl=tonumber(t[2]) 		local msg=tostring(t[3]) 		if pl~= nil and player(pl,"exists") then 			if msg~= nil then 				fmsg2(pl,"255150150",player(id,"name").."{PM}: "..msg) 				fmsg2(id,"255150150","Voce{PM}: "..msg) 			else 				fmsg2(id,"155250150","PM Sem Messagem") 			end 		else 			fmsg2(id,"255150150","Player Não Existe, Ou ERRO!") 		end
edited 3×, last 18.03.11 03:15:39 am