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: ogrpg-offices
1. Problem z ogrpg-offices
Siema, mam problem z ogrpg-offices , poniewa? gdy zdam prawo jazdy np. kat. B po wyj?ciu i wej?ciu na serwer nie posiadam prawa jazdy , ogrpg-offices mam z paczki YOURADVENTURE , w bazie danych mam kolumny pjA , pjB , pjC , pjL i gdy ustawie na 1 to mam prawo jazdy , ale jak zdam prawko w grze to nie ustawia si? automatycznie na 1 tylko dalej jest 0 .
2. ogrpg-offices nie działa
Hej, pobra?em paczk? Your Adventure i przy pr?bie za?adowania skryptu na urz?d wyskakuje error. Dodam ?e na razie gram na serwerze lokalnym, czyli nie mam podpi?tej bazy danych.

SS z debugscript3: https://imgur.com/a/eMHmiZK

oraz podaje sam kod w kt?rym niby wyst?puj? b??d

 local marker2=createMarker(-8054.19,903.32,83.76+0.80"arrow"12552550)
setElementDimension(marker20)
setElementInterior(marker20)



local t=createElement("text")
setElementData(t,"name","Wej?cienPrawo Jazdy")
setElementPosition(t,-)

local t=createElement("text")
setElementData(t,"name","Wyj?cie")
setElementInterior(t,0)
setElementDimension(t,0)
setElementPosition(t,-8054.19,903.35,83.76)




addEventHandler("onMarkerHit"marker, function(el,md)
    
setElementInterior(el,0)
    
setElementDimension(el,0)
    
setElementPosition(el,-8050.34,903.44,83.76
end)

addEventHandler("onMarkerHit"marker2, function(el,md)
    
setElementInterior(el,0)
    
setElementDimension(el,0)
    
setElementPosition(el,-2713.68198.404.33)
end)

createBlip(-2717.86200.214.3436,2,0,0,0,0,0,275)
createBlip(-2051.43,173.31,28.8527,2,0,0,0,0,0,275)
createBlip(-2789.90375.5848.9939,2,0,0,0,0,0,275
3. ogrpg-offices
Siema, czemu nie dzia?a kod na zwalnianie?

[2018-03-29 13] ERROR: [skrypty_glowne]/ogrpg-db/s_db.lua:115: attempt to call global 'mysql_query' (a nil value)

[2018-03-29 13] ERROR: [skrypty_glowne]/ogrpg-offices/selectjobs/s_selectjob.lua:73: call: failed to call 'ogrpg-db:pobierzWyniki' [string "?"]

[2018-03-29 13] ERROR: ogrpg-offices/selectjobs/s_selectjob.lua:74: attempt to get length of local 'result2' (a boolean value)


https://pastebin.com/PZWyHu4a