SilviuZLD Posted November 23, 2018 Report Share Posted November 23, 2018 Salut! Dupa ce termin tutorialul vreau sa se updateze in mysql variabila Tutorial din 0 in 1. Problema este ca nu se intampla asta Citat PlayerInfo[playerid][pTutorial] = 1; mysql_format(SQL, gQuery, sizeof(gQuery), "UPDATE `users` SET `Tutorial`='1', WHERE `ID`='%d'", GetName(playerid), inputtext); mysql_tquery(SQL, gQuery); Voi ce spuneti? Unde am gresit? Quote Link to comment Share on other sites More sharing options...
0 Banditul Posted November 23, 2018 Report Share Posted November 23, 2018 Pai mysql_formatu tau asteapta o variabila de tip integer(numar) ca sa o foloseasca pentru acel id Tu ii dai si GetPlayerName care e string si inputtext care nu cred ca ar avea ce cauta acolo In loc de cele 2 pune PlayerInfo[playerid][pSQLID] sau cum e variabila la tine in gm Acum sfatul meu e sa nu mai ignori erorile/warnings date de compilator si verifica serverlog si mysqlog pentru erori si probleme. Ma indoiesc de faptul ca nici unul dintre aceste elemente nu s-a plans Quote Link to comment Share on other sites More sharing options...
Question
SilviuZLD
Salut! Dupa ce termin tutorialul vreau sa se updateze in mysql variabila Tutorial din 0 in 1. Problema este ca nu se intampla asta
Voi ce spuneti? Unde am gresit?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.