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: znikanie
1. Znikanie majątku
Niekt?rym graczom gdy wyjd? z serwera usuwa si? maj?tek mi si? taka sytuacja nie przydarzy?a panel logowania i baza danych niema ?adnych b??d?w core te? wi?c nie wiem co to mo?e by? prosz? o pomoc
2. [MTA] Problen z podmiankami - Znik
Tutaj film: https://www.youtube.com/watch?v=y5UYUxXTekc

Znikaj? mi tekstury na blisko, na daleko normalnie dzia?aj?, nie wiem czym to jest spowodowane. Nie przeinstalowywa?em jeszcze MTA.
3. Znikanie
Witam, mam owy problem poniewa? je?eli mappuje i usuwam budynek to on si? ?le renderuje znaczy si? jak podejd? to dopiero widz? wszystkie obiekty a ja chc? aby by?o z daleka wida? co mam zrobi? i gdzie?
4. Da się wyłączyć znikanie aut ?
Jak po tytule widzicie chodzi mi o znikanie aut w GTA san.Da si? co? zrobi? ?e jak np zostawie je w SF na parkingu i pojade do LS np to ?eby ono nie znik?o w SF ? Z G?RY DZI?KI ;)
5. Funkcja na znikanie pojazdu
Witam.

Nie wiem jakiej funkcji u?y?, ?eby po wyj?ciu z zrespionego pojazdu on znika?.


Pomoc :=: R* :+: :piwo: :p
6. Znikanie GUI po rozwaleniu pojazdu
[center]Witam mam pewien problem.. Po rozwaleniu pojazdu GUI z inofmacjami o ilo?ci MB nie znika.. Czy m?g?by kto? mnie nakierowa? i powiedzie? jakiej funkcji mam u?y? aby to zadzia?a?o, ba? by? by taki mi?y i zrobi? to za piwko i respekt. :piwo: R*
[lua]
local ustawioneAuta = {
{-1166.42,-147.92,14.61,1.6,359.7,129.7},

}

for i,v in ipairs(ustawioneAuta) do
local veh = createVehicle(593, v[1], v[2], v[3], v[4], v[5], v[6])
setElementData(veh,"vehicle:desc","")
toggleVehicleRespawn(veh, true)
setElementFrozen(veh,true)
setVehicleColor (veh, 255, 255, 255)
setVehicleHandling(veh,"maxVelocity",50)
setElementData(veh, "vehicle:BezynaWloczone", true)
end

addEventHandler("onVehicleEnter", resourceRoot, function(plr, seat)
if seat == 0 then
local v = getPedOccupiedVehicle(plr)
triggerClientEvent(plr, "PokazKGokno", resourceRoot)
setElementFrozen(v,false)
setElementData(v,"viewki",0)
setElementData(plr,"pracaView",true)
setPlayerHudComponentVisible (plr, "area_name", false)
end
end)

addEventHandler("onVehicleExit", resourceRoot, function(plr, seat)
local v = getPedOccupiedVehicle(plr)
if seat == 0 then
setElementData(v,"viewki",0)
setElementData(v,"vehicle:desc","")
toggleControl (plr, "brake_reverse", true )
...
7. Znikanie nametagu na inv'ie
Witam mam takie pytanie jak zrobi? ?eby w tym skrypcie je?eli mam alphe 0 to nametag znika

[lua]
srfont = dxCreateFont("DFHEIMDU_id.ttf",16)

g_Root = getRootElement()
g_ResRoot = getResourceRootElement(getThisResource())
g_Players = getElementsByType('player')
g_Me = getLocalPlayer()

nametag = {}
local nametags = {}
local g_screenX,g_screenY = guiGetScreenSize()
local bHideNametags = false

local NAMETAG_SCALE = 0.3 --Overall adjustment of the nametag, use this to resize but constrain proportions
local NAMETAG_ALPHA_DISTANCE = 50 --Distance to start fading out
local NAMETAG_DISTANCE = 100 --Distance until we're gone
local NAMETAG_ALPHA = 255 --The overall alpha level of the nametag
--The following arent actual pixel measurements, they're just proportional constraints
local NAMETAG_TEXT_BAR_SPACE = 1
local NAMETAG_WIDTH = 50
local NAMETAG_HEIGHT = 5
local NAMETAG_TEXTSIZE = 0.3
local NAMETAG_OUTLINE_THICKNESS = 1.2


--
local NAMETAG_ALPHA_DIFF = NAMETAG_DISTANCE - NAMETAG_ALPHA_DISTANCE
NAMETAG_SCALE = 1/NAMETAG_SCALE * 800 / g_screenY

-- Ensure the name tag doesn't get too big
local maxScaleCurve = { {0, 0}, {3, 3}, {13, 5} }
-- Ensure the text doesn't get too small/unreadable
local textScaleCurve = { {0, 0.8}, {0.8, 1.2}, {99, 99} }
-- Make the text a bit brighter and fade more gradually
local textAlphaCurve = { {0, 0}, {25, 100}, {120, 190}, {255, 190} }

setPedTargetingMarkerEnabled ( false )

function nametag...
8. Skrypt na znikanie aut które wybuchły
Cze?? mam problem, poniewa? nie dzia?a mi poni?szy skrypt na znikanie aut po tym jak wybuch?y.

Kod:


setTimer ( function()
vehicles=getPedOccupiedVehicle ( thePlayer )
if ( isVehicleBlown ( vehicles ) ) then
destroyElement(vehicles)
end
end, 5000, 1 )


Prosz? o pomoc :piwo: w nagrode
9. Znikanie GM
Wgra?em GM. Wszystko pi?knie ?miga, lecz wgra?em skrypt (prac?). Restartuj? serwer i co? Musz? GM w??cza? poprzez panel P. Pom??cie ;d I wgrywam skrypty za pomoc? FTP, mam win. XP. Wchodz? w Mods, Deathmatch, Resources wrzucam paczk? w formacie .zip i to wszystko?
10. znikanie pojazdu
Witam.

Jak zrobi? aby ten kod, kt?ry usuwa pojazd podczas gdy gracz wyjdzie z serwera dzia?a? r?wnie? identycznie po wyj?ciu gracza z auta ?


addEventHandler
("onPlayerQuit",root, -- po wyjsciu z gry betoniarka znika
function ()
    
local betoniarka auto[source
    if 
betoniarka then
        
if isElementbetoniarka then
            destroyElement
betoniarka ) -- usuwa betoniarke 
        end
        auto
[source]= nil
    end
end
)


Pozdrawiam i za pomoc daje :arrow: :piwo:
11. [INNE] Znikanie nicku admina
Cze??. Mam taki jeden problem, ?e jak gracz jest zalogowany na serwerze jako administrator to pokazuje go w /admins jako 'Gracz(ID) Head Admin' - jest okej. Kiedy zcrashuje go z serwera wtedy zostaje tylko '[puste miejsce] Head Admin' jak temu zaradzi?? postawi? :piwo: