Jump to content

SeNaToRuL.

Membru
  • Posts

    32
  • Joined

  • Last visited

Everything posted by SeNaToRuL.

  1. Salut utilizez gamemode burned si cand dau /specoff imi da respawn.. dar eu vreau sa ma teleporteze in ultima locatie.. Comanda: YCMD:specoff(playerid, params[], help) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 2) return SCM(playerid, COLOR_WHITE, AdminOnly); if(Spectate[playerid] == 255) return true; TogglePlayerControllable(playerid, 1); TogglePlayerSpectating(playerid, 0); SetPlayerInterior(playerid,Unspec[playerid][sPint]); PlayerInfo[playerid][pInt] = Unspec[playerid][sPint]; PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal]; Unspec[playerid][sLocal] = 255; gTeam[playerid] = PlayerInfo[playerid][pTeam]; SetPlayerToTeamColor(playerid); SCM(playerid, -1, "Nu mai esti spectator!"); //SpawnPlayer(playerid); Iter_Remove(MySpec[Spectate[playerid]], playerid); Spectate[playerid] = 255; SpecPlayers[playerid] = 0; LastRecon[playerid] = 1; PlayerTextDrawHide(playerid, SpectatorTD); return true; }
  2. Salut utilizez gamemode burned si cand dau /specoff imi da respawn.. dar eu vreau sa ma teleporteze in ultima locatie.. Comanda: YCMD:specoff(playerid, params[], help) { if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 2) return SCM(playerid, COLOR_WHITE, AdminOnly); if(Spectate[playerid] == 255) return true; TogglePlayerControllable(playerid, 1); TogglePlayerSpectating(playerid, 0); SetPlayerInterior(playerid,Unspec[playerid][sPint]); PlayerInfo[playerid][pInt] = Unspec[playerid][sPint]; PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal]; Unspec[playerid][sLocal] = 255; gTeam[playerid] = PlayerInfo[playerid][pTeam]; SetPlayerToTeamColor(playerid); SCM(playerid, -1, "Nu mai esti spectator!"); //SpawnPlayer(playerid); Iter_Remove(MySpec[Spectate[playerid]], playerid); Spectate[playerid] = 255; SpecPlayers[playerid] = 0; LastRecon[playerid] = 1; PlayerTextDrawHide(playerid, SpectatorTD); return true; }
  3. Ii din header, cauta: <li class="user-footer"> <div class="pull-left"> <a href="<?php echo Config::$_PAGE_URL; ?>logout<?php echo Config::getData('users','name',$_SESSION['user']); ?>" class="btn bg-black btn-zoom">Profile</a> si modifica cu <li class="user-footer"> <div class="pull-left"> <a href="<?php echo Config::$_PAGE_URL; ?>profile/<?php echo Config::getData('users','name',$_SESSION['user']); ?>" class="btn bg-black btn-zoom">Profile</a>
  4. Dupa ce il schimbi din systems trebuie sa dai save si compile la gamemode iar dupa restart o sa se schimbe.
  5. In timp ce cautam faza cu benzina am gasit ceva fara sens. printf("test"); Il puteti sterge deoarece va face spam in consola.
  6. Cauta function checkgas iar la if(IsAPlane(vehicle) || IsABoat(vehicle) || IsABike2(vehicle) || ExamCar == vehicle || JobVehicle == vehicle) { Gas[vehicle]++; } Stergi IsABike2(vehicle) || if(IsAPlane(vehicle) || IsABoat(vehicle) || ExamCar == vehicle || JobVehicle == vehicle) { Gas[vehicle]++; }
  7. Is pluginurile punele pe astea https://www110.zippyshare.com/v/2poYBByg/file.html si in server.cfg la plugins pui "crashdetect sscanf mysql streamer "
  8. Controleaza in server_log si vezi ce errori iti da.. Poate fii de la plugins sau chiar numele de la gamemode in server.cfg
  9. La SERVER_HOSTSTATUS daca ii pe host pui new SERVER_HOSTSTATUS = NORMAL; Iar daca ii pe localhost pui SERVER_HOSTSTATUS = LOCALHOST; La mysql_connect if(SERVER_HOSTSTATUS == 1) SQL = mysql_connect("ip", "Nume cont phpmyadmin", "nume baza de date", "Parola"), print("Server: hosted"); \\ Daca ii pe host. else SQL = mysql_connect("localhost", "root", "nume baza de date", "parola"), print("Server: localhost"); \\ Daca ii in localhost.
  10. Pune Pluginurile astea https://www110.zippyshare.com/v/2poYBByg/file.html In server.cfg la plugins adaugi crashdetect sscanf mysql streamer (daca ii in localhost) sau crashdetect.so sscanf.so mysql.so streamer.so (daca ii pe host). Dai recompile si done.
  11. pui pariu ca daca il descarc iti si intru pe el iti gasesc minim 30 buguri?
  12. Salut cand vreau sa pornesc serverul imi da 22:58:19] [debug] Server crashed due to an unknown error [22:58:19] [debug] Native backtrace: [22:58:19] [debug] #0 b7403e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [22:58:19] [debug] #1 b73fcbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [22:58:19] [debug] #2 b73fddbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [22:58:19] [debug] #3 b73fe226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [22:58:19] [debug] #4 b7403adc in ?? () from plugins/crashdetect.so [22:58:19] [debug] #5 b771a600 in ?? () [22:58:19] [debug] #6 b771a420 in ?? () [22:58:19] [debug] #7 b7451781 in gsignal () from /lib/libc.so.6 [22:58:19] [debug] #8 b745305a in abort () from /lib/libc.so.6 [22:58:19] [debug] #9 b744aa4b in ?? () from /lib/libc.so.6 [22:58:19] [debug] #10 b744ab06 in ?? () from /lib/libc.so.6 [22:58:19] [debug] #11 08098558 in ?? () from ./samp03svr [22:58:19] [debug] #12 080d60e1 in ?? () from ./samp03svr [22:58:19] [debug] #13 080a4f0b in ?? () from ./samp03svr [22:58:19] [debug] #14 080ab922 in ?? () from ./samp03svr [22:58:19] [debug] #15 080aa0fd in ?? () from ./samp03svr [22:58:19] [debug] #16 b743dd26 in __libc_start_main () from /lib/libc.so.6 [22:58:19] [debug] #17 0804b4e1 in ?? () from ./samp03svr
  13. nu am sters nimic, nu utilizez shawn utilizez burned probabil nu era bagat
  14. Salut utilizez gamemode burned si nu reusesc sa sterg acest texdraw cand ma loghez. https://imgur.com/a/xLwSH0b
  15. Salut am o problema cu LoadSafes(); cand dau drumu la server imi da [23:28:49] [debug] Run time error 4: "Array index out of bounds" [23:28:49] [debug] Attempted to read/write array element at index 14 in array of size 14 [23:28:49] [debug] AMX backtrace: [23:28:49] [debug] #0 0028b894 in ?? (14) from b-hood.amx [23:28:49] [debug] #1 0026e314 in public LoadSafes () from b-hood.amx [23:28:49] [debug] #2 00099444 in ?? () from b-hood.amx [23:28:49] [debug] #3 0001f0a8 in public L_AFK_OnGM () from b-hood.amx [23:28:49] [debug] #4 native CallLocalFunction () from samp-server.exe [23:28:49] [debug] #5 00012f34 in public zcmd_OnGameModeInit () from b-hood.amx [23:28:49] [debug] #6 native CallLocalFunction () from samp-server.exe [23:28:49] [debug] #7 00012a7c in public SSCANF_OnGameModeInit () from b-hood.amx [23:28:49] [debug] #8 0000cde4 in public Itter_OnGameModeInit () from b-hood.amx [23:28:49] [debug] #9 native CallLocalFunction () from samp-server.exe [23:28:49] [debug] #10 0000c0a0 in public ScriptInit_OnGameModeInit () from b-hood.amx [23:28:50] [debug] #11 0000b024 in public PZone_OnGameModeInit () from b-hood.amx [23:28:50] [debug] #12 native CallLocalFunction () from samp-server.exe [23:28:50] [debug] #13 00000c88 in public OnGameModeInit () from b-hood.amx [23:28:50] Number of vehicle models: 60 [23:28:50] [MySQL] Dealership models: 95
  16. Controleaza comanda /work.
  17. nimic special... unicul lucru misto din gm ii faza cu friezeria
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.