Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2014-10-10, 16:11


Maximerr

Programmer PHP, LUA






Wiek: 25
Na forum: 4427 dni
Posty: 548

Piwa: 1051

Respekt: 365,3
Respekt: 365,3Respekt: 365,3Respekt: 365,3Respekt: 365,3

Witam! Dawno nic nie pisa?em, a wi?c mam pewne pytanie. Jaki jest argument na pobranie np. Spoileru z auta gracza? (Chodzi o zapis cz??ci tuningowych w aucie)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-10, 19:17


luki123luki123

Place Game






Wiek: 28
Na forum: 5275 dni
Posty: 1948
Nick w MP: LuKiO

Piwa: 6101

Respekt: 611
Respekt: 611Respekt: 611

Maximerr, setElementData + getVehicleUpgradeOnSlot lub setElementData +getVehicleUpgrades

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-10, 19:23


dudeks







Wiek: 31
Na forum: 6576 dni
Posty: 171

Piwa: 89

Respekt: 105,3
Respekt: 105,3

function getVehicleTuning veh )
    local i
    local vehPanel ''
    for i=015 do
        local vb ''
        if i>0 then
            vb vehPanel..';'
        end
        vehPanel vb.. getVehicleUpgradeOnSlot (vehi)
    end
    return vehPanel
end

function setVehicleTuning veharr )
    if arr then
        local arrx split(arrstring.byte(";"))
        local i
        for i=015 do
            addVehicleUpgrade veharrx[i] )
        end
    end
    return true
end

Mo?esz tak?e skorzysta? z tego, ?atwo i prosto je?eli chodzi o zapis i wczytywanie tuningu.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-10, 19:32


Maximerr

Programmer PHP, LUA






Wiek: 25
Na forum: 4427 dni
Posty: 548

Piwa: 1051

Respekt: 365,3
Respekt: 365,3Respekt: 365,3Respekt: 365,3Respekt: 365,3

Ta, a jaki jest slot wheels?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-10, 19:33


dudeks







Wiek: 31
Na forum: 6576 dni
Posty: 171

Piwa: 89

Respekt: 105,3
Respekt: 105,3

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-10, 19:48


Maximerr

Programmer PHP, LUA






Wiek: 25
Na forum: 4427 dni
Posty: 548

Piwa: 1051

Respekt: 365,3
Respekt: 365,3Respekt: 365,3Respekt: 365,3Respekt: 365,3

Dzi?kuj? :)

Postaw piwo autorowi tego posta
 

 
Tagi: saver :: tuningu
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku