yokozuki - 2010-12-12 10:23:42

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 :D.

Opanuj Sie - 2011-01-07 17:57:32

Jak widać jestem pierwszy ! :)
No to tak, mało przydatne no ale jak ktoś lubi gadające misie typu BedoBear to polecam :P

Dantez - 2011-01-08 11:13:13

Nie wiem tylko po co else prawie na końcu i w ogóle po chuj ten skrypt :P

www.kingdragons.pun.pl www.mago1w.pun.pl www.hajtownia.pun.pl www.dirt-bike.pun.pl www.narutototalgame.pun.pl