Jump to content
  • 0
Skulla

/setadmin

Question

Salut.Cum pot face ca la /setadmin un admin care e mai mic (de ex adm 7 la adm8) sa dea /setadmin 0 sau sa nu poate da nici la adm7 daca e egal ?

Nu stiu cum pot face asta :D

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
2 hours ago, Skulla said:

Salut.Cum pot face ca la /setadmin un admin care e mai mic (de ex adm 7 la adm8) sa dea /setadmin 0 sau sa nu poate da nici la adm7 daca e egal ?

Nu stiu cum pot face asta :D

adica daca cel care are admin 1 - 2 sa nu isi poata da admin level 7 - 8 ?

Share this post


Link to post
Share on other sites
  • 0
On 2/9/2020 at 4:28 PM, Skulla said:

Salut.Cum pot face ca la /setadmin un admin care e mai mic (de ex adm 7 la adm8) sa dea /setadmin 0 sau sa nu poate da nici la adm7 daca e egal ?

Nu stiu cum pot face asta :D

pai poti sa verifici ceva de genul if(PlayerInfo[playerid][pAdmin] <= PlayerInfo[targetid][pAdmin]) return 1; in verificare ai putea pune si ceva de siguranta, gen daca tu ai admin 7 si esti ownerul, poti pune o verificare cum ca daca e diferit de numele tau sa se dea return 1; pentru eventuale abuzuri, acum tu stii cum e mai ok

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.