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: chyba
1. [MTA] Paradise RPG - Oj chyba go.
Dzie? Dobry

Przychodz? dzisiaj do was z kolejnym materia?em ?Mam nadziej?, ?e wam si? spodoba.

https://www.youtube.com/watch?v=5buuAZIHojo
2. zasób chyba jakiś nie?
kt?ry? zas?b wy?wietla t? informacj?? kt?ry, kto? kojarzy? potrzebuj? to usun?? a nie mam si?y grzeba?
3. Baza danych i chyba złe połą
Witam was,mam pewnie problem z po??czeniem si? do bazy danych...Wi?c wpisuje w konsoli na hostingu,by serwer odpalil skrypt DB2 oraz ogrpg-db i po??czy? si? z baz? danych,lecz wyskakuje takie co?...

[2017-12-30 09] start: Requested by Console
[2017-12-30 09] Starting DB2
[2017-12-30 09] WARNING: [Podstawa]/[bazydanych]/DB2/sql.lua:16: Bad usage @ 'dbConnect' [Access denied for user 'db_27950'@'OZR1.ServerProject.eu' (using password: YES)]
[2017-12-30 09] Po??czono Z Baz? danych!
[2017-12-30 09] start: Resource 'DB2' started
> start ogrpg-db
[2017-12-30 09] start: Requested by Console
[2017-12-30 09] Starting ogrpg-db
[2017-12-30 09] WARNING: [Podstawa]/[bazydanych]/ogrpg-db/s_db.lua:31: Bad usage @ 'dbConnect' [Can't connect to MySQL server on '137.74.0.12137.74.0.12' (111)]
[2017-12-30 09] INFO: * No Connecting to server MYSQL..
[2017-12-30 09] ERROR: [Podstawa]/[bazydanych]/ogrpg-db/s_db.lua:51: attempt to call global 'SQL_Host' (a nil value)
[2017-12-30 09] start: Resource 'ogrpg-db' started

Prosz? o pomoc,wiem,?e nie jestem jakim? specjalist? w tym,ale robie dla sb serwer by si? uczy? i chc? mie? podpi?t? baz? danych MYSQL do serwera,lecz nie ??czy si?...
4. Skrypt na TP - Chyba coś zepsułem.
A wi?c mam kod na tp i chc? by teleportowa?o w te kordy co tam da?em lecz nie teleportuje po wpisaniu komendy.


function teleport (thePlayer)
local accountName=getAccountName(getPlayerAccount(thePlayer))
if 
isObjectInACLGroup("user."..accountNameaclGetGroup("Admin")) then
setElementInterior 
(thePlayer,0)
setElementDimension (thePlayer,0)
setElementPosition (thePlayer ,1929.9, -2061.899916.4  )
outputChatBox("[Teleport] Pomy?lnie przeteleportowa?e? si? w dane miejsce.",thePlayer255255255true)
end
end
addCommandHandler 
("psp",teleport)



<meta>
<
script type="server" src="tp.lua"/>
</
meta>


DB3:

WARNING: Script 'tptp.lua' is not encoded in UTF-8. Loading as ANSI...

Prosi? bym o poprawny kod ;/
5. Coś z pawn jest chyba nie tak
Mam jeszcze jenden problem a mianowicie otwieram nowy plik pawn i chc? co? pisa? wciskam F5 i wyskakuje mi to

[code]C:UsersPatrykDesktopelo555.pwn(156) : error 025: function heading differs from prototype
C:UsersPatrykDesktopelo555.pwn(161) : error 025: function heading differs from prototype
C:UsersPatrykDesktopelo555.pwn(166) : error 025: function heading differs from prototype
C:UsersPatrykDesktopelo555.pwn(191) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
C:UsersPatrykDesktopelo555.pwn(196) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
C:UsersPatrykDesktopelo555.pwn(201) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
C:UsersPatrykDesktopelo555.pwn(206) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
C:UsersPatrykDesktopelo555.pwn(211) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
C:UsersPatrykDesktopelo555.pwn(216) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
C:UsersPatrykDesktopelo555.pwn(221) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
C:UsersPatrykDesktopelo555.pwn(226) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
Pawn compiler 3.2.3664 Copyright (c) 1997-2...
6. Incydent chyba z MySql
Witam mam problem z mysql ( chyba )

Wszystko jest dobrze wpisane w tabeli , a gdy na serwerze chc? zalogowa? si? na duty to pisze :

✗ Nie posiadasz uprawnie? do u?ycia tej komendy.

Mo?e kto potrafi rozwi?za? ten problem ?
7. Mta chyba nie potrafi przyrownywac licz
A wiec witam. Mam problem z przyrownania jednej liczby do drugiej w sensie
Gdy np. 1zmienna = 1 a 2 zmiennna =3
if 1zmienna == 2zmienna then -- to mowe wejsc do pojazdu
Pozniej przedstawie wam kod

function wejdzEnter(plrseat)
  if 
seat == 0 then
  local level 
getElementData(plr"level") or " "
  
local pojazd_owner getElementData(source"pojazd_owner"
  
local wlasciciel getElementData(plr"user:id"

  if 
not wlasciciel == pojazd_owner or level == "RCON" or level == "Admin" then then 
        outputChatBox
("Nie masz kluczyk?w do tego pojazdu."player255255255true)
        
cancelEvent()
end
end
end


Nigdy z takim czyms sie nie spotkalem wiec prosze Was o pomoc
8. Chyba Include
Pomocy wiem ?e co? z tymi includami jednak?e zaktualizowa?em je ze strony samp i to samo nadal mo?e wie kto? o co chodzi?


Kod:

C:UsersKacperDesktopMAPApawnoincludeYSIy_utils.inc(310) : error 025: function heading differs from prototype
C:UsersKacperDesktopMAPApawnoincludeYSIy_utils.inc(311) : error 021: symbol already defined: "hexstr"
C:UsersKacperDesktopMAPApawnoincludeYSIy_utils.inc(360) : error 025: function heading differs from prototype
C:UsersKacperDesktopMAPApawnoincludeYSIy_utils.inc(361) : error 021: symbol already defined: "binstr"
C:UsersKacperDesktopMAPApawnoincludeYSIinternaly_shortfunc.inc(180) : error 017: undefined symbol "YSI_MAX_STRING"
C:UsersKacperDesktopMAPApawnoincludeYSIy_inline.inc(362) : warning 202: number of arguments does not match definition
C:UsersKacperDesktopMAPApawnoincludeYSIy_inline.inc(553) : warning 219: local variable "scSearch" shadows a variable at a preceding level
C:UsersKacperDesktopMAPApawnoincludeYSIy_inline.inc(606) : error 001: expected token: ")", but found "const"
C:UsersKacperDesktopMAPApawnoincludeYSIy_inline.inc(606) : error 001: expected token: "=", but found "["
C:UsersKacperDesktopMAPApawnoincludeYSIy_inline.inc(606) : error 055: start of function body without function header
C:UsersKacperDesktopMAPApawnoincludeYSIy_inline.inc(606 -- 608) : fatal error 107: too many error messages on one line
9. [INNE] To chyba klamry
Witam. Mam GM'a kt?rego robi?em. Wcze?niej by?o dobrze. Gdy chce skomplikowa? to pojawia si?:

[code]C:UsersDominikDesktopgm.pwn(542) : error 052: multi-dimensional arrays must be fully initialized
C:UsersDominikDesktopgm.pwn(1250) : error 017: undefined symbol "strtok"
C:UsersDominikDesktopgm.pwn(1250) : error 033: array must be indexed (variable "cmd")
C:UsersDominikDesktopgm.pwn(1633) : error 052: multi-dimensional arrays must be fully initialized
C:UsersDominikDesktopgm.pwn(1781) : error 017: undefined symbol "strtok"
C:UsersDominikDesktopgm.pwn(1781) : error 033: array must be indexed (variable "dir")
C:UsersDominikDesktopgm.pwn(1782) : error 017: undefined symbol "strtok"
C:UsersDominikDesktopgm.pwn(1782) : error 033: array must be indexed (variable "tmp")
C:UsersDominikDesktopgm.pwn(2141) : error 017: undefined symbol "strtok"
C:UsersDominikDesktopgm.pwn(2141) : error 033: array must be indexed (variable "mpt")
C:UsersDominikDesktopgm.pwn(2146) : error 017: undefined symbol "strtok"
C:UsersDominikDesktopgm.pwn(2146) : error 033: array must be indexed (variable "mpt")
C:UsersDominikDesktopgm.pwn(2173) : error 017: undefined symbol "strtok"
C:UsersDominikDesktopgm.pwn(2173) : error 033: array must be indexed (variable "mpt")
C:UsersDominikDesktopgm.pwn(2178) : error 017: undefined symbol "strtok"
C:UsersDominikDesktopgm.pwn(21...