Wysłany: 2018-05-28, 20:08
PVision
Wiek: 26 Na forum: 2932 dni Posty: 11
Nick w MP: Fanthom.
Piwa : 866
Tak jak w temacie, ot?? mam kod:
if serverInfo . players and showServerInfo then
local players = getPlayers ()-- getElementsByType ( "player" )
local text = "Graczy: " .. tostring ( players ) .. "/" .. serverInfo . players
local textWidth = dxGetTextWidth ( text , fontscale ( serverInfoFont , s ( 1.25 )), serverInfoFont )
dxDrawText ( text , topX + scoreboardDimensions . width - s ( 5 )- textWidth , y , topX + scoreboardDimensions . width - s ( 5 ), y + dxGetFontHeight ( fontscale ( serverInfoFont , scoreboardScale ), serverInfoFont ), cServerInfo , fontscale ( serverInfoFont , s ( 1.25 )), serverInfoFont , "left" , "top" , false , false , drawOverGUI )
end
lecz chc? aby by? on na x,y,x,y lecz nie wiem jak to zrobi? ;-;
Pomo?e kto??
Wysłany: 2018-05-28, 20:40
Kalizman
Wiek: 23 Na forum: 3652 dni Posty: 1394
Piwa : 4619
Normalnie, wpisujesz wspolrzedne na ekranie jako 2, 3, 4 i 5 argument i gotowe.
Więcej informacji znajdziesz w Wikipedii MTA: dxDrawText
Wysłany: 2018-05-28, 21:05
PatryKK.
Emeryt LUA
Wiek: 26 Na forum: 3061 dni Posty: 1060
Nick w MP: PatryKK.
Piwa : 2322
dxDrawText ( text , x , y , x , y , scoreboardScale ), serverInfoFont ), cServerInfo , fontscale ( serverInfoFont , s ( 1.25 )), serverInfoFont , "left" , "top" , false , false , drawOverGUI )
Podpis
GG:75080675
- ✔
- ✔
- ✔
- ✔
Aktualny projekt: BRAK
Tagi: gracze :: online
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: