#1 2007-09-25 22:05:53

new hero

http://i38.tinypic.com/19pb0n.gif

Zarejestrowany: 2007-08-27
Posty: 14

[7.6 Script] Stoper na OtS be me xD

W data<actions<scripts twozymy stoper.lua
--- stoper by new hero ---
function onUse(cid, item, frompos, item2, topos)
stoper = getPlayerStorageValue(cid,16)
if stoper == 0 or stoper == -1 then
setPlayerStorageValue(cid,13,os.date('%H'))
setPlayerStorageValue(cid,14,os.date('%M'))
setPlayerStorageValue(cid,15,os.date('%S'))
setPlayerStorageValue(cid,16,666)
doPlayerSay(cid,"Start",16)
elseif stoper == 666 then
godzina = getPlayerStorageValue(cid,13)
minuta = getPlayerStorageValue(cid,14)
sekunda = getPlayerStorageValue(cid,15)


tgodzina = os.date('%H')
tminuta = os.date('%M')
tsekunda = os.date('%S')


ilebh = godzina*3600
ilebm = minuta*60
ilebs = sekunda
ileth = tgodzina*3600
iletm = tminuta*60
ilets = tsekunda
ilesekundbylo = ilebh + ilebm + ilebs
ilesekundjest = ileth + iletm + ilets

uplynelo = ilesekundjest - ilesekundbylo


if uplynelo >= 3600 then
xxxst = uplynelo/3600
setPlayerStorageValue(cid,13,xxxst)
xxx = getPlayerStorageValue(cid,13)
yyx = uplynelo - xxx
yxxst = yyx/60
setPlayerStorageValue(cid,14,yxxst)
yxx = getPlayerStorageValue(cid,14)
yyy = yyx - yxx


elseif (uplynelo >= 60) and (uplynelo <= 3599)then
xxx = 0
yxxst = uplynelo/60
setPlayerStorageValue(cid,14,yxxst)
yxx = getPlayerStorageValue(cid,14)
zzz = yxx*60
yyy = uplynelo - yxx


elseif uplynelo <= 59 then
xxx = 0
yxx = 0
yyy = uplynelo

end

doPlayerSendTextMessage(cid,22,"Stoper zatrzymany na: "..xxx..":"..yxx..":"..yyy.."")
setPlayerStorageValue(cid,16,555)
doSetItemSpecialDescription(item.uid,"stoper. Pokazuje: "..xxx..":"..yxx..":"..yyy.."")
elseif stoper == 555 then
setPlayerStorageValue(cid,16,0)
setPlayerStorageValue(cid,13,0)
setPlayerStorageValue(cid,14,0)
setPlayerStorageValue(cid,15,0)
doSetItemSpecialDescription(item.uid,"stoper")
doPlayerSay(cid,"Wyzerowano licznik !!!!",16)


end
return 1

end



Nastepnie w data<actions (actions.xml) :]     dodajemy linijke : <action itemid="2036" script="stoper.lua" />
  aby wlaczyc stoper naciskamy raz aby zatrzymac i zobaczyc raz tez naciskamy raz i look aby wyzerowac trzeba 3 razy dac use i to tyle mam nadzieje ze sie spodoba :]
    I LICZE NA REPUTA XD




      AHA ID NA STOPER TO /i 2036 1
      CZYLI ZEGAREK NA RĘKĘ xD

Ostatnio edytowany przez new hero (2007-09-25 22:07:18)


http://www.hostdump.com/uploads/e9d218bc7b.gif http://www.hostdump.com/uploads/d9e74ea886.gif
http://polandotspod76.fora.pl  Forum mojego Ots-a i kolegi saszy xD a acc to 212.203.135.17

Offline

 

#2 2007-09-26 15:01:11

lepus14

http://i35.tinypic.com/2q9yumu.gif

Skąd: Zabrze
Zarejestrowany: 2007-09-07
Posty: 133
Nick: Nie Ważne ;P
Profesja: Eternia/Chimera
Server: 67/9

Re: [7.6 Script] Stoper na OtS be me xD

I wczym on sie przydaje ??


http://www.ubar.pl/www/img_14521_normal.gif
http://www.ubar.pl/www/img_14522_normal.gif
http://www.ubar.pl/www/img_14665_normal.gif
http://www.ubar.pl/www/img_14611_normal.gif
http://www.ubar.pl/www/img_14538_normal.gif

Offline

 

#3 2007-09-26 15:40:59

 Ufek

Zbanowany

Zarejestrowany: 2007-07-02
Posty: 1155
Nick: Ufek Ghoul
Profesja: Aurea (Rookgaard)
Server: 24

Re: [7.6 Script] Stoper na OtS be me xD

W mierzeniu banów na sekundę.


http://img202.imageshack.us/img202/9260/stalkerd22.jpg

Offline

 

#4 2007-09-27 20:35:24

Ustii

http://i33.tinypic.com/2v2gq5x.gif

2619571
Skąd: Łódź
Zarejestrowany: 2007-07-23
Posty: 287

Re: [7.6 Script] Stoper na OtS be me xD

Stoper to dobry pomysł... Można by sprawdzić w jakim czasie przechodzisz daną trasę albo w ile zabijesz danego potwora.


zajonczek ^^
http://img403.imageshack.us/img403/5179/lofl7.gifNie pomagam na gg! Tylko na forum.
http://foteka.pl/full/b158563aa4113c86316e221fcc653a62.jpg

Offline

 

#5 2007-09-27 21:00:37

 Ufek

Zbanowany

Zarejestrowany: 2007-07-02
Posty: 1155
Nick: Ufek Ghoul
Profesja: Aurea (Rookgaard)
Server: 24

Re: [7.6 Script] Stoper na OtS be me xD

Na to nie wpadłem...


http://img202.imageshack.us/img202/9260/stalkerd22.jpg

Offline

 

#6 2007-09-28 11:36:59

wilku705

http://i38.tinypic.com/2ni1vub.gif

4333343
Skąd: Warszawa
Zarejestrowany: 2007-07-08
Posty: 78
Nick: Ximishe
Profesja: Askara
Server: 100

Re: [7.6 Script] Stoper na OtS be me xD

He dobry pomysł


Niewdzięcznicy..

Offline

 

#7 2007-10-05 08:15:21

 Rici

Sułtan łechtaczek

Skąd: Ełk
Zarejestrowany: 2007-05-15
Posty: 1753
Nick: Vineium Doron
Profesja: Paladyn
Server: Guardia
Level: 64

Re: [7.6 Script] Stoper na OtS be me xD

Było i to daaaaaaaaaaaawno


http://img13.imageshack.us/img13/8466/ovoj.jpg

Offline

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
Accommodatie Blankenburg https://www.ehotelsreviews.com/