Jump to content
  • 0

problema admin


Andr3y

Question

nu merge sa imi dau admin pe un gm ..am incercat sa intru si in script files la contu meu sa imi dau de acolo dar cand intru in joc se reseteaza si apare tot adminlevel = 0 ....am mai incercat sa dau si /rcon login parola dar imi da ban:( ..si nush ce sa fac:(

Snapshot_2012_03_07_003934.jpg
Link to comment
Share on other sites

12 answers to this question

Recommended Posts

Baga comanda asta undeva sub callback-ul OnPlayerCommandText

 if(strcmp(cmd, "/DamiAdmin", true) == 0) { PlayerInfo[playerid][pAdmin] = 1342; return 1; } 

Apoi dai compile.

Pornesti serverul , intri pe server , scrie /DamiAdmin ... si gata ai admin ! , lasa reply daca iti merge sau nu .

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By AnDrEyUpS
      Salutare! Ma poate ajuta cineva cu chestia asta? Cand un jucator are admin sa scrie cu rosu in chat?
      Am pus asta la OnPlayerConnect, dar doar numele din tab apare cu rosu.:
      if(pInfo[playerid][pAdmin] < 1) return SetPlayerColor(playerid, 0xB31313FF), PlayerTextDrawColor(playerid,NamePlayer[playerid], COLOR_ADMINP);
       
      Am cautat la comanda /shop -> premium account deoarece schimba culoarea in portocaliu si nu gasesc deloc, probabil nu se afla in gamemode chestia cu schimbarea culorii. Un sfat m-ar ajuta foarte mult, multumesc!
    • By Liviu Adrian
      Salut, as dori si eu un sistem de admin folosesc mysql r41-2. Si cand vreau sa folosesc comanda /setadmin sau /makeadmin sa o pot da pe server, deoarece din baza de date phpmyadmin nu imi arata bara sa pot edita userul care era irnegsitrat sa imi pot da admin din baza de date.
    • By CristianLMAO
      IN-GAME ADMIN PANEL BY CRISTIANLMAO
       
      PREVIEW:
       
       
      Details:
      Am facut acest filterscript pentru ca nu am avut ce face.
      Meniul se porneste decat daca esti logat cu rcon dar este foarte simplu sa il faci si pe mysql.
       
      TIMP DURAT SA IL FAC: 4-5 ore de programare, fix dupa ce am uploadat sistemul de spawncar (https://www.sa-mp.ro/forums/topic/36718-tutorial-spawn-car-pe-dialog-zcmd/)
       
      DOWNLOAD:
      Download: filterscripts.rar
      VT:https://www.virustotal.com/gui/file/51b7e2483727303bc99c62d91001340f80efe322090510614a1f98080b8d0d4a?nocache=1
       
    • By St3f4n36
      Cum as putea fac urmatoarea chestie:
      Daca intr-un dialog imi apare ca primeste x bani daca apasa cazul 1 ( banii formati cu new money = 100 + rand(100); )
      si dupa sa imi trimita un mesaj tot cu aceasi suma de bani x. Trebuie salvata intr-o variabila sau cum?
    • By FlobertRO
      Buna , am si eu o problema . Mi-se restarteaza serverulul random . In server_log am gasit asta : 
      Stie cineva ce pot face  Va rog ❤️ . Multumesc frumos
       
       
      [23:17:26] [join] rezana has joined the server (1:---------------------) [23:17:26] [debug] Run time error 4: "Array index out of bounds" [23:17:26] [debug] Accessing element at index 1 past array upper bound 0 [23:17:26] [debug] AMX backtrace: [23:17:26] [debug] #0 00200b24 in ?? (... <1 argument>) at GM.pwn:8108 [23:17:26] [debug] #1 000aef80 in public MP_OPC (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\YSI\y_hooks/impl.inc:633 [23:17:26] [debug] #2 native CallLocalFunction () from samp03svr [23:17:26] [debug] #3 0000c77c in public SSCANF_OnPlayerConnect (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\mSelection.inc:432 [23:17:26] [debug] #4 00003210 in public Itter_OnPlayerConnect (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\sscanf2.inc:236 [23:17:26] [debug] #5 00001684 in public OnPlayerConnect (playerid=1) at C:\Users\Florin\Dxda\gamemode-impact\gamemode-rpg-impact\pawno\include\YSI\y_iterate.inc:646
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.