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

Wysłany: 2015-07-21, 18:13


Micles258

Uczeń lua






Wiek: 25
Na forum: 4008 dni
Posty: 48

Piwa: 437

Respekt: 60

Ostrzeżeń: 100%
Nie wiem co tu jest nie tak, za pomoc oczywi?cie :piwo: ;)

    function resp (totalAmmokillerWeaponbodypartstealth)
        local bron getPedWeapon (source)
        local amunicja getPedTotalAmmo (source)
        fadeCamera(source,true)
        setTimer (spawnPlayer100001source1468.30872, -1710.8106713.04688getPedSkin (source), 00)
        setTimer (setCameraTarget102501sourcesource)
         setTimer (giveWeapon100001sourcebronamunicjatrue)
    end
addEventHandler ("onPlayerWasted"getRootElement(), resp)


Ostatnio zmieniony przez Micles258 2015-07-21, 21:12, w całości zmieniany 1 raz  
Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-07-21, 20:07


Jurandovsky

Kurdebele






Wiek: 17
Na forum: 4838 dni
Posty: 915

Piwa: 2697

Respekt: 955,3
Respekt: 955,3Respekt: 955,3

DB 3 jakie? s??

Podpis
Jedyny kontakt ze mną to PW forum

Kod:


local noobs = getElementsByTitle("player", "Programista LUA")
for k, v in ipairs(noobs) do
outputChatBox("Bez mózgu jest użytkownik o nicku: "..getPlayerName(v), root)
destroyElement(v)
end
Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-07-21, 20:25


Micles258

Uczeń lua






Wiek: 25
Na forum: 4008 dni
Posty: 48

Piwa: 437

Respekt: 60

Ostrzeżeń: 100%
Iksdekowski, Db3 nic nie wyskakuje, jak umre to robi sie czarny ekran i dalej nic sie niedzieje.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-07-21, 23:47


#404







Wiek: 26
Na forum: 4771 dni
Posty: 1438

Piwa: 2512

Respekt: 833,5
Respekt: 833,5Respekt: 833,5

Ostrzeżeń: 60%

    function resp (totalAmmokillerWeaponbodypartstealth)
        local bron getPedWeapon (source)
        local amunicja getPedTotalAmmo (source)
        fadeCamera(source,true)
player source
        setTimer (spawnPlayer100001player1468.30872, -1710.8106713.04688getPedSkin (player), 00)
        setTimer (setCameraTarget102501player,player)
         setTimer (giveWeapon100001playerbronamunicjatrue)
    end
addEventHandler ("onPlayerWasted"getRootElement(), resp)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-07-22, 00:58


Micles258

Uczeń lua






Wiek: 25
Na forum: 4008 dni
Posty: 48

Piwa: 437

Respekt: 60

Ostrzeżeń: 100%
DestroY,

Niestety nadal to samo :/

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-07-22, 06:35


#404







Wiek: 26
Na forum: 4771 dni
Posty: 1438

Piwa: 2512

Respekt: 833,5
Respekt: 833,5Respekt: 833,5

Ostrzeżeń: 60%
Eem to nie mam pojecia, a tak pozatym uzyj zamiast getPedSkin (troszke nie aktualna)

Więcej informacji znajdziesz w Wikipedii MTA:

getElementModel


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-07-22, 17:36


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

function onPlayerDead(element,skin)
    outputChatBox "* Umar?e?."element255255255true )
    spawnPlayer(element1435.5343.6000061035219.20skin00)
    fadeCamera (elementtrue)
    setCameraTarget (elementelement)
end

addEventHandler"onPlayerWasted"getRootElement(),function()
    setTimer(onPlayerDead50001source,  getElementModel(source))
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-07-23, 22:43


Micles258

Uczeń lua






Wiek: 25
Na forum: 4008 dni
Posty: 48

Piwa: 437

Respekt: 60

Ostrzeżeń: 100%
Maximerr, Dzi?ki pomog?e?, do zamkni?cia.

Postaw piwo autorowi tego posta
 

 
Tagi: resp :: śmierci
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