Jump to content
  • 0

/setadmin


Skulla

Question

2 answers to this question

Recommended Posts

  • 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

Link to comment
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

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.