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: nie
1081. Nie ładujące się resources
Witam robi?em server u sb lokalnie w mta , postanowilem w koncu kupic i wrzucic pliki na hosting (serverproject) i nwm czemu wywala bledy i nie moze odnalesc plikow
Wrzucam zdjecie:
https://zapodaj.net/76866f6796da7.jpg.html

Bardzo prosz? o pomoc :/
1082. Nie działą hud
??cze si? z serwer loguje i nie mam hudu nie wiem oco chodzi jakie? b??dy

DB3 : http://imgur.com/a/Obl7L

[lua]

local font = dxCreateFont("font.otf", 33)

local sw,sh = guiGetScreenSize()

addEventHandler("onClientPreRender", root, function()
local x,y,z = getElementPosition(localPlayer)
local ulica = getZoneName(x,y,z, false)
local ulica2 = getZoneName(x,y,z, true)
if ulica2~=ulica then ulica = " "..ulica.."n"..ulica2 else ulica = " "..ulica end
if dxSetAspectRatioAdjustmentEnabled then
dxSetAspectRatioAdjustmentEnabled(true)
end
if isPlayerHudComponentVisible("radar") and getElementInterior(localPlayer) == 0 then
dxDrawText(ulica, sw*4/20, sh*18/20, sw*4/20, sh*18/20+sh*1/21.9, tocolor(255,255,255,255), 0.33, font, "left", "center")
dxDrawRectangle(sw*2.5/20, sh*18/20, sw*0.7/4, sh*1/21.9, tocolor(inDMZone and 100 or 0, 0, 0, 100))
end
end)

resourceroot = getResourceRootElement(getThisResource())
local noreloadweapons = {} --Weapons that doesn't reload (including the flamethrower, minigun, which doesn't have reload anim).
noreloadweapons[16] = true
noreloadweapons[17] = true
noreloadweapons[18] = true
noreloadweapons[19] = true
noreloadweapons[25] = true
noreloadweapons[33] = true
noreloadweapons[34] = true
noreloadweapons[35] = true
noreloadweapons[36] = true
noreloadweapons[37] = true
noreloadweapons[38] = true
noreloadwea...
1083. Nie moę wgrac bazy danych MySQL
Cze??, mam problem bo gdy wgrywam baz? danych z IYW to pisze mi taki komunikat:

Kod:

B??d

Zapytanie SQL:

CREATE TABLE IF NOT EXISTS `3dtexty` (
`id` int(4) NOT NULL COMMENT 'ID 3dtextu',
`type` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'text' COMMENT 'textorg lub text',
`text` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'TEST 3d TEXTU' COMMENT 'Tekst jaki ma byc widonczy',
`interior` int(4) DEFAULT '0' COMMENT 'Interior w jakim tekst sie znajduje',
`dimension` int(4) DEFAULT '0' COMMENT 'dimension w jakim tekst sie znajduje',
`pos` varchar(180) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'pozycja na jakich tekst sie znajduje',
`scale` varchar(4) COLLATE utf8_unicode_ci NOT NULL DEFAULT '1' COMMENT 'Skala tekstu',
`komentarz` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Opis gdzie to jest dla siebie(nie widoczne nic w grze)'
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci

MySQL zwr?ci? komunikat: Dokumentacja
#1046 - No database selected
1084. Panel Admina się nie włącza !!!
Witam mam problem wchodz? na serwer wpisuje /register nick has?o i wszystko gra ale gdy wpisze login aby zalogowa? si? do admina to pisze

Authorized serial account protection is enabled for the ACL group(s): `AdminSee http://mtasa.com/authserial


Za pomoc piwo
1085. Nie czyta obiektów na serwerze
Wrzucam obiekty na serwer (jeden plik) i kilka obiekt?w jest a reszty nie ma

U?ywam CreateObject bo nwm czemu ale CreateDynamicObject mi nie dzia?a, pobiera?em najnowsz? wersje streamera i nic....
1086. Prawko sie nie Zapisuje
Siemka! Mam nastepujacy problem Mam wgrany modu? wszystko cycu? ale kiedy? wesz?em na serwer a tu pstryk... Brak Prawa Jazdy kat. B z Reputacja to samo Jest na to inne rozwi?zanie daje Zimnego :piwo:
1087. Gracz dołącza i nic się nie dzieje
Gracz normalnie do??cza do gry

addEventHandler('onPlayerJoin'root, function(playerNickplayerIPplayerUsernameplayerSerial)
    
local result=exports['pystories-db']:dbGet('SELECT * FROM pystories_ban WHERE active=1 AND serial=? AND time>NOW() LIMIT 1;'playerSerial)
    if 
#result > 0 then
        
outputConsole("***********************",source)
        
outputConsole(string.format("Zostales zbanowany na serwerze! "),source)
        
outputConsole(string.format("Je?li uwa?asz ,?e ban jeste nies?uszny napisz na naszym forum:(w pracy)! "),source)
        
outputConsole(string.format("Posiadasz Bana do "..result["time"]),source)
        
outputConsole(string.format("Posiadasz Bana za: "..result["reason"]),source)
        
outputConsole("***********************",source)
    
kickPlayer(source,string.format("Kliknij f8 aby zobaczyc wiecej informacji!"))
    else
        
exports["pystories-db"]:dbSet("DELETE FROM pystories_ban WHERE type=? AND active=1 AND serial=?""ban"playerSerial)
    
end
end
)


Pomocy oczywi?cie piwo
1088. Gracz nie może się połączyć.
Pawn

Number of vehicle models
0
[connection] ---- requests connection cookie.
[
connectionincoming connection: ---- id0
[joinShiv3rhas joined the server (----)
Kicking ---- because they didn't logon to the game.


Wie kto? co mo?e by? przyczyn? tego o to b??du mianowicie chodzi mi o to
Pawn
Kicking ---- because they didn't logon to the game.


Powoduje to brak mo?liwo?ci wej?cia na server. :(

Licze na pomoc i daje :piwo: ;]
1089. Nie daje mi pieniędzy
Praca nie daje mi pieni?dzy

Client
[lua]local jobPoints = {
{2311.1,5003.7,8},
{2337.2,4976.5,8},
{2326.5,4986.2,8},
{2331.3,4967,8},
{2320,4979,8},
{2312.5,4986.5,8},
{2302.3,4996.5,8},
{2295.3,4992.6,8},
{2313.8,4974.1,8},
{2290.3,4986.6,8},
{2291.1,4979.1,8},
}


local jobMarker
local jobStartMarker=createMarker(2313.9,4955.18,6.8, "cylinder", 1.8, 0, 255, 255, 20)
setElementInterior(jobStartMarker, 0)


function finishJob()
if jobMarker and isElement(jobMarker) then
destroyElement(jobMarker)
jobMarker=nil
end
if jobTarget and isElement(jobTarget) then
destroyElement(jobTarget)
jobTarget=nil
end
end

local function showMarker()
rnd=math.random(1, #jobPoints)
jobMarker=createMarker(jobPoints[rnd][1], jobPoints[rnd][2], jobPoints[rnd][3], "checkpoint", 1.2, 0, 0, 255, 0)
local blip = createBlipAttachedTo(jobMarker, 41)

addEventHandler("onClientMarkerHit", jobMarker, function(el,md)
if el~=localPlayer or not md then return end
if not getPedOccupiedVehicle(el) then
setElementFrozen(el, true)
exports["1"]:outputNotificationBox ("#00ccccTrwa odk?adanie paczki")
setTimer(function()
finishJob()
playSoundFrontEnd(1)
setElementFrozen(el, false)
toggleControl("jump", true)
toggleControl("sprint", true)
toggleControl("enter_exit", true)
setElementData(el, "player_job", false)...
1090. Nie dziala mi RH1
Witam mam rh podpi?te ?adnie wszystko i nie wiem czemu nie dzia?a podpi?te pod pystories


Server
[lua]function getVehicleHandlingProperty ( element, property )
if isElement ( element ) and getElementType ( element ) == "vehicle" and type ( property ) == "string" then
local handlingTable = getVehicleHandling ( element )
local value = handlingTable[property]

if value then
return value
end
end

return false
end

function o(c)
if c then
local gora = getElementData(c, "rh:up") or 0
local s=getVehicleHandlingProperty(c,"suspensionForceLevel")
if tonumber(gora) == 4 then exports["1"]:outputNotificationBox (getVehicleController(c), "#cc0000Osi?gn??e? limit regulacji zawieszenia!") cancelEvent() return end
setVehicleHandling(c,"suspensionForceLevel",tonumber(s) - 0.16)
setElementData(c, "rh:up", gora+1)
exports["1"]:outputNotificationBox (getVehicleController(c), "#00ccccAuto zosta?o obni?one!")
end
end
addEvent("rh:o", true)
addEventHandler("rh:o", root, o)
function p(c)
if c then
local gora = getElementData(c, "rh:up") or 0
local s=getVehicleHandlingProperty(c,"suspensionForceLevel")
if tonumber(gora) == -8 then exports["1"]:outputNotificationBox (getVehicleController(c), "#cc0000Osi?gn??e? lim...
1091. Scroluje i nic się nie dzieje
Witam mam drzwi pod scrolla scroluje i nic si? nie dzieje
[lua]bm5 = createMarker(2329.49731, 2486.36792, 1028.81982, "cylinder", 1.0, 0, 0, 0, 0) -- gdzie ma byc marker w ktorym bedzie sie scrollowac
d5 = createObject (2930, 2330, 2488.400390625, 1030.5, 0, 0, 0) -- podajesz koordy obiektu

local kategoria_animacji = "CRIB"
local animacja = "CRIB_Use_Switch"

function isPlayerInPoliceFaction(plr)
local uid=getElementData(plr,'player:uid')
if not uid then return end

local result=exports['pystories-db']:dbGet('SELECT 1 FROM ogrpg_factions WHERE code=? AND uid=? LIMIT 1;', "SAPD", uid)
if result[1] then
return true
else
return false
end
end

function od6 ( thePlayer)
if isElementWithinMarker(thePlayer, bm5) then
if isPlayerInPoliceFaction(thePlayer) then --Tutaj zmieniasz tylko "Policja"
moveObject ( d5, 2500, 2330, 2490.12, 1030.5) -- Koordy otwartych drzwi
setTimer(setPedAnimation, 1066.66, 1, thePlayer)
setPedAnimation(thePlayer,kategoria_animacji,animacja,true,false,false)
end
end
end

function zd6 ( thePlayer)
if isElementWithinMarker(thePlayer, bm5) then
if isPlayerInPoliceFaction(thePlayer) then --Tutaj zmieniasz tylko "Policja"
moveObject ( d5, 2500, 2330, 2488.400390625, 1030.5) -- koordy zamknietch drzwi
setTimer(setPedAnimation, 1066.66, 1, thePlayer)
...
1092. Nie wczytują mi się zabrane prawa jazdy (kosiarki)
Wchodz? w marker i nic nie dzia?a dlatego ,?e doda?em ,?e jak kto? ma zabrane prawko nie mo?e prowadzi? a tu skrypt si? zepsu? marker wszystko jest ale jak wchodz? nic si? nie dzieje

[lua]local m=createMarker(-2465.28,-322.64,41.93-1, "cylinder", 1.2, 0, 255, 255, 50)
local jobText=createElement("text")
setElementPosition(jobText, -2465.28,-322.64,41.93-0.5)
setElementData(jobText, "name", "Koszenie trawynWymagania: Kat. B")
createBlipAttachedTo(m, 46, 2, 255,0,0,255,0,400)

addEvent("givePlayerMoney", true)
addEventHandler("givePlayerMoney", resourceRoot, function(ile)
givePlayerMoney (client, ile)
end)


addEvent("mower:stopJOB", true)
addEventHandler("mower:stopJOB", root, function(veh)
if not veh then return end
destroyElement(veh)
end)

local zone = createColSphere(-2465.28,-322.64,41.93, 5, 4.5, 2)

addEventHandler("onMarkerHit", m, function(el,md)
if getElementData(plr,"player:license:pj"..type.."") ~= 1 then
outputChatBox("* Nie posiadasz prawa jazdy kategorii "..type..", zdaj je w urz?dzie miasta", plr, 255, 0, 0)
return true
end

local result=exports["pystories-db"]:dbGet("SELECT * FROM pystories_punish WHERE serial=? AND type=? AND active=1 AND time>NOW()", getPlayerSerial(plr), tostring(type))
if result and #result > 0 then
v=result[1]
outputChatBox("* Posia...
1093. PYS Wpisuje komendę duty i nie mogę mierzyć ani bić
Witam mam GM Pysa wpisuje komend? duty i bicie si? nie odblokowuje

Za pomoc zimneeeeee :piwo:
1094. Prywatnymi Pojazdami - Nie Dziala
Witam posiadam tu kod od ironman czy jakos tak i gdy pisz? /pojazd ID NICK, czyli np /pojazd 588 Allansso to sie respi ale gdy chce zrespic graczowi pojazd to pisze /pojazd 600 krystian to zamiast jego to mi sie respi pojazd co tu nie dziala?

[code]

--Skrypt by Irons--
--Mo?esz u?ywa? tego kodu, i go edytowa?.. ale wspomnij gdzie? o autorze ;)


addEventHandler("onResourceStart",resourceRoot,function() -- Funkcja kt?ra sprawdza czy posiadamy tabel? w registry.db, je?li nie to j? tworzy
local state = executeSQLQuery("CREATE TABLE IF NOT EXISTS pojazdy (id INT, model INT, owner TEXT, kolor1 INT, kolor2 INT, kolor3 INT, kolor4 INT, kolor5 INT, kolor6 INT, posx FLOAT, posy FLOAT, posz FLOAT, rotz FLOAT)")
if state then
outputDebugString("* Utworzono tabel?")
else
outputDebugString("* Nie utworzono tabeli")
end
end)

--JE?LI NIE ZNASZ SI? NA MYSQL / SQL ANI LUA TO NIC NIE EDYTUJ!!!!!!

local auta = {} -- tabela z autami

addCommandHandler("pojazd",function(plr,cmd,modelid,gracz) -- komenda /pojazd <id pojazdu> <nick gracza>
if modelid and gracz then -- sprawdzamy czy podalismyy wszystkie argumenty
modelid = tonumber(modelid)
if modelid then
local x,y,z = getElementPosition(plr)
local pojazd = createVehicle(modelid,x,y,z,0,0,0) --tworzymy pojazd
if not pojazd then
outputChatBox("* Nie uda?o si? utworzy? pojazdu!",plr) return end
table.insert(auta,pojazd)
setElementData(pojazd,...
1095. Zpj nie dziala mam module
Witam zpj nie dziala a posiadam module podaje blad

ERRORdutyadmin/s_cmd.lua:509callfailed to call 'ogrpg-db:pobierzWyniki' [string "?"]
1096. Nie mogę otworzyć bramy YA
[lua]brama1 = createObject( 11313, -2102.099,-38, 36.299, 0, 0, 180 )

function bramao (thePlayer)
if getElementData(thePlayer,'player:duty') and getElementData(thePlayer,'player:duty')=='PSP' then
moveObject ( brama1, 2000, -2102.099,-38, 32.3)
end
end
addCommandHandler("o",bramao)

function bramaz (thePlayer)
if getElementData(thePlayer,'player:duty') and getElementData(thePlayer,'player:duty')=='PSP' then
moveObject ( brama1, 2000, -2102.099,-38, 36.299)
end
end
addCommandHandler("z",bramaz)

---------------------------------

brama2 = createObject( 11313, -2102.100,-28.5, 36.299, 0, 0, 180 )

function bramao (thePlayer)
if getElementData(thePlayer,'player:duty') and getElementData(thePlayer,'player:duty')=='PSP' then
moveObject ( brama2, 2000, -2102.100,-28.5, 32.3)
end
end
addCommandHandler("o",bramao)

function bramaz (thePlayer)
if getElementData(thePlayer,'player:duty') and getElementData(thePlayer,'player:duty')=='PSP' then
moveObject ( brama2, 2000, -2102.100,-28.5, 36.299)
end
end
addCommandHandler("z",bramaz)

---------------------------------

brama3 = createObject( 11313, -2102.100,-18.799, 36.299, 0, 0, 180 )

function bramao (thePlayer)
if getElementData(thePlayer,'player:duty') and getElementData(thePlayer,'player:duty')=='PSP' then
moveObject ( brama3, 2000, -2102.100,-18.799, 32.3)
end
end
addCommandHandler("o",bramao)

function bramaz (thePlayer...
1097. Pierwszy Skrypt nie działa...
Witajcie! Nauk? LUA rozpocz??em wczoraj. I dzisiaj wzi??em si? za pisanie pierwszego skryptu, aby nauczy? si? sk?adni itp. Meta jest ustawiona na server. B??d polega na tym, ?e po wpisaniu komendy nic si? nie dzieje i b??d?w pod DB3 tez nie ma.

function informacje plr )

    
local kasa getPlayerMoney ()
    
local serial getPlayerSerial ()
     
local ping getPlayerPing ()
    
local ip getPlayerIP player )
    
        
outputChatBox("Twoje Pieni?dze: " .. kasathePlayer)
        
outputChatBox("Tw?j Serial; " .. serialthePlayer)
        
outputChatBox("Tw?j Ping: " .. pingthePlayer)
        
outputChatBox("Twoje IP: " .. ipthePlayer)
end
addCommandHandler
("info"informacje)
1098. Dialog nie działa
Witam, dlaczego ten dialog nie dzia?a ?? Pr?bowa?em, kombinowa?em ale nie chce dzia?a?
[pawn]
//GORA SKRYPTU
#define D_SALONPRIV 17
#define D_SALONPRIVSPORTOWE 198
#define D_SALONPRIVSALONOWE 199
#define D_PRIVPANELPOJAZDY 200

[/pawn]
[pawn]
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == D_SALONPRIV)
{
if(response == 1)
{
switch(listitem)
{
case 0:
{
new PrivcarydialogS[][] =
{
"NazwatPredkosctCenan",
"Infernust246km/ht180000$n",
"Phoenixt190km/ht85000$n",
"ZR-350t207km/ht98500$n",
"Buffalot207km/ht95500$n",
"Sultant188km/ht72325$n",
"Cheetaht214km/ht130412$n"
};
new longstrings[1500];
for(new d; d < sizeof PrivcarydialogS; d++) strcat(longstrings, PrivcarydialogS[d][0]);
ShowPlayerDialog(playerid, D_SALONPRIVSPORTOWE, DIALOG_STYLE_TABLIST_HEADERS, "{96ff91}Salon Prywatnych Pojazdow", longstrings, "Kup!", "Wyjdz");
}
case 1:
{
new PrivcarydialogSA[][] =
{
"NazwatPredkosctCenan",
"Flasht183km/ht65000$n",
"Elegt193km/ht70000$n",
"Stratumt171km/ht72450$n"
};
new longstringsa[1500];
for(new i; i < sizeof PrivcarydialogSA; i++) strcat(longstringsa, PrivcarydialogSA[i][0]);
ShowPlayerDialog...
1099. Nie działa giełda
Client
[lua]local marker=createMarker(-2358.20, -50.63, 35.31-1, "cylinder", 5, 0, 0, 0, 155)
local cuboid=createColCuboid(-2361.4538574219, -60.199493408203, 33.187068939209, 56.6, 32.5, 11)
createBlip(-2319.64, -36.99, 35.32, 55,2,0,0,0,0,0,275)

local wstep=false
local podatek=0

local text=createElement("text")
setElementPosition(text,-2358.20, -50.63, 35.31)
setElementData(text,"name","Gie?danUstawianie ceny.")


function getPlayerName2(plr)
if not plr then return end
return getPlayerName(plr):gsub("#%x%x%x%x%x%x","")
end

local wm={}
wm.window=guiCreateWindow(0.74, 0.33, 0.25, 0.50, "Gielda", true)
guiWindowSetSizable(wm.window, false)
guiWindowSetMovable(wm.window, false)
guiSetVisible(wm.window, false)
wm.label=guiCreateLabel(0.06, 0.07, 0.89, 0.07, "Wpisz cen? kt?ra ma widnie? na poje?dzie.", true, wm.window)
guiLabelSetHorizontalAlign(wm.label, "center", false)
guiLabelSetVerticalAlign(wm.label, "center")
wm.label2=guiCreateLabel(0.06, 0.21, 0.89, 0.07, "Po odj?ciu podatku cena wyniesie: 0 PLN", true, wm.window)
guiLabelSetHorizontalAlign(wm.label2, "center", false)
guiLabelSetVerticalAlign(wm.label2, "center")
wm.edit=guiCreateEdit(0.06, 0.40, 0.91, 0.10, "", true, wm.window)
wm.submit2=guiCreateButton(0.06, 0.55, 0.90, 0.16, "Zgadzam si?", true, wm.window)
wm.submit=guiCreateButton(0.06...
1100. Serwer nie dziala
Witam mam taki ?e gdy wrzucam GM / pluginy / include na Hosting ServerProject.eu to w logach serwer odpalony nie wy??cza si? nic ale gdy si? na niego wbija to nie da si? z nim po??czy? ! co zrobi?? nie jest tak tylko na 1 GM ! tylko na 2 moich GM! jakie? rozwi?zania ? wgrywam wszystkie potrzebne pluginy i include
1101. Nie mogę się zarejestrować w
Wpisuj?c /register (nick) (has?o) na moim serwerze nic si? nie dzieje.
Czy mo?liwe jest to ?e problem jest gdzie? w [admin]?
1102. ROZDZIALKA NIE DZIALA
Witam!
Mam problem gdyz na mojej rozdzielczosci dziala ladnie wszystko czyli 1920 na 1080 a jak wejda inni to maja wszystko inaczej juz probowalem to ustawic pomoze ktos?!

[code]mojeX,mojeY = 800, 600
x,y = guiGetScreenSize()
width, height = (x/mojeX), (y/mojeY)

czcionka = dxCreateFont("fonts/myriadproregular.ttf", 9)
czcionka2 = dxCreateFont("fonts/myriadproregular.ttf", 18, true)
local x,y = guiGetScreenSize()
okno = guiCreateGridList(x/3.8, y/3.8, x/2.02, 0, false)
guiSetVisible(okno, false )

function draw()
dxDrawRectangle(x/4, y/3.8, x/2, y/2, tocolor(0,0,0,130), true)
dxDrawText("Konto #FFFF00Gold #FF0033Country #FFFFFFLife", x/2*width, y/3.7*height, x/2.02*width, y/2.9*height, tocolor(255, 255, 255, 255), 1.00, czcionka2, "center", "center", true, true, true, true, true)
dxDrawText("Na naszym serwerze s? dost?pne 3 opcje kupna konta GOLD:n-P?atno?? SMSn-P?atno?? poprzez PaySafeCardn-P?atno?? poprzez konto PayPalnn--P?atno?? SMSn Wa?no?? Koszt SMS Tre?? SMS Numern 30 dni 23.37 brutto! AA.SP 91955 n 15 dni 11.07 brutto! AA.SP 7936n 10 dni 7,38 brutto! AA.SP 7636n 5 dni 4.92 brutto! AA.SP 7455nn--P?atno?? PSCn Wa?no?? Koszt Kodn 60 dni 40PLN PODAJESZ RCONOWI n ...
1103. Nie wykonujacy...
Witam mam problem z publickiem OnPlayerConnect chodzi o to ze on sie wog?le nie wykonuje doda?em cos takiego
Pawn

public OnPlayerConnect(playerid)
{
    new 
text[256];
    
SCM(playeridCZERWONY"Witaj %s na San Fierro - Draw your History - Diamond Roleplay!"PName(playerid));
    
printf("%s wbil na serwer"PName(playerid));
    if(!
dini_Exists(Konto(playerid)))
    {
        
SCM(playeridLIMONKOWY"Witaj "C_CZERWONY"%s "C_LIMONKOWY"na "C_ZOLTY"San Fierro - Draw your History!"PName(playerid));
        
SCM(playeridLIMONKOWY"Konto o Twojej nazwie nie posiada zadnych postaci, wpisz haslo do konta i stworz swoja postac!"None);
        
ShowPlayerDialog(playeridDIALOG_REGISTER_PASSWORDDIALOG_STYLE_INPUT""C_LIMONKOWY">> "C_BIALY"Haslo""Wpisz haslo do konta""Dalej""Wyjdz");
    }
    else
    {
        
ShowPlayerDialog(playeridDIALOG_LOGINDIALOG_STYLE_PASSWORD""C_LIMONKOWY">> "C_BIALY"Haslo""Konto o Twojej nazwie istniejenWpisz haslo do konta lub kliknij wyjdz""Dalej""Wyjdz");
    }
    return 
1;
}


Ale to sie wog?le nie wykonuje - nic sie nie pokazuje w konsoli ani nic prosze o pomoc wszystko inne dziala :piwo: + respekt za pomoc
1104. OGRPG Nie mogę stworzyć domu dokładnie PYS 3.0
Witam mam problem pr?buje tworzy? dom na ogrpg wpisuje stworz.dom a dom si? nie robi
1105. Jak zabespieczyc podmianke zeby jej nie mozna było znalesc w
Jak zabespieczyc podmianke zeby nie mo?na by?o jej znale?c w plikach jak ktos wbije na serwa bo jest to priv podmianka
1106. Nie mogę włączyć swojej mapy
Witam, chcia?bym aby?cie mi pomogli bo mam zrobion? map? i zapisa?em j? i patrze na nast?pny dzie? ze jej niema a mam ja w resources. Wie kto? o co chodzi? :shock:
1107. Nie mogę zamknąć okna
[lua]addEvent("pokazPanelTuningu", true)
addEventHandler("pokazPanelTuningu", localPlayer, function(veh)
if not isElement(GUIEditor.window[1]) then
if getElementData(veh, "vehicle:spawn") then
showCursor(true)
veh1 = veh
setElementData(localPlayer, "tune:car", veh)
local screenW, screenH = guiGetScreenSize()
GUIEditor.window[1] = guiCreateWindow((screenW - 888) / 2, (screenH - 546) / 2, 888*width, 546*height, "---=== Tuningowanie pojazdu ===---", false)
guiWindowSetSizable(GUIEditor.window[1], false)
GUIEditor.button[1] = guiCreateButton(445*width, 484*height, 233*width, 52*height, "TUNINGUJnDEMONTUJ", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA")
GUIEditor.button[2] = guiCreateButton(212*width, 484*height, 233*width, 52*height, "ZAMKNIJ OKNO", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA")
GUIEditor.gridlist[1] = guiCreateGridList(31*width, 41*height, 827*width, 390*height, false, GUIEditor.window[1])
guiGridListAddColumn(GUIEditor.gridlist[1], "ID CZESCI", 0.15)
guiGridListAddColumn(GUIEditor.gridlist[1], "TYP", 0.15)
guiGridListAddColumn(GUIEditor.gridlist[1], "AKCJA", 0.15)
guiGridListAddColumn(GUIEditor.gridlist[1], "KOSZT CZESCI", 0.15)
guiGridListAddColumn...
1108. Nie odpowiadający serwer w S.A.M.P
Po d?ugich rozmy?leniach nad sensem prowadzenia funkcjonalno?ci mojego serwera postanowi?em napisa? map? od zera. Map? doprowadzi?em do dziesi?ciu tysi?cy linijek kodu. Gdy odpali?em map? w konsoli by?o wszystko okej, chcia?em wej?? do ?rodka kodu, w sensie na platformie S.A.M.P - O.K, wszed?em a? tu nagle informacja, ?e serwer nie odpowiada, czy co? w tym stylu. Mia?em fajne obiekty, wi?c licz? na pomoc od strony u?ytkownik?w w celu naprawy mo?liwego b??du.
1109. Serwer się nie uruchamia :/
Siemka :P Dopiero zaczynam swoj? przygod? z byciem H@ i mo?na powiedzie? ?e si? ucz? ;'D Wgra?em gamemoda xyzzy, lecz serwer wgl si? nie ?aduje :/ Jestem nowy wi? prosi? bym o pomoc, lista b??d?w:

[code][2017-03-03 11:46:35] ERROR: Couldn't find resource wb-sad. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-salon_tatuazu. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-scena. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-silownia. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-sklep_muzyczny. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-sluzby_specjalne. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-stacja_telewizyjna. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-stadion. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-statek_w_porcie. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-straz_pozarna. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-szpital. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-tartak. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-taxi. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-telebimy. Check it exists.
[2017-03-03 11:46:35] ERROR: Couldn't find resource wb-turystyka. Check it exists.
[2017-03-03 11:46:35] E...
1110. nie działa "p" (panel admina)
Witam mam problem nie dzia?a mi panel po zarejestrowaniu si? i zalogowaniu komendami ||/register login haslo|| i ||/ login login haslo|| uprzedzam komentarze typu "wklej sw?j nick do acl" poniewa? wszystko zrobi?em dobrze tutaj macie m?j acl (tylko t? wa?niejsz? cz???)

[lua]<acl>
<group name="Everyone">
<acl name="Default"></acl>
<object name="user.*"></object>
<object name="resource.*"></object>
</group>
<group name="Moderator">
<acl name="Moderator"></acl>
<object name="resource.mapcycler"></object>
<object name="resource.mapmanager"></object>
<object name="resource.resourcemanager"></object>
<object name="resource.votemanager"></object>
</group>
<group name="SuperModerator">
<acl name="Moderator"></acl>
<acl name="SuperModerator"></acl>
</group>
<group name="Admin">
<acl name="Moderator"></acl>
<acl name="SuperModerator"></acl>
<acl name="Admin"></acl>
<acl name="RPC"></acl>
<object name="resource...
1111. Straszne lagi co jest nie tak ?
[lua]createBlip(-1624.73, 690.99, 7.19, 30,2,0,0,0,0,0,275)

function getPointFrontOfElement(element,distance)
if not element then return end

local x, y, z = getElementPosition ( element )
local rx, ry, rz = getElementRotation ( element )
x = x + (distance * (math.sin(math.rad(-rz))) )
y = y + (distance * (math.cos(math.rad(-rz))) )
return x,y,z
end

function getPositionFromElementAtOffset(element,x,y,z)
if not element then return end
if not x or not y or not z then
return x, y, z
end
local matrix = getElementMatrix ( element )
local offX = x * matrix[1][1] + y * matrix[2][1] + z * matrix[3][1] + matrix[4][1]
local offY = x * matrix[1][2] + y * matrix[2][2] + z * matrix[3][2] + matrix[4][2]
local offZ = x * matrix[1][3] + y * matrix[2][3] + z * matrix[3][3] + matrix[4][3]
return offX, offY, offZ
end

function getVehicleWheelPosition(vehicle,wheel)
local x, y, z = 0, 0, 0
local minX, minY, minZ, maxX, maxY, maxZ = getElementBoundingBox(vehicle)
if wheel == 1 then
x, y, z = getPositionFromElementAtOffset(vehicle, minX, maxY, minZ)
elseif wheel == 2 then
x, y, z = getPositionFromElementAtOffset(vehicle, minX, -maxY, minZ)
elseif wheel == 3 then
x, y, z = getPositionFromElementAtOffset(vehicle, maxX, maxY, minZ)
elseif wheel == 4 then
x, y, z = getPositionFromElementAtOffset(vehicle, maxX, -maxY, minZ)
end
return x, y, z
end

function onClientRender()
if isPedInVehicle(localPlayer) then
local vehicle = ...
1112. Jest Admin, A jednak nie ma ?
Witam. Mam problem z adminem. Doda?em siebie w FTP jako user.Magiczny. Niby jest panel admina ale nie dzia?a /duty i inne pierdo?y

Jak pisz? /admins , to pisz? ?e nie ma: http://imgur.com/a/HWAGx

A jako? mam panel admina: http://imgur.com/a/xDbPB

FTP: http://imgur.com/a/0sJZm

A drugim b??dem jest TAB: http://imgur.com/a/VqN9f
1113. Nie działa mi panel logowania
Witam. Na moim serwerze (pseudolu) Nie dzia?a panel logowania. 1. Problemem by?o to ?e jak si? zarejestrowa?em i klikn??em login pisa?o ?e nie istnieje takie konto. 2. Problemem teraz w og?le nie mog? nic napisa? w tym obszarze do pisania. Ten skrypt to ogrpg-logging.

Tutaj jest moje FTP: http://imgur.com/a/Ir4Ji

I tak jak m?wi?em klikam i nic: http://imgur.com/a/mixoR

Bardzo prosz? o pomoc. Oczywi?cie postawi? piwo albo + :)
1114. GTA V nie zwalnia!
Jak donosi serwis Gry-Online, Grand Theft Auto V po raz dwunasty zdobywa pierwsze miejsce, w rankingu najlepiej sprzedaj?cych si? gier w UK!




GTA V do??czy?o do elitarnej 'pi?tki' gier, kt?rym podobny wyczyn uda? si? co najmniej dwana?cie razy.

Pozosta?e tytu?y to: Who Wants to Be A Millionaire (osiemna?cie razy na pierwszym miejscu), Wii Fit (szesna?cie), Zumba Fitness (trzyna?cie) i FIFA 14 (dwana?cie).

Mimo, ?e gra ma 3 lata na karku, wci?? pozostawia konkurencj? daleko w tyle! GTA V pobi?o ju? wszystkie mo?liwe rekordy i jak wida?, nie zamierza zwalnia?.

R* do?? wysoko zawiesi? sobie poprzeczk?. Pytanie tylko, jak bardzo j? podniesie, wydaj?c nowe GTA? ;)



Poni?ej znajdziecie pe?n? list?, TOP10 UK.

1. Grand Theft Auto V
2. Nioh
3. Resident Evil VII: Biohazard
4. FIFA 17
5. Call of Duty: Infinite Warfare
6. Battlefield 1
7.Rocket League
8. Hitman: The Complete First Season
9. Overwatch
10. Watch Dogs 2
1115. Wiadomosc sie wysyla mimo ze nie powinna
Witam, mam tak? komende:
Pawn
dcmd_zaladuj(playeridparams[])
{
    
#pragma unused params
    
new vehicleid GetPlayerVehicleID(playerid);
    new 
pid GetVehicleModel(vehicleid);
    if(
gGracz[playerid][Towar] == 0)
    {
        if(
pid == 482 || pid == 459 || pid == 455 || pid == 456 || pid == 440 || pid == 433 || pid == 414 || pid == 413)
        {
            for(new 
pzpz sizeof(PunktyZaladunku); pz++)
            {
                if(
IsPlayerInRangeOfPoint(playerid10PunktyZaladunku[pz][0],PunktyZaladunku[pz][1],PunktyZaladunku[pz][2]))
                {
                    
ShowPlayerDialog(playeridD_TOWARYDIALOG_STYLE_LIST"Zaladunek""MlekonPaliwonOlejenJogurty""Zaladuj""Anuluj");
                }
            }
            
SendClientMessage(playeridCOLOR_RED"Nie jestes w punkcie zaladunkowym!");
        }
        else
        {
            
SendClientMessage(playeridCOLOR_RED"W tym pojezdzie nie mozesz przewozic towarow !");
        }
    }
    return 
1;
}


Moim problemem jest, ze po podjechaniu pod marker z zaladunkiem, wczytuje sie dialog z ktorego zaladuje mi sie towar, ale wysyla sie wiadomosc: "Nie jestes w punkcie zaladunkowym". Dlaczego ?
1116. Mam Interakcje i nie mogę odpalić pojazdu !!!
[lua] local w,h = guiGetScreenSize()
local rowery = {[509]=true,[481]=false,[510]=true}

function gui()
local v = getPedOccupiedVehicle(localPlayer)
local x,y,z = getElementPosition(v)
r = getGroundPosition(x,y,z)


if getVehicleOverrideLights(v) ~= 2 then
w1 = "Zapal swiatla"
else
w1 = "Zgas swiatla"
end

local silnik = getVehicleEngineState(v)
if silnik == false then
w2 = "Zapal silnik"
else
w2 = "Zgas silnik"
end

w3 = "Wysad? pasa?er?w"

if isElementFrozen(v) then
w4 = "Spusc reczny"
else
w4 = "Zaciagnij reczny"
end

if getVehicleDoorOpenRatio(v,0) == 0 then
w5 = "Otworz maske"
else
w5 = "Zamknij maske"
end

if getVehicleDoorOpenRatio(v,1) == 0 then
w6 = "Otworz bagaznik"
else
w6 = "Zamknij bagaznik"
end

r1,r2,r3,r4,r5,r6 = 0.9,0.9,0.9,0.9,0.9,0.9
local wybor = getElementData(localPlayer,"wybor")
if wybor == 1 then
r1 = 1.5
elseif wybor == 2 then
r2 = 1.2
elseif wybor == 3 then
r3 = 1.2
elseif wybor == 4 then
r4 = 1.2
elseif wybor == 5 then
r5 = 1.2
elseif wybor == 6 then
r6 = 1.5
end

local sx,sy,sz = getElementVelocity(v)
local kmhs = math.ceil(((sx^2+sy^2+sz^2)^(0.5))*155)
if kmhs < 20 then
setElementData(localPlayer,"maxwybor",6...
1117. Kod nie reaguje na warunek.
Witam. Mam taki kawa?ek kodu po stronie serwera. Jak on dzia?a: klikamy GUI(client) i wtedy wywo?uje dan? funkcj? z servera jednak nie reaguje mi na warunek loginu danego gracza i mo?e by? to r?wnie? u?ywane przez osoby o innym loginie.


Kod:


function greeting7Handler ()
local localPlayerName = getAccountName(getPlayerAccount(client))
if localPlayerName == "P8A70088L6" or "Samel" then
addPedClothes ( source, "capzip", "cap", 16 )
outputChatBox(" #FFFFFF[#00FF00Select-skin#FFFFFF]:#F70606 tutaj!", thePlayer, 27, 89, 224, true)
else
outputChatBox(" #FFFFFF[#00FF00Select-skin#FFFFFF]:#F70606 nie masz, thePlayer, 27, 89, 224, true)
end
end
addEvent( "onGreeting7", true )
addEventHandler( "onGreeting7", getRootElement(), greeting7Handler )




//edit : dzia?a to poprawnie je?li zamiast OR b?d? stawia? kolejne linijki ELSEIF i na ka?dej osobny login - czy nie ma operatora(?) OR czy ?le go u?ywam?
1118. Nie moge zkompilować mapy
Kod:


nrs.pwn(22) : error 010: invalid function or declaration
nrs.pwn(24) : error 010: invalid function or declaration
nrs.pwn(29) : error 029: invalid expression, assumed zero
nrs.pwn(29) : error 029: invalid expression, assumed zero
nrs.pwn(29) : error 029: invalid expression, assumed zero
nrs.pwn(29) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


Mapa

O co chodzi? By?o dobrze, nagle zacz??y wyskakiwa? b??dy
1119. Gamemode nie chce sie kompilować
Mam tutaj gamemode https://github.com/kacper55331/Role-Play/blob/master/gamemodes/SURV.pwn chcia?em go sobie przekompilowa?, ale gm kompiluje si? w niesko?czono??.
1120. warpPedIntoVehicle - nie przenosi
Witam serdecznie! Tworz? sobie aktualnie prac? dorywcz?. M?j problem polega w tym, ?e po wej?ciu w marker rozpoczynaj?cy prac? nie przenosi mnie do pojazdu, kt?ry si? tworzy. Kod:
S-side:
[lua]

createBlip(-165.39812, 1059.80969, 19.74219, 47, 0, 0, 0, 255)

function pojazd()
local vehjob = createVehicle (588, -158.01686, 1051.77075, 20.06611)
end
addEvent("cvehicle",true)
addEventHandler("cvehicle",resourceRoot,pojazd)


function tpdp()
warpPedIntoVehicle (plr_starting, vehjob)
end
addEvent("przenies",true)
addEventHandler("przenies",resourceRoot,tpdp)



[/lua]

C-side:
[lua]
--------------------------------Markery----------------------------------------
local markerstartowy = createMarker (-165.10000610352, 1059.5999755859, 18.700000762939, 'cylinder', 1.0, 0, 0, 255, 255)

--------------------------------Tablice------------------------------------------
--------------------------------Spawn pojazdu---------------------------------
local pojazdy = {
{-158.01686, 1051.77075, 20.06611}
}

-------------------------------Miejsca-------------------------------------------
local miejsca_dostawy = {
{-179, 1093.8000488281, 18.506519317627}, --Bankomat pyl ~urz?d
{-125.90000152588, 1142, 18.700000762939}, --Obok hol?w na Pylu
{-87.699996948242, 1204.5, 19.700000762939}, --Motel przy komisie na pylu
{-71.800003051758, 1086.0999755859, 19.700000762939}, --Radio FC
{168.3000...