#1 2008-07-31 18:31:53

CaB

http://i37.tinypic.com/zmmamp.gif

10877023
Skąd: Białystok
Zarejestrowany: 2008-07-23
Posty: 40

[8.0] Advance speed system

Advance Speed System.
Skrypt polega na tym ze jak idziesz np z miasta do miasta i po przejsciu np.50 kratek twoja szybkosc wzrasta.
A teraz skrypt

Spoiler:


function onStepIn(cid, item, pos)   

-- options --
local svid = 1141  -- Strage Value Id
local tile = 500  -- number tiles to advance
local speedadv = 50  -- speed advance

local extime = 3  -- exhaustion time (in seconds)
local exid = 1142  -- exhaus id (in Strage Value)
-- end options --


if isPlayer(cid) == TRUE then
    local getsv = getPlayerStorageValue(cid,svid)

    if os.time() > getPlayerStorageValue(cid, exid) then

        if getsv < tile then
            setPlayerStorageValue(cid, svid, getsv+1)
            setPlayerStorageValue(cid, exid, os.time() + extime)
   
        elseif getsv == tile then
            setPlayerStorageValue(cid, svid, 0)
            setPlayerStorageValue(cid, exid, os.time() + extime)
       
            if getCreatureSpeed(cid) < 3000 then
                doChangeSpeed(cid, speedadv)
            else
            end
        else
        end
    else
    end
else
end

end

Spoiler:


<movevent event="StepIn" itemid="724" script="speed.lua" />
<movevent event="StepIn" itemid="103" script="speed.lua" />

Pomogłem? Daj [+]

Offline

 

#2 2008-07-31 19:17:43

 kubxx

http://i37.tinypic.com/2s9vupj.gif

status 5601911
7326611
Zarejestrowany: 2007-12-16
Posty: 498

Re: [8.0] Advance speed system

hehe fajne zrób takie coś na 8.1 czy na 8.2
tak z ciekawości twój skrypt

Ostatnio edytowany przez kubxx (2008-07-31 19:21:32)

Offline

 

#3 2008-07-31 21:13:08

Polandos

Zbanowany

Prosze o usunięcie konta.
Call me!
Skąd: Prosze o usunięcie konta.
Zarejestrowany: 2008-06-30
Posty: 520
Nick: Prosze o usunięcie konta.
Profesja: Prosze o usunięcie konta.
Server: Prosze o usunięcie konta.
WWW

Re: [8.0] Advance speed system

Zal nie skrypt


Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.Prosze o usunięcie konta.

Offline

 

#4 2008-08-01 14:27:11

CaB

http://i37.tinypic.com/zmmamp.gif

10877023
Skąd: Białystok
Zarejestrowany: 2008-07-23
Posty: 40

Re: [8.0] Advance speed system

Moj ale ja niewiem jak go pod 8.1 zrobic

Offline

 

#5 2008-08-01 15:05:35

 Toobi

http://i37.tinypic.com/2rxttv8.gif

pisz pm.
Call me!
Skąd: ten pomysł?
Zarejestrowany: 2008-06-14
Posty: 1159
Nick: Aktualnie
Profesja: nigdzie
Server: nie gram.

Re: [8.0] Advance speed system

Skrypt 8/10 ale przestrzegaj regulaminu!
12. Kolor niebieski (blue) przeznaczony jest tylko dla Moderatorów i wyższych pozycji.


http://weeaboosuomi.files.wordpress.com/2009/06/coolface-skidi.jpg
http://img502.imageshack.us/img502/1296/90962494.jpg

Offline

 

#6 2008-08-01 15:39:24

.Ms?

http://i37.tinypic.com/zmmamp.gif

11493214
Skąd: Pisz
Zarejestrowany: 2008-07-30
Posty: 37
Nick: Sendros Elite
Profesja: Pandoria
Server: 9
WWW

Re: [8.0] Advance speed system

Widziałem już coś takiego...

Offline

 

Stopka forum

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


Darmowe Forum | Ciekawe Fora | Darmowe Fora
przegrywanie kaset vhs łódz Szamba betonowe Wojkowice