Help Command :)
#1

How to make this :
pawn Код:
if(IsPlayerAdmin(playerid))
For any player use ?
Reply
#2

so anyplayer can use it? remove it then..
Reply
#3

Errors... heheh Help me:

pawn Код:
//--------------------------------------------------TEXT COMMAND--------------------------------------------

    if (strcmp("/text", cmdtext, true, 10) == 0)
       
            ShowPlayerDialog(playerid,3333,DIALOG_STYLE_MSGBOX,"{0470FC}Dinamic 3D Text Creator","{88FC04}Do you want to put a\n{04F4FC}3D Text{88FC04} in this location?","Yes","No");

        }
        return 1;
    }
   
//-----------------------------------------------------CREDITS----------------------------------------------
   
    if (strcmp("/tcredits", cmdtext, true, 10) == 0)
    {
    ShowPlayerDialog(playerid,6144,DIALOG_STYLE_MSGBOX,"{FE8C00}ShOoBy's 3D Text System Credits","{0400FE}Made by {09FE00}ShOoBy{0400FE}\nSaving help from {EF5C06}CrystyaN {0400FE}and {EF5C06}stuntman","Ok","");
    return 1;
    }
    return 0;
}


//-------------------------------------------------------------------------------------------------------------
Reply
#4

pawn Код:
//--------------------------------------------------TEXT COMMAND--------------------------------------------

    if (strcmp("/text", cmdtext, true, 10) == 0)
    {
        ShowPlayerDialog(playerid,3333,DIALOG_STYLE_MSGBOX,"{0470FC}Dinamic 3D Text Creator","{88FC04}Do you want to put a\n{04F4FC}3D Text{88FC04} in this location?","Yes","No");
        return 1;
    }

//-----------------------------------------------------CREDITS----------------------------------------------

    if (strcmp("/tcredits", cmdtext, true, 10) == 0)
    {
        ShowPlayerDialog(playerid,6144,DIALOG_STYLE_MSGBOX,"{FE8C00}ShOoBy's 3D Text System Credits","{0400FE}Made by {09FE00}ShOoBy{0400FE}\nSaving help from {EF5C06}CrystyaN {0400FE}and {EF5C06}stuntman","Ok","");
        return 1;
    }
    return 0;
}
Reply
#5

Quote:
Originally Posted by Brys
Посмотреть сообщение
Errors... heheh Help me:

pawn Код:
//--------------------------------------------------TEXT COMMAND--------------------------------------------

    if (strcmp("/text", cmdtext, true, 10) == 0)
       
            ShowPlayerDialog(playerid,3333,DIALOG_STYLE_MSGBOX,"{0470FC}Dinamic 3D Text Creator","{88FC04}Do you want to put a\n{04F4FC}3D Text{88FC04} in this location?","Yes","No");

        }
        return 1;
    }
   
//-----------------------------------------------------CREDITS----------------------------------------------
   
    if (strcmp("/tcredits", cmdtext, true, 10) == 0)
    {
    ShowPlayerDialog(playerid,6144,DIALOG_STYLE_MSGBOX,"{FE8C00}ShOoBy's 3D Text System Credits","{0400FE}Made by {09FE00}ShOoBy{0400FE}\nSaving help from {EF5C06}CrystyaN {0400FE}and {EF5C06}stuntman","Ok","");
    return 1;
    }
    return 0;
}


//-------------------------------------------------------------------------------------------------------------
what's the error?
Reply
#6

mistake was that he was missing bracket

this shold fix problem
pawn Код:
//--------------------------------------------------TEXT COMMAND--------------------------------------------

    if (strcmp("/text", cmdtext, true, 10) == 0)
    {
        ShowPlayerDialog(playerid,3333,DIALOG_STYLE_MSGBOX,"{0470FC}Dinamic 3D Text Creator","{88FC04}Do you want to put a\n{04F4FC}3D Text{88FC04} in this location?","Yes","No");
        return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)