Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: localplayer
1. LUA MTA localPlayer clientside dxdraw wyświetla wszystkim
LUA MTA

Nie wiem czy ja nie wyspany, czy co ale wsz?dzie jest localPlayer, ca?y skrypt client-side a dxdraw ten od rozpocznij prace wy?wietla wszystkim o co kaman


cside
[code]
--[[
Praca Magazyniera V.2
Autorem jest adaskOO(Roe)
Zakaz zmieniania autora!
JeĹĽeli postanowisz edytowa?‡ ten skrypt, dopisz siebie. Prosze doce?„ moj?… prace i nie usuwaj autora!
Udost?™pniono na gtao.pl 11.11.2018.
Client Side
--]]

--Tworzy markery
marker = createMarker(369.22336, -119.07957, 1001.49219-0.9, "cylinder", 2, 155, 155, 0, 210)
setElementInterior(marker, 5)
setElementDimension(marker, 0)
markerZABIERANIA = createMarker(376.76630, -120.82995, 1001.49951-1, "cylinder", 3, 0, 0, 0, 210)
setElementInterior(markerZABIERANIA, 5)
setElementDimension(markerZABIERANIA, 0)

setElementInterior(markery, 0)
setElementDimension(markery, 0)
local markery={
--[[ Przyk?‚ad: ||| {x, y, z , "cylinder", wielkosc, kolor RED, Kolor GREEN, Kolor BLUE, Przezroczysto?›?‡}, ||| --]]
{2102.00464, -1802.54797, 13.55469-0.9 , "cylinder", 1, 0, 255, 0, 130},
{2102.16699, -1811.50879, 13.55469-0.9 , "cylinder", 1, 0, 255, 0, 130},
}

--[----------------------------------------------------]--


--Pozycja Kursora(function https://wiki.multitheftauto.com/wiki/IsMouseInPosition)
function isMouseInPosition ( x, y, width, height )
if ( not isCursorShowing( ) ) then
return false
end
...
2. Kiedy używamy thePlayer, localPlayer itd.?
Tak jak w temacie, kiedy u?ywamy thePlayer, localPlayer, source itd.?