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: :((
1. 3DText na komende :((
local sw,sh guiGetScreenSize()





function 
napis(msg)


    
local rx,ry,rz getCameraMatrix()


            
msg = {}


            
local x,y,getElementPosition(v)


            
local distance getDistanceBetweenPoints3D(rx,ry,rz,x,y,z)


            if 
distance <= 25 then


                local sx
,sy getScreenFromWorldPosition(x,y,z200)


                if 
sx and sy then


                dxDrawText
(msgsx-(sw/5),sy,sx+(sw/5),sytocolor(255255255155), 1.2"default-small""center""center"falsetrue)


                
end


            end


        end



addCommandHandler
("tekst"napis)]



Po stronie clienta b??d w 16 i 19 linijce