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: respi
1. Auto nie respi sie w salonie , po zakupie
No mam problem z salonami , dlatego gdy kupie auto to one sie nie respi w salonie . Tylko musze robic reset salonu
2. Nie respi na domku
Witam, jak w temacie mam problem i? po wybraniu spawnu na domek, jak by chcia?o si? zespawni? aczkolwiek pojawia si? czarny ekran(hud oraz czat jest)...
3. Nie respi graczy i ich nie wczytuje serwer...
Witam Serdecznie mam taki problem i? ci?gle mi wyskakuje taki b??d w konsoli
Wie kto? o co chodzi i pom?g? by mi to naprawi?..? mog? wam wrzuci? plik do pobrania przez te b??dy nie respi os?b jak do??czaj? na serwer i tak jakby wgl ich nie wczytuje serwer...

[quote][20-02-06 16] WARNING: [DayZ-MTA]/DayZ/login.lua:512: Bad argument @ 'setAccountData' [Expected account at argument 1, got boolean] [DUP x2333]
[20-02-06 16] WARNING: [DayZ-MTA]/DayZ/login.lua:513: Bad argument @ 'setAccountData' [Expected account at argument 1, got boolean] [DUP x2333]
[20-02-06 16] WARNING: [DayZ-MTA]/DayZ/login.lua:532: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean]
[20-02-06 16] WARNING: [DayZ-MTA]/DayZ/login.lua:585: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean]
[20-02-06 16] ERROR: [DayZ-MTA]/DayZ/survivorSystem.lua:836: attempt to perform arithmetic on local 'current' (a boolean value)
[20-02-06 16] ERROR: [DayZ-MTA]/DayZ/survivorSystem.lua:817: attempt to perform arithmetic on local 'current' (a boolean value)
[20-02-06 16] ERROR: [DayZ-MTA]/DayZ/survivorSystem.lua:836: attempt to perform arithmetic on local 'current' (a boolean value)
[20-02-06 16] ERROR: [DayZ-MTA]/DayZ/survivorSystem.lua:817: attempt to perform arithmetic on local 'current' (a boolean value)
[20-02-06 16] WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:1315: Bad argument @ 'setElementModel' [Expected number at argument 2, got boolean][/quote]

Tut...
4. Po zalogowaniu i wybraniu spawnu nie respi postaci.
Po zalogowaniu i wybraniu miejsca nie chce mi zrespi? postaci, paczka: [YOUR STORIES - PERFECT RPG 1.0]
Prosz? o pomoc, daje piwko, respekt.
5. Nie respi pojazdu w pracy
Siema nie respi pojazdu w pracy

SERVER:
[lua]Pojazdy = {
{-1851.09,-129.32,11.63,0.0,0.2,86.5},
{-1851.18,-134.53,11.63,0.1,359.9,87.2},
{-1851.25,-140.04,11.63,0.1,359.9,86.7},
{-1876.55,-149.54,11.63,0.0,0.0,358.9},
{-1882.07,-149.38,11.63,0.0,0.0,356.6},
}

for i,v in ipairs(Pojazdy) do
local Pojazd = createVehicle(609, v[1], v[2], v[3]+0.3, v[4], v[5], v[6])
setElementData(Pojazd, "pojazd_opis", "Za?adowane Meble : 0%")
setVehicleColor (Pojazd, 0, 255, 84 )
setVehicleHandling(Pojazd,"maxVelocity",100)
setElementData(Pojazd, "pojazdy_przebieg", math.random(500, 1000))
setElementData(Pojazd, "pojazdy_paliwo", 50)
setElementFrozen(Pojazd, true)
setVehicleEngineState(Pojazd, false)
end

addEventHandler("onVehicleEnter", resourceRoot, function(plr, seat)
if seat == 0 then
if getElementData(plr, "graczPraca") == false then
setElementData(plr, "graczPraca", true)
setElementFrozen(source, false)
outputChatBox("* Rozpocza?e? Prace Jako Kurier Mebli, Jed? Za?adowa? Meble!", plr, 255, 255, 255)
triggerClientEvent(plr, "kurier_praca", resourceRoot)
else
outputChatBox("* Posiadasz Ju? Aktywn? Prace!", plr, 255, 0, 0)
end
end
end)



function respawnVehicles()
for i,v in ipairs(getElementsByType("vehicle", resourceRoot)) do
if not getVehicleOccupant(v) then
...
6. Nie respi pojazdu
Cze?? ! Mam malutki k?opot poniewa? po wpisaniu komendy nie respi mi pojazdu :
addCommandHandler("kupauto", function(plr
    
local veh getPedOccupiedVehicle(plr)
    if 
not veh or not getElementData(veh"wSalonie"then outputChatBox("Nie jeste? w poje?dzie na sprzeda?!"plr) return end
        
if not getElementData(veh"cena"then return end
            outputChatBox
("Kupi?e? pojazd marki " .. getVehicleName(veh) .. ", gratulacje!"plr)
            
local kupiles createVehicle(getVehicleName(veh),1465.57, -1729.8013.06360.0360.088.4) -- tu temo?esz
Z g?ry dzi?ki :D

[ Dodano: 2018-09-09, 20:19 ]
DB 3 : WARNING: [skrypty]elife-salon_lssalon.lua:27: Expected number, got non-convertible string. This warning may be an error in future versions
7. Po zalogowaniu nie respi
Witam! Mam paczk? Play Your Stories, loguje si? lecz jest czarny ekran i chat. Na chacie mog? pisa? itp. W WYBORZE SPAWNU WYBRA?EM SPAWN
8. Pickup sie respi
Witam! Mam problem.

Kiedy stworze pickup:

createPickup(xyz31318)


Po jakim? czasie respi si? od nowa. Chc? ?eby sie nie respi?, kiedy sie go zbierze.

Dzi?ki za pomoc.
9. Auto się nie respi
Cze??! Robi? system pojazd?w i nie tworzy mi w og?le pojazdu.

Komenda do tworzenia pojazdu:
[lua]addCommandHandler("veh", function(plr, com, model, owner, temp, rejka, r, g, b)
if model then
local x,y,z = getElementPosition(plr)
local rx, ry, rz = getElementRotation(plr)
if owner then else
local owner = "Publiczny"
end

if tonumber(type(temp)) ~= nil and tonumber(temp) > 0 then
local temp = true
else
local temp = false
end

if rejka then else
local rejka = nil
end

if r then else
local r = nil
end

if y then else
local y = nil
end

if z then else
local z = nil
end

local veh = stworzPojazd(model, x, y, z, rx, ry, rz, owner, temp, rejka, r, g, b)
setElementPosition(plr, x+2, y+2, z)
warpPedIntoVehicle(plr, veh)

if getElementData(veh, "uid") then
outputChatBox("* Utworzono "..getVehicleName(veh).." o UID: "..tostring(getElementData(veh, "uid"))..".", plr)
else
outputChatBox("* Utworzono "..getVehicleName(veh)..".", plr)
end
else
outputChatBox("/"..com.." [Nazwa lub ID] ([W?a?ciciel] [Tymczasowy 0-1] [Rejestracja] [R] [G] [B]", plr)
end
end)[/lua]

A tutaj sama funkcja tworz?ca:
[lua]function stworzPojazd(model, x, y, z, rx, ry, rz, owner, temp, rejka, r, g, b)
if model and owner and temp and rejka and r and g and b then
if (tonumber(type(...
10. auto sie nie respi
marker createMarker(12.4555482864381229.237792968818.34250831604'cylinder'2.0255255255150

function 
createvehicle()
        
createVehicle(5331.75365424156191232.639892578119.350032806396 )
        
end
        addEventHandler 
"onMarkerHit"root(marker), createvehicle