• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problem z PZ

Ej kompilować to sie kompiluje :) A dzialania nie mam narazie jak sprawdzic.

A weź zrób talkakcje:

PHP:
function onSay(cid, words, param)
local gleba = {x=123, y = 321, z=7} -- tu daj wsp monstera ktoregos
print_r(getTileInfo(gleba))
end


function print_r ( t ) 
 	local print_r_cache={}
	local function sub_print_r(t,indent)
		if (print_r_cache[tostring(t)]) then
			print(indent.."*"..tostring(t))
		else
			print_r_cache[tostring(t)]=true
			if (type(t)=="table") then
				for pos,val in pairs(t) do
					if (type(val)=="table") then
						print(indent.."["..pos.."] => "..tostring(t).." {")
						sub_print_r(val,indent..string.rep(" ",string.len(pos)+8))
						print(indent..string.rep(" ",string.len(pos)+6).."}")
					else
						print(indent.."["..pos.."] => "..tostring(val))
					end
				end
			else
				print(indent..tostring(t))
			end
		end
	end
	sub_print_r(t,"  ")
end


i zobacz po prostu czy mapeditor Co nie usuwa tego PZ jak stawiasz monstra :)
 
[protection] => true

, poza tym, nie da się potworów bić xD
 
Back
Top