Wysłany: 2014-12-18, 17:27
Fanciak
BOT
Wiek: 25 Na forum: 4446 dni Posty: 728
Nick w MP: Fanciak
Piwa : 1572
Doda?em pewn? funkcj?, aby teleportowa?a gracza razem z autem, ale nie teleportuje z autem. Bez pojazdu teleportuje, pomo?ecie?
function lslot ( player , cmd )
setElementPosition ( player , 1945.4160 , - 2305.6423 , 15.0583 , rotz )
if isPedInVehicle ( cmd ) then return end
outputChatBox ( "Witamy na Lotnisku w Los Santos." , player , 255 , 255 , 0 )
end
addCommandHandler ( "lslot" , lslot )
Za pomoc piwko
Wysłany: 2014-12-18, 17:35
Terr9909
Skrypter LUA
Wiek: 26 Na forum: 4234 dni Posty: 346
Nick w MP: Split
Piwa : 1043
if isPedInVehicle(cmd) then return end
aha? PL: je?eli gracz jest w poje?dzie funkcja dolna si? nie wykona :-)
?ap:
addCommandHandler ( "lslot" , function( el , md )
local gracz = el
if isPedInVehicle ( el ) then gracz = getPedOccupiedVehicle ( el ) end
setElementPosition ( gracz , 1945.4160 , - 2305.6423 , 15.0583 )
outputChatBox ( "Witamy na Lotnisku w Los Santos." , el , 255 , 255 , 0 )
end )
Tagi: teleport
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: