Jump to content
  • 0

Problem Command /STAFF


r3f13x

Question

Salut all, 

Am comanda /Staff

Dar cand dau /staff si dau la Admin Sau la Helpers nu-mi deschide dialog-ul  Cu cati Membri staff is.

 

Ma poate ajuta cineva, Mergea inainte perfect.

Va las aici comanda.

 

YCMD:staff(playerid, params[], help) {
    if(PlayerInfo[playerid][pAdmin] < 5) return true;
    ShowPlayerDialog(playerid, DIALOG_STAFF, DIALOG_STYLE_LIST, "Staff", "Admini\nHelperi", "Ok", "Close");
    return true;    

Edited by r3f13x2
Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0
Acum 1 minut, VLM a spus:

Arata daca il ai.

 

case DIALOG_STAFF+1: {
            if(!response) return ShowPlayerDialog(playerid, DIALOG_STAFF, DIALOG_STYLE_LIST, "Staff", "Admini\nHelperi", "Ok", "Close");
        }

 

ase DIALOG_STAFF: {
            if(!response) return true;
            new szQuery[1024], szResult[1024], szDialog[1024], szDialog2[4000], Cache: result;
            new szPlayers, szPlayersT;
            new szName[180], szAdmin, szLastOn[180], x, y, szTitle[180], warns, userID;
            switch(listitem) {
                case 0: {

Link to comment
Share on other sites

  • 0
38 minutes ago, r3f13x2 said:

case DIALOG_STAFF+1: {
            if(!response) return ShowPlayerDialog(playerid, DIALOG_STAFF, DIALOG_STYLE_LIST, "Staff", "Admini\nHelperi", "Ok", "Close");
        }

 

ase DIALOG_STAFF: {
            if(!response) return true;
            new szQuery[1024], szResult[1024], szDialog[1024], szDialog2[4000], Cache: result;
            new szPlayers, szPlayersT;
            new szName[180], szAdmin, szLastOn[180], x, y, szTitle[180], warns, userID;
            switch(listitem) {
                case 0: {

pe tot... pune-l pe pastebin

#retras

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.

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