Pisze w sprawie zmiany koloru czcionki posiadam w lokowaniu na pozycji wpisywania has?a i loginu strasznie wygladaj?co szar? czcionke czy da si? j? zmieni? na czarn?
Witam, chcia?em zmieni? czcionk? tekstu w 3dtexcie z ogrpg i gdy w [lua]font="default"[/lua] zmieniam na [lua]font="123.ttf"[/lua] to czcionka nie zmienia sie. Czcionka nazywa sie 123.ttf i jest w folderze z 3dtextem rowniez dodana jest do mety kod:
[lua]--[[
Resource: OURGame v2
Developers: Split <[email protected]>
Copyright <[email protected]> 2015-2016
You have no right to use this code without my permission.
]]
defscale=2
font="123.ttf"
addEventHandler("onClientRender", root, function()
local rootx,rooty,rootz=getCameraMatrix()
local dim=getElementDimension(localPlayer)
local int=getElementInterior(localPlayer)
local texty=getElementsByType("text")
for i,text in pairs(texty) do
if text and isElement(text) and getElementDimension(text) == dim and getElementInterior(text) == int then
local x,y,z=getElementPosition(text)
--local isLine=isLineOfSightClear(rootx,rooty,rootz, x,y,z, true, false, false, true, false, false, true, nil)
--if not isLine then return end
local dist=getDistanceBetweenPoints3D(rootx,rooty,rootz,x,y,z)
if dist < 22 then
local sx,sy=getScreenFromWorldPosition(x,y,z, 100, true)
if sx and sy then
local name=getElementData(text,"name")
local scale=getElementData(text,"scale")
if not name then return end
dxDrawText(name, sx-1, sy-1, sx-1, sy-1, tocolor(0,0,0,255), (scal...
Zmieni?em ju? na nazwy czyli SID, ID, Organizacja, ale nie mog? sobie poradzi? z ustawieniem tej samej czcionki co w?a?nie wy?ej ustawi?em, pod cyfry czyli np 1, 2, 10, 3, 12 itd. Pod wszystko inne si? podmieni?o tylko nie pod to.
Witam, pobra?em paczke PYS 3.0 Ale chcia?bym zmieni? czcionke Vopisu, jak zmieniam vopis w pliku z nametagiem gdzie vopis si? znajduje, czcionka nie chce si? zmieni? i jest ona "Default" Mo?e kto? pom?c?
witam jak zrobi? czcionk? (podmieni? czcionk?) pod czas na hudzie? takie co?: http://imgur.com/Wicjm0x
pod dan? nazwe czcionki?
tutaj podaje sw?j skrypt na realny czas:
[lua]
function updateTime()
local offset = tonumber(get("offset"))
local realtime = getRealTime()
hour = realtime.hour + offset
if hour >= 24 then
hour = hour - 24
elseif hour < 0 then
hour = hour + 24
end
Witam.
Nie wiem, czy pisz? w odpowiednim dziale,
ale je?li b?dzie to z?y dzia?, to prosz? o przeniesienie.
A wi?c m.in. zale?y mi na czcionce z tego filmiku.
Ma kto? j?? Je?li tak, to prosz? o dl.
Witam, chcia?bym si? dowiedzie? kilku rzeczy oto screen: [img]http://img213.imageshack.us/img213/7326/samp100c.png[/img]
Pierwsze moje pytanie, jak zrobi? tak? czcionke nicku.
Drugie, statusy jak wida? jest tu pe?no status pod g?ow?, chodzi o to, ?e zrobi??m co? takiego, dzia?a ale d?ugo trzeba to robi? i na ka?dy spos?b zrobi?em to tak: