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
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?
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
[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.
[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 )
...
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
-- 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} }
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?
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?