Wysłany: 2015-11-04, 06:28
Fanciak
BOT
Wiek: 25 Na forum: 4446 dni Posty: 728
Nick w MP: Fanciak
Piwa : 1572
Masz Notepad++? Zmie? kodowanie na UTF-8. A jak nie to masz ten kod:
mk1 = createMarker ( - 725.2596 , 969.4474 , 11.2028 , "cylinder" , 6 , 0 , 102 , 255 , 170 )
function MarkerHit ( hitElement , md )
if not md then return end
if source ~= mk1 then return end
if getElementType ( hitElement ) == "player" then
if isPedInVehicle ( hitElement ) then
outputChatBox ( "Jestes w pojezdzie" )
else
outputChatBox ( "Nie jestes w pojezdzie" )
end
end
end
addEventHandler ( "onClientMarkerHit" , getRootElement (), MarkerHit )
Wysłany: 2015-11-04, 06:42
Vxen
Wiek: 27 Na forum: 4086 dni Posty: 293
Piwa : 1299
mk1 = createMarker ( 1959.55 , - 1714.46 , 15 , "cylinder" , 3 , 0 , 102 , 255 , 170 )
function MarkerHit ( hitElement , md )
if not md then return end
if source ~= mk1 then return end
if getElementType ( hitElement ) == "player" then
if isPedInVehicle ( hitElement ) then
outputChatBox ( "Jeste? w pojezdzie. " )
else
local luckyBugger = getLocalPlayer () -- get the local player
local x , y , z = getElementPosition ( luckyBugger ) -- retrive the player 's position
createVehicle ( 432, x, y, z + 10 ) -- create the tank 10 units above them
end
end
end
addEventHandler ( "onClientMarkerHit", getRootElement(), MarkerHit )
Gdy wciskam do auta nie moge wej??.
Tagi: else
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: