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: chodzi
1. NIE wiem oco chodzi
Witam Serdecznie mam problem z zalogowaniem sie w panelu logowania pisze mi ?e konto jest ju? aktywne na serwerze https://imgur.com/a/wtQ1qAp

prosil bym o pomov
2. da ktoś poradni jak zobaczyć lokazlizacje cylindra chodzi o
da kto? poradni jak zobaczy? lokazlizacje cylindra chodzi o pozycje
3. o co chodzi z debugiem
[code][debug] Run time error 4: "Array index out of bounds"
[debug] Attempted to read/write array element at index 20 in array of size 20
[debug] AMX backtrace:
[debug] #0 003c0a00 in public OnPlayerKeyStateChange (playerid=0, newkeys=65536, oldkeys=0) at E:SA-MPPSSgamemodespst.pwn:28779[/code]

pst.pwn:28779 = PlayerTextDrawHide(i, RapcioTD[i][d]);

[code] if(PRESSED(KEY_YES))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, RapcioXYZ[0], RapcioXYZ[1], RapcioXYZ[2]) && RapcioOnOff)
{
Loop(i, 22)//22 - ilo?? obiekt?w
{
DestroyObject(RapcioOBJ[i]);
}
DestroyVehicle(RapcioID);
Delete3DTextLabel(Rapcio3DText);
RapcioOnOff = false;

new EXPDOG;
EXPDOG = randomEx(60, 100);
GiveExpPlayer(playerid, EXPDOG);
Player[playerid][Rapcio] ++;
SendClientMessageToAllEx(-1, ""INFO" "POMARANCZOWY_JASNY"[RAPCIO] "TEXT"%s znalaz?/a misia "POMARANCZOWY_JASNY"Rapcio "ZIELONY_JASNY"+%d EXP"TEXT"!", PlayerName2(playerid), EXPDOG);
SendClientMessageToAllEx(-1, ""INFO" "TEXT"To jej/jego "ZIELONY_JASNY"%d "POMARANCZOWY_JASNY"mi?"TEXT"!", Player[playerid][Rapcio]);
QuestSpr(playerid, QUEST_MIS);
Loop(i, GetMaxPlayers())
{
Loop(d, MAX_RAPCIO_TD)
{
PlayerTextDrawHide(i, RapcioTD[i][d]);
}
}
}[/code]

Wie kto? o co mo?e ...
4. attempt to compare number with string - nie wiem o co chodzi
Witam, mam problem, wyskakuje mi blad attempt to compare number with string i nie rozumiem o co chodzi (XD)
Tutaj dam czesc kodu ktory jest zwiazany z tym bledem:
function nadawanieGwiazdek(plr,cmd,nick,wartosc)
    
local gracz getPlayerFromName(nick)
    
local konto getAccountName(getPlayerAccount(plr))
    
local kontog getPlayerAccount(gracz)
    
local poli getPlayersInTeam(Policja)
    
local bad "Nieprawidlowe uzycie!nPoprawne uzycie: /wanted <gracz> <gwiazdki>"

if wartosc>or wartosc<7 then
                            setPlayerWantedLevel
(gracz,wartosc)
                            
setAccountData(kontog,"gwiazdki",wartosc)
                            
outputChatBox("dziala")
                        elseif 
wartosc==0 then
                            setPlayerWantedLevel
(gracz,0)
                            
removeAccountData(kontog,"gwiazdki")
                            
outputChatBox("dziala usuwanie")
                        elseif 
wartosc<or wartosc>6 then
                            
if wartosc<0 then
                                outputChatBox
("Minimalna iloscia gwiazdek jest 0!",plr)
                            elseif 
wartosc>6 then
                                outputChatBox
("Maksymalna iloscia gwiazdek jest 6!",plr)
                            
end
                        end
5. Nie rozumiem o co chodzi ktoś coś?
https://prnt.sc/qc78j5


to jest do 708

Kod:

setTimer(function()
if not getElementData(localPlayer,'logedin') then return end
if (getElementData(localPlayer, "blood") <= 0) then <-- linijka 708
if not getElementData(localPlayer, "isDead") then
local grunt = getGroundPosition(getElementPosition(localPlayer))
triggerServerEvent("kilLDayZPlayer", localPlayer, false, false,false,grunt);
end
end
if (getElementData(localPlayer, "blood") > 12000) then
setElementData(localPlayer, "blood", 12000);
end
end,50,0)
[/code]


tutaj 361


Kod:

function math.round(number, decimals, method)
local decimals = decimals or 0;
local factor = 10^decimals;
if (method == "ceil" or method == "floor") then
return math[method](number*factor)/factor;
else
return tonumber(("%."..decimals.."f"):format(number)); <--- linijka 361
end
end
6. O co chodzi ze skryptem
W konsoli wyskakuje mi takie co?:
ERROR: Couldn't parse meta file for resource 'dawaniekasy'
Loading of resource 'dawaniekasy' failed
nie mam poj?cia o co chodzi.
7. Probelm w skrypcie, o co chodzi co zrobić
Z G?RY, NIE WIEM CZY NAPISA?EM W DOBRYM DZIALE JAK CO? PROSZ? O PRZENIESIENIE GO, A NIE USUWANIE!

Cze?? napisa?em tutaj oto taki skrypt:
Kod:

function wyjsciegracza ()
ostatniemiejsce = getElementPosition (source)
end
addEventHandler("onPlayerQuit", root, wyjsciegracza)


function spawngraczy ()
if ostatniemiejsce == nil then
spawnPlayer (source, -289.42081, 1557.35437, 53.55873)
elseif ostatniemiejsce ~= nil then
spawnPlayer (source, getElementPosition)
end
addEventHandler("onPlayerJoin", root, spawngraczy)


Ten kod jest na "respienie graczy" jak gracz jest nowy to respi go w miejscu wyznaczonym coordynatami, a jak juz gral gracz na serwerze to respi go w ostatnim miejscu, mo?e kto? mi pom?c bo wyskakuje mi takie co? w konsoli i nie do ko?ca wime jak to naprawi? ;) z g?ry dzi?ki, stawiam piwko!


Kod:

[2017-08-12 10] Starting Spawngraczy
[2017-08-12 10] SCRIPT ERROR: Spawngraczys_dolacz.lua:13: 'end' expected (to close 'function' at line 7) near '<eof>'
[2017-08-12 10] ERROR: Loading script failed: Spawngraczys_dolacz.lua:13: 'end' expected (to close 'function' at line 7) near '<eof>'
8. Nie wiem o co tu chodzi
Witam pomo?e kto?? :D piwko
Kod:


C:UsersPatrykDesktopelo.pwn(168) : error 017: undefined symbol "foreach"
C:UsersPatrykDesktopelo.pwn(168) : error 029: invalid expression, assumed zero
C:UsersPatrykDesktopelo.pwn(168) : error 017: undefined symbol "i"
C:UsersPatrykDesktopelo.pwn(168) : fatal error 107: too many error messages on one line

linika
Kod:


stock PlaySoundEx(soundid, Float:x, Float:y, Float:z, range)
{
foreach(new i : Player)
{
if(!IsPlayerConnected(i)) continue;
if(!IsPlayerInRangeOfPoint(i, range, x, y, z)) continue;
PlayerPlaySound(i, soundid, 0, 0, 0);
}
}
[/code]

og??em chodzi o t? linike
Kod:

foreach(new i : Player)
9. o co chodzi z duty
Cze?? mam problem poniewaz mam pewien kod o tasmie policyjnej ale mi nie dziala poniewaz tam trzeba duty. Dalo by sie to zrobic bez daty? ze od razu ktos z ACL moze jej uzywac? link: http://www119.zippyshare....police_line.zip
10. Oco chodzi z ColShape?
(Mog?em zle nazwac funkcje ;-;) Witajcie! Chcia?bym si? spyta? oco chodzi w create Col Cuboid? a bardziej o : float fWidth, float fDepth, float fHeight

Za pomoc zimnie :piwo:
11. Oco chodzi w () ....
Witajcie. Szuka?em, ale nie znalaz?em poradnika t?umacz?cego oco chodzi
w np. function(plr) Jest to przyk?ad.. plr co to w?a?ciwie jest? Ale wracaj?c
Od czego zale?y argument wpisany pomi?dzy () ? Prosz? o szybk? odpowiedz!
12. Nie wiem oco chodzi - Kajdanki nie Zdejmują się!
Gdy nak?adam kajdanki, to potem jak jeszcze raz napisze kajdanki to nie zdejmuje tylko ponownie zak?ada kajdanki, jak si? RC zrobi to nie ma si? ju? wiecie jak to naprawi?, Prosze o pomoc bo nie wiem co robi?.

KOD:[code]
policeVehicles = { [598]=true,[596]=true,[597]=true,[432]=true,[433]=true,[528]=true,[490]=true,[599]=true }

function blokada ( player, seat, jacked )
local kategoria = getElementData(player, "kajdanki")
if kategoria ~= false then
if ( not policeVehicles[getElementModel(source)] ) then
cancelEvent()
outputChatBox("#FF0000Masz kajdanki i nie mo?esz wsi??? do tego pojazdu.",player,255, 0, 0, true)
end
end
end
addEventHandler ("onVehicleStartEnter", getRootElement(), blokada)

function kajdankii ( player, cmd, gracz )
if getElementData(player,'player:duty') and getElementData(player,'player:duty')=='SAPD' then
if not (gracz) then
outputChatBox("B??d! U?yj: /kajdanki <nick/ID> ",player)
return
end
local targetElement=exports['ogrpg-core']:findPlayer(player, gracz)
if targetElement then
local x, y, z = getElementPosition(player)
local tx, ty, tz = getElementPosition(targetElement)

local distance = getDistanceBetweenPoints3D(x, y, z, tx, ty, tz)

if (distance<=10) then
local dokogo=getElementData(targetElement,"kajdanki")
if (not dokogo or not isElement(dokogo)) then
toggleControl(targetElement, "sprin...
13. Nie wiem oco chodzi - TUNER ! 6 miejsc. Nie Działa.
Co mam zrobi?? bo nie wiem :P , Bo chce zrobi? 6 miejsc na tunera, a potem jak to robie i chce zamontowa? cz?s?, nie dzia?a montowanie i taki mi w?asnie problem wyskakuje w konsoli...

[2017-05-24 18:09] ERROR: Client (#FCD307LeFeS) triggered serverside event montazElementu, but event is not added serverside
14. Powie mi ktos o co chodzi w tym skrypcie i jak go ustawic?
[lua]--[[
This script was made by Xownage, please do not re-release any part of this script without xownage's permission
--]]

player = getRootElement()


function clickmenupd (mouseButton, buttonState, clickedElement, worldPosX, worldPosY, worldPosZ, screenPosX, screenPosY)
-- outputChatBox ("1")
if ( buttonState == "down" ) then
-- outputChatBox ("2")
local team = getPlayerTeam(source)
if team then
if getTeamName(team) == "DUPA" and isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(source)), aclGetGroup("RCON")) then
-- outputChatBox ("3")
if ( getElementData ( source, "pdclickopen" ) == false ) then
-- outputChatBox ("4")
if ( getElementData (source, "pdmousebind") == true ) then
-- outputChatBox ("5")
if ( mouseButton == "right" ) then
if ( clickedElement ) then

if ( getElementType (clickedElement) == "vehicle" ) then
thecar = clickedElement
setElementData (source, "pdclickselplayer", thecar )
triggerClientEvent (source,"carmenu", getRootElement() )
triggerEvent("pokazuj_pd", getRootElement(),source)
triggerEvent("pokazuj2", getRootElement())
...
15. Skrypt na bramę coś nie chodzi
Witam chcia?em stworzy? skrypt na bram?. Mia?em zamiar zrobi? bram? ?eby chodzi?a: podchodz? wpisuje komend? otwiera si? po przejsciu/odejsciu zamyka si? komend? mo?na tylko wpisa? przy bramie.
myMarker2 createMarker1179.5,-907.40002441406,151.19999694824'cylinder'10002550)

setElementInterior(myMarker210)
setElementDimension(myMarker210)

bra2 createObject 9711179.5,-907.40002441406,151.1999969482400)

setElementInterior(bra210)
setElementDimension(bra210)

function 
MarkerHit2  (hitPlayermatchingDimension)
local playera hitPlayer
if getElementTypeplayera ) == "player" then  
moveObject 
bra220001179.5,-907.40002441406,153.30000305176)
end
end
end
addCommandHandler
("otwieraj",MarkerHit2 )


function 
MarkerLeave2 (thePlayer)
moveObject bra220001179.5,-907.40002441406,151.19999694824)
end
addEventHandler 
"onMarkerLeave"myMarker2MarkerLeave2 )
addEventHandler "onMarkerHit"myMarker2MarkerHit2 )
16. [<font color=#cccc99>SKRYPT</font>] CZY KTOS MI
[Lua]--[[
@author Lukasz Biegaj <[email protected]>
@author Karer <[email protected]>
@author WUBE <[email protected]>
@copyright 2011-2013 Lukasz Biegaj <[email protected]>
@license Dual GPLv2/MIT
@package MTA-XyzzyRP
@link https://github.com/lpiob/MTA-XyzzyRP GitHub
]]--

local function follow()
local dokogo=getElementData(localPlayer,"kajdanki")
if (not dokogo or not isElement(dokogo)) then
setElementData(localPlayer,"kajdanki", nil)
removeEventHandler("onClientPreRender", root, follow)
triggerServerEvent("setPedAnimation", localPlayer)
return
end

-- setElementInterior(localPlayer, getElementInterior(dokogo))
-- setElementDimension(localPlayer, getElementDimension(dokogo))

if (getPedOccupiedVehicle(dokogo) or getElementInterior(dokogo)~=getElementInterior(localPlayer) or getElementDimension(dokogo)~=getElementDimension(localPlayer)) then
setElementData(localPlayer,"kajdanki", nil)
removeEventHandler("onClientPreRender", root, follow)
triggerServerEvent("setPedAnimation", localPlayer)
return
end


local x,y,z=getElementPosition(dokogo)
local x2,y2,z2=getElementPosition(localPlayer)
local kat=0
kat=math.deg(math.atan(-1*(x2-x)/(y2-y)))
if (y2-y)<0 then
kat=kat+180.0
end
kat=(kat+180)%360

-- rx,ry,rz=getElementRotation(localPlayer)
-- setElementRotation(localPlayer, rx,ry,kat)
setPedRota...
17. wykrywanie terenu po którym gracz chodzi
Witam
czy jest opcja wykrycia na jakim terenie jest gracz ?
18. Chodzi o adma
Witam ! Tworz? serwer do kt?rego naprawd? nie b?dzie trzeba si? logowa? poniewa? to b?dzie serwer race. A skoro nie b?dzie trzeba si? logowa? to jak zrobi? admina? Czy da rad? zrobi? tak, ?e admina wyszukuje po nicku, kt?ry ustawia si? w "Setting". Prosz? o pomoc. Za pomoc :piwo: :piwo: R*
19. [DM] O co chodzi
Witam , jak to naprawic?

[2013-02-25 20:06] ERROR: [admin]/admin/server/admin_server.lua:1418: Admin security - Client/player mismatch from 78.8.7.28 (onElementDataChange humanity)
[2013-02-25 20:06] ERROR: [admin]/admin/server/admin_server.lua:1418: Admin security - Client/player mismatch from 78.8.7.28 (onElementDataChange humanity)
[2013-02-25 20:06] ERROR: [admin]/admin/server/admin_server.lua:1418: Admin security - Client/player mismatch from 78.8.7.28 (onElementDataChange humanity)
20. [INNE] o co tu chodzi
dodalem system Raporty i mam taki blad w log file

Kod:

[MySQL] Error (0): Failed to exeute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[IF NOT EXISTS] `raporty` (`id` INT NOT NULL AUTO_INCREMENT ,`raport` VARCHAR(' at line 1.



co to znaczy?

za pomoc piwko
21. [INNE] O co tu chodzi z tym
[b]Siema mam takie errory:[/b]


[code]C:Documents and SettingsAdministratorMy Documentsdomki.pwn(125) : error 017: undefined symbol "DOF2_Exists"
C:Documents and SettingsAdministratorMy Documentsdomki.pwn(126) : error 017: undefined symbol "DOF2_Create"
C:Documents and SettingsAdministratorMy Documentsdomki.pwn(127) : error 017: undefined symbol "DOF2_Set"
C:Documents and SettingsAdministratorMy Documentsdomki.pwn(128) : error 017: undefined symbol "DOF2_IntSet"
C:Documents and SettingsAdministratorMy Documentsdomki.pwn(129) : error 017: undefined symbol "DOF2_IntSet"
C:Documents and SettingsAdministratorMy Documentsdomki.pwn(130) : error 017: undefined symbol "DOF2_IntSet"
C:Documents and SettingsAdministratorMy Documentsdomki.pwn(131) : error 017: undefined symbol "DOF2_FloatSet"
C:Documents and SettingsAdministratorMy Documentsdomki.pwn(132) : error 017: undefined symbol "DOF2_FloatSet"
C:Documents and SettingsAdministratorMy Documentsdomki.pwn(133) : error 017: undefined symbol "DOF2_FloatSet"
C:Documents and SettingsAdministratorMy Documentsdomki.pwn(134) : error 017: undefined symbol "DOF2_IntSet"
C:Documents and SettingsAdministratorMy Documentsdomki.pwn(135) : error 017: undefined symbol "DOF2_IntSet"[/code]

[b]a to jest kod:[/b]

[code]stock CreatePlayerHouse(playerid, sellprice, HouseLvl)
{
if((ReturnNextUnusedHouseID()-1) >= MAX_HOUS...
22. gra chodzi za szybko
Witam !

zainstalowalem na nowym kompie gta sa jedna chodzi tak jakby byla przyszybszona ... dlaczego tak ? ustawialem juz limit kratek itd. ale to nie pomoglo


Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7600) (7600.win7_rtm.090713-1255)

Processor: Intel(R) Pentium(R) CPU G630 @ 2.70GHz (2 CPUs), ~2.7GHz

Memory: 6144MB RAM

DirectX Version: DirectX 11

Card name: NVIDIA GeForce GTS 450
23. [GF] [Timer] nie chodzi płynnie
Witam!

Chcia?bym zapyta? jak zwi?kszy? p?ynno?? ,aby po wcisnieciu klawisza w tym wypadku (S) za ka?dym razem wy?wietla?o si?,
Tak wygl?da timer oraz ca?a tre?? :
Kod:


if(newkeys==KEY_DOWN && GetPlayerState(playerid)==PLAYER_STATE_DRIVER && PlayerInfo[playerid][pKierunki]==true)
{
if(!Kierunkowskaz[playerid])
{
format(String, sizeof(String),"* "ME"(%d) %s "JA"wciska guzik i w??cza si? wsteczny.",playerid,Nick[playerid]);
WyswietlText(playerid,KOLOR_JA,20.0,String);
Kierunkowskaz[playerid]=true;
SetTimerEx("KierunekOff",3000,0,"i",playerid);
}
return 1;
}

Jak to p?ynnie zrobi? ?
24. [INNE] O co chodzi ? :D
Czemu mam takie co??????? stawiam :piwo: :piwo: :piwo:

Kod:

C:UsersNatsuDesktopxDinterv2.pwn(23) : fatal error 100: cannot read from file: "O-Files"

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


1 Error.