| Tematy otagowane jako: nickname |
| 1. Nieodczytywanie koloru rgb nickname na f11 |
Siemka,
Mam skrypt z communitymtasa na pokazywanie nick?w pod f11, widzimy nicki graczy na mapie, i powinno by? tak ?e tak samo z kolrkiem je?li mamy nick przyk?adowo r??owy, to na mapie jest nasz nick ale te? r??owy, niestety mi nie ?aduje kodu rgb w skrypcie i nie wiem jak to naprawi?, ss poni?ej:
[img]https://i.imgur.com/eJKgJ4y.png[/img]
Kod skryptu:
[lua]
-- Settings variables
local textFont = "default-bold" -- The font of the tag text
local textScale = 1 -- The scale of the tag text
local heightPadding = 1 -- The amount of pixels the tag should be extended on either side of the vertical axis
local widthPadding = 1 -- The amount of pixels the tag should be extended on either side of the horizontal axis
local xOffset = 8 -- Distance between the player blip and the tag
local minAlpha = 10 -- If blip alpha falls below this, the tag won't the shown
local textAlpha = 255
local rectangleColor = tocolor(0,0,0,230)
-- Other variables
local floor = math.floor
local w,h = guiGetScreenSize()
local function drawMapStuff()
if isPlayerMapVisible() then
local sx,sy,ex,ey = getPlayerMapBoundingBox() -- Map positions
local mw,mh = ex-sx,sy-ey -- Map width/height
local cx,cy = (sx+ex)/2,(sy+ey)/2 -- Center position of the map
local ppuX,ppuY = mw/6000,mh/6000 -- Pixels per unit
local fontHeight... |
| 2. [SAMP] UNACCEPTABLE NICKNAME |
Witam, kiedy wchodz? na jakikolwiek serwer, najpierw jest ??czenie, wszystko ?adnie pi?knie. Pogram dos?ownie minut? i wyskakuje mi error:
UNACCEPTABLE NICKNAME chocia? z nickiem wszystko ok.. |
|