Jump to content
  • 0

Problema admin


Shaversian

Question

9 answers to this question

Recommended Posts

  • 0

Salut ,

Am server de samp linux cand vreau sa ma loghez cu numele de admin cand introduc parola spune ca nu e corecta desii eu o scriu corect iar cand ma conectez cu un cont normal functioneaza 

 

Am incercat cu /rcon login si cand vreau sa dau admin spune ca nu am acces la comanda 

Dute la comanda de setare a admin-ului si pune

if(IsPlayerAdmin(playerid))

{

Cred ca ai inteles ce vreau sa spun.

Link to comment
Share on other sites

  • 0

Te rog sa fi mai explicit sunt cam pe la inceput cu samp ...

Ce e asa greu de inteles , cand vreau sa intru cu numele de admin nu imi merge parola iar cand intru cu un nume random ca si player normal merge...

Sa inteleg ca ti-ai facut cont, ti-ai dat admin, si cand te loghezi din nou scrie parola gresita?

Sau nu merge sa iti dai admin cu RCON?

 

EDIT: Daca nu merge sa iti dai admin cu RCON, procedeaza astfel:

 

Cauta comanda makeadmin, setadmin, setlevel (comanda ca sa dai admin), si acolo unde scrie:

if(PlayerInfo[playerid][pAdmin] == 6) //Sau cum ai tu enumerat in GM

Adauga:

if(PlayerInfo[playerid][pAdmin] == 6 || IsPlayerAdmin(playerid))

Sper ca ai inteles.

Edited by KnowN

242086.png

Link to comment
Share on other sites

  • 0

Daca ai Y_INI intra in FTP si sterge-ti contul,iti faci altul si iti dai admin tot de acolo,daca ai MySQL,te loghezi,intrii in tabelul ,,players,, sau cum ai tu acolo ,iti dai edit la cont si iti poti observa parola ,daca nu e nici asta,posibil e din GM  si trebuie sa adaugi ce ti-a scris KnowN.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.