What's new

Tabulatory w tek?cie

Status
Not open for further replies.

DanJ93

ElfBot Helper
Joined
Jan 18, 2009
Messages
2,631
Reaction score
200
Witam,
Kopiowany tekst pomija tabulatory.
Tj. kopiuje sam tekst, bez tabulator?w. Przyk?ad:
kopiujemy:
[LUA]function onTest(cid, 1, 2)
if a = b then
if c = d then
if e = f then
if getPlayerTest(cid, test) < test2 then
sendText(cid, 21 , 'Nie masz tyle mocy')
else
sendText(cid, 21, 'Masz bardzo du?o mocy!')
end
end
end
end
return true
end[/LUA]
a otrzymujemy:
[LUA] function onTest(cid, 1, 2)
if a = b then
if c = d then
if e = f then
if getPlayerTest(cid, test) < test2 then
sendText(cid, 21 , 'Nie masz tyle mocy')
else
sendText(cid, 21, 'Masz bardzo du?o mocy!')
end
end
end
end
return true
end[/LUA]
 

Eturl

We shall know no fear!
Joined
May 21, 2008
Messages
2,280
Reaction score
463
Age
32
Odp: Tabulatory w tek?cie

To bardzo dziwne, bo u mnie kopiuje wszystko tak jak jest zapisane (u?ywam chrome).
 

Sooh

Advanced User
Joined
Jun 26, 2014
Messages
489
Reaction score
26
Age
30
Odp: Tabulatory w tek?cie

na firefox 26 ~ tez nie dziala
 

Arkam

Forum friend
Joined
Dec 20, 2008
Messages
1,980
Reaction score
180
Odp: Tabulatory w tek?cie

Chrome dzia?a [najnowsze]
 

Thorge D

Advanced User
Joined
Jul 24, 2014
Messages
300
Reaction score
29
Odp: Tabulatory w tek?cie

Opera tak?e ?miga wszystko normalnie b??d?w niema z tym i problem?w widocznie s? tylko u Ciebie.
 

Placek

Blue Waffle
Joined
Sep 30, 2008
Messages
6,793
Reaction score
672
Age
9
Odp: Tabulatory w tek?cie

[LUA]function onTest(cid, 1, 2)
if a = b then
if c = d then
if e = f then
if getPlayerTest(cid, test) < test2 then
sendText(cid, 21 , 'Nie masz tyle mocy')
else
sendText(cid, 21, 'Masz bardzo du?o mocy!')
end
end
end
end
return true
end[/LUA][XML]function onTest(cid, 1, 2)
if a = b then
if c = d then
if e = f then
if getPlayerTest(cid, test) < test2 then
sendText(cid, 21 , 'Nie masz tyle mocy')
else
sendText(cid, 21, 'Masz bardzo du?o mocy!')
end
end
end
end
return true
end[/XML][CPP]function onTest(cid, 1, 2)
if a = b then
if c = d then
if e = f then
if getPlayerTest(cid, test) < test2 then
sendText(cid, 21 , 'Nie masz tyle mocy')
else
sendText(cid, 21, 'Masz bardzo du?o mocy!')
end
end
end
end
return true
end[/CPP][SQL]function onTest(cid, 1, 2)
if a = b then
if c = d then
if e = f then
if getPlayerTest(cid, test) < test2 then
sendText(cid, 21 , 'Nie masz tyle mocy')
else
sendText(cid, 21, 'Masz bardzo du?o mocy!')
end
end
end
end
return true
end[/SQL][JS]function onTest(cid, 1, 2)
if a = b then
if c = d then
if e = f then
if getPlayerTest(cid, test) < test2 then
sendText(cid, 21 , 'Nie masz tyle mocy')
else
sendText(cid, 21, 'Masz bardzo du?o mocy!')
end
end
end
end
return true
end[/JS]
PHP:
function onTest(cid, 1, 2)
if a = b then
	if c = d then
		if e = f then
			if getPlayerTest(cid, test) < test2 then
				sendText(cid, 21 , 'Nie masz tyle mocy')
			else
				sendText(cid, 21, 'Masz bardzo du?o mocy!')
			end
		end
	end
end
return true
end

function onTest(cid, 1, 2)
if a = b then
if c = d then
if e = f then
if getPlayerTest(cid, test) < test2 then
sendText(cid, 21 , 'Nie masz tyle mocy')
else
sendText(cid, 21, 'Masz bardzo du?o mocy!')
end
end
end
end
return true
end

Wszedzie wklejam i dziala, jedynie przy cytacie na forum usuwa xD

Kopiuj?c w IE mam takie cos xD
1.function onTest(cid, 1, 2)2.if a = b then3. if c = d then4. if e = f then5. if getPlayerTest(cid, test) < test2 then6. sendText(cid, 21 , 'Nie masz tyle mocy')7. else8. sendText(cid, 21, 'Masz bardzo du?o mocy!')9. end10. end11. end12.end13.return true14.end
Code:
1.function onTest(cid, 1, 2)2.if a = b then3.	if c = d then4.		if e = f then5.			if getPlayerTest(cid, test) < test2 then6.				sendText(cid, 21 , 'Nie masz tyle mocy')7.			else8.				sendText(cid, 21, 'Masz bardzo du?o mocy!')9.			end10.		end11.	end12.end13.return true14.end
 
Last edited:

Zbizu

Luakami
Joined
Mar 13, 2010
Messages
719
Reaction score
104
Age
28
Odp: Tabulatory w tek?cie

firefox 43.0.1.5828
kopiowanie dzia?a normalnie, jedynie przy wrzucaniu kodu w cytat tabulatory s? usuwane, wi?c b??d le?y po stronie u?ytkownika - albo wrzucanie tekstu w cytat albo u?ywanie starej przegl?darki
 
Status
Not open for further replies.
Top