Jump to content
  • 0

Problema erori..


HusKy_=]

Question

    }   
    else
    {
        format(Strrms, 700, "INSERT INTO `Logs`(`Date`, `Type`, `Log`, `uIDs`) VALUES ('On %d/%d/%d at %d:%d.%d', '2', '%s changed his name to %s', '%d - 0')", d, mo, y, h, m, s, PlayerName(uID), uName, AccInfo[uID][ID][1]),
        mysql_tquery(DB_Connect, Strrms, "", "");
        //----------------------------------------------------------------------
        format(Strrms2, 200, "UPDATE `Accounts` SET `Name` = '%s' WHERE `Name` = '%s'", uName, PlayerName(uID)),
        mysql_tquery(DB_Connect, Strrms2, "", ""), SetPlayerName(uID, uName);
        //----------------------------------------------------------------------
        if(AccInfo[uID][Language] == 1)      format(Strrms2, 200, "Ti-ai schimbat cu succes numele in {FF0000}%s{FFFF00}!", uName),         SendClientMessage(uID, -1, Strrms2);
        else if(AccInfo[uID][Language] == 2) format(Strrms2, 200, "You have successfully changed your name to {FF0000}%s{FFFF00}!", uName), SendClientMessage(uID, -1, Strrms2);
        //----------------------------------------------------------------------
        if(AccInfo[playerid][House] == 1)
        {

Salut am aceasta problema la acest script si imi da aceste erori pe acceasi linie.

C:\Users\Toshiba\Desktop\RPV.pwn(14271) : warning 213: tag mismatch
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 001: expected token: ",", but found "["
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 029: invalid expression, assumed zero
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : warning 215: expression has no effect
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 001: expected token: ";", but found "]"
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : fatal error 107: too many error messages on one

Scriptul care se afla pe linia aceea e:        format(Strrms, 700, "INSERT INTO `Logs`(`Date`, `Type`, `Log`, `uIDs`) VALUES ('On %d/%d/%d at %d:%d.%d', '2', '%s changed his name to %s', '%d - 0')", d, mo, y, h, m, s, PlayerName(uID), uName, AccInfo[uID][ID][1]),

Edited by HusKy_=]
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
Acum 9 ore, HusKy_=] a spus:

    }   
    else
    {
        format(Strrms, 700, "INSERT INTO `Logs`(`Date`, `Type`, `Log`, `uIDs`) VALUES ('On %d/%d/%d at %d:%d.%d', '2', '%s changed his name to %s', '%d - 0')", d, mo, y, h, m, s, PlayerName(uID), uName, AccInfo[uID][ID][1]),
        mysql_tquery(DB_Connect, Strrms, "", "");
        //----------------------------------------------------------------------
        format(Strrms2, 200, "UPDATE `Accounts` SET `Name` = '%s' WHERE `Name` = '%s'", uName, PlayerName(uID)),
        mysql_tquery(DB_Connect, Strrms2, "", ""), SetPlayerName(uID, uName);
        //----------------------------------------------------------------------
        if(AccInfo[uID][Language] == 1)      format(Strrms2, 200, "Ti-ai schimbat cu succes numele in {FF0000}%s{FFFF00}!", uName),         SendClientMessage(uID, -1, Strrms2);
        else if(AccInfo[uID][Language] == 2) format(Strrms2, 200, "You have successfully changed your name to {FF0000}%s{FFFF00}!", uName), SendClientMessage(uID, -1, Strrms2);
        //----------------------------------------------------------------------
        if(AccInfo[playerid][House] == 1)
        {

Salut am aceasta problema la acest script si imi da aceste erori pe acceasi linie.

C:\Users\Toshiba\Desktop\RPV.pwn(14271) : warning 213: tag mismatch
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 001: expected token: ",", but found "["
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 029: invalid expression, assumed zero
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : warning 215: expression has no effect
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 001: expected token: ";", but found "]"
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : fatal error 107: too many error messages on one

Scriptul care se afla pe linia aceea e:        format(Strrms, 700, "INSERT INTO `Logs`(`Date`, `Type`, `Log`, `uIDs`) VALUES ('On %d/%d/%d at %d:%d.%d', '2', '%s changed his name to %s', '%d - 0')", d, mo, y, h, m, s, PlayerName(uID), uName, AccInfo[uID][ID][1]),

Ai pus , in loc de ; la sfarsitul formatului

format(Strrms, 700, "INSERT INTO `Logs`(`Date`, `Type`, `Log`, `uIDs`) VALUES ('On %d/%d/%d at %d:%d.%d', '2', '%s changed his name to %s', '%d - 0')", d, mo, y, h, m, s, PlayerName(uID), uName, AccInfo[uID][ID][1]);

Edited by AddisoN
Link to comment
Share on other sites

  • 0

imi da tot acelasi erori

C:\Users\Toshiba\Desktop\RPV.pwn(14271) : warning 213: tag mismatch
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 001: expected token: ",", but found "["
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 029: invalid expression, assumed zero
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : warning 215: expression has no effect
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 001: expected token: ";", but found "]"
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : fatal error 107: too many error messages on one line

 

Edited by HusKy_=]
Link to comment
Share on other sites

  • 0
1 oră în urmă, HusKy_=] a spus:

imi da tot acelasi erori

C:\Users\Toshiba\Desktop\RPV.pwn(14271) : warning 213: tag mismatch
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 001: expected token: ",", but found "["
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 029: invalid expression, assumed zero
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : warning 215: expression has no effect
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : error 001: expected token: ";", but found "]"
C:\Users\Toshiba\Desktop\RPV.pwn(14271) : fatal error 107: too many error messages on one line

 

La AccInfo [uID][ID][1] cred ca trebuie fara [1] 

Link to comment
Share on other sites

  • 0
Acum 4 ore, AddisoN a spus:

La AccInfo [uID][ID][1] cred ca trebuie fara [1] 

problema e ca acum am scos ala dar imi da alte erori daca ai skype poate mi l dai si rezolvam acolo..

Acum 4 ore, AddisoN a spus:

Ai pus , in loc de ; la sfarsitul formatului

format(Strrms, 700, "INSERT INTO `Logs`(`Date`, `Type`, `Log`, `uIDs`) VALUES ('On %d/%d/%d at %d:%d.%d', '2', '%s changed his name to %s', '%d - 0')", d, mo, y, h, m, s, PlayerName(uID), uName, AccInfo[uID][ID][1]);

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.