Wysłany: 2015-07-21, 18:13
Micles258
Uczeń lua
Wiek: 25 Na forum: 4008 dni Posty: 48
Piwa : 437
Nie wiem co tu jest nie tak, za pomoc oczywi?cie
function resp ( totalAmmo , killerWeapon , bodypart , stealth )
local bron = getPedWeapon ( source )
local amunicja = getPedTotalAmmo ( source )
fadeCamera ( source , true )
setTimer ( spawnPlayer , 10000 , 1 , source , 1468.30872 , - 1710.81067 , 13.04688 , getPedSkin ( source ), 0 , 0 )
setTimer ( setCameraTarget , 10250 , 1 , source , source )
setTimer ( giveWeapon , 10000 , 1 , source , bron , amunicja , true )
end
addEventHandler ( "onPlayerWasted" , getRootElement (), resp )
Ostatnio zmieniony przez Micles258 2015-07-21, 21:12, w całości zmieniany 1 raz
Wysłany: 2015-07-21, 20:07
Jurandovsky
Kurdebele
Wiek: 17 Na forum: 4838 dni Posty: 915
Piwa : 2697
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
Wysłany: 2015-07-21, 20:25
Micles258
Uczeń lua
Wiek: 25 Na forum: 4008 dni Posty: 48
Piwa : 437
Iksdekowski , Db3 nic nie wyskakuje, jak umre to robi sie czarny ekran i dalej nic sie niedzieje.
Wysłany: 2015-07-21, 23:47
#404
Wiek: 26 Na forum: 4771 dni Posty: 1438
Piwa : 2512
function resp ( totalAmmo , killerWeapon , bodypart , stealth )
local bron = getPedWeapon ( source )
local amunicja = getPedTotalAmmo ( source )
fadeCamera ( source , true )
player = source
setTimer ( spawnPlayer , 10000 , 1 , player , 1468.30872 , - 1710.81067 , 13.04688 , getPedSkin ( player ), 0 , 0 )
setTimer ( setCameraTarget , 10250 , 1 , player , player )
setTimer ( giveWeapon , 10000 , 1 , player , bron , amunicja , true )
end
addEventHandler ( "onPlayerWasted" , getRootElement (), resp )
Wysłany: 2015-07-22, 00:58
Micles258
Uczeń lua
Wiek: 25 Na forum: 4008 dni Posty: 48
Piwa : 437
DestroY ,
Niestety nadal to samo
Wysłany: 2015-07-22, 06:35
#404
Wiek: 26 Na forum: 4771 dni Posty: 1438
Piwa : 2512
Eem to nie mam pojecia, a tak pozatym uzyj zamiast getPedSkin (troszke nie aktualna)
Wysłany: 2015-07-22, 17:36
Maximerr
Programmer PHP, LUA
Wiek: 25 Na forum: 4427 dni Posty: 548
Piwa : 1051
function onPlayerDead ( element , skin )
outputChatBox ( "* Umar?e?." , element , 255 , 255 , 255 , true )
spawnPlayer ( element , 1435.5 , 343.60000610352 , 19.2 , 0 , skin , 0 , 0 )
fadeCamera ( element , true )
setCameraTarget ( element , element )
end
addEventHandler ( "onPlayerWasted" , getRootElement (),function()
setTimer ( onPlayerDead , 5000 , 1 , source , getElementModel ( source ))
end )
Wysłany: 2015-07-23, 22:43
Micles258
Uczeń lua
Wiek: 25 Na forum: 4008 dni Posty: 48
Piwa : 437
Maximerr , Dzi?ki pomog?e?, do zamkni?cia.
Tagi: resp :: śmierci
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: