Nie tylko o Tibii i OTS...
tworzymy plik lua o nazwie sleepbear
wklejamy to:
--function Sleeping bear By yokozuki--
function onUse(cid, item, frompos, item2, topos)
sorte = math.random(1,4)
pos = getPlayerPosition(cid)
if item.itemid == 7177 then
if sorte == 1 then
name = getPlayerName(cid)doCreatureSay(cid, 'Why do you try to wake up me? '..name..'.' ,TALKTYPE_ORANGE_1)
elseif sorte == 2 then
name = getPlayerName(cid)doCreatureSay(cid, 'Please i dont have work today '..name..'.' ,TALKTYPE_ORANGE_1)
elseif sorte == 3 then
name = getPlayerName(cid)doCreatureSay(cid, 'One hour Please '..name..'.' ,TALKTYPE_ORANGE_1)
elseif sorte == 4 then
name = getPlayerName(cid)doCreatureSay(cid, 'Groooar '..name..'.' ,TALKTYPE_ORANGE_1)
doSendMagicEffect(topos,4)
else
end
end
return 1
end
I gotowe! Od tej pory mamy na naszym serwie gadające śpiącego misia .
Offline
Jak widać jestem pierwszy !
No to tak, mało przydatne no ale jak ktoś lubi gadające misie typu BedoBear to polecam
Potrzebujesz pomocy? Nie krępuj się odezwij się na SKYPE.
!ALE PAMIĘTAJ O MANIERACH!
Przedstaw się i powiedz o co chodzi, w przeciwnym wypadku zostaniesz zignorowany.
Offline
Nie wiem tylko po co else prawie na końcu i w ogóle po chuj ten skrypt
2009-02-23 - data mianowania na Redaktora
2010-08-26 - data rezygnacji
Offline